Showing posts with label terminal commands. Show all posts
Showing posts with label terminal commands. Show all posts

Sunday, December 23, 2012

Site Review Linuxcommand.org

Looking for some basic information on Linux shell commands and getting around in the terminal, I discovered this site. Linuxcommand.org. The site really covers the basics and then some on getting around the terminal. If you need to learn the basics this looks like a great place to start. Topics include :

What Is "The Shell"?
Navigation
Looking Around
A Guided Tour
Manipulating Files
Working With Commands
I/O Redirection
Expansion
Permissions
Job Control


Not only does it cover the basics of getting around the terminal, but it also covers basic shell scripts and how to create your own. Topics in this category include :

Writing Your First Script And Getting It To Work
Editing The Scripts You Already Have
Here Scripts
Variables
Command Substitution And Constants
Shell Functions
Some Real Work
Flow Control - Part 1
Stay Out Of Trouble
Keyboard Input And Arithmetic
Flow Control - Part 2
Positional Parameters
Flow Control - Part3
Errors And Signals And Traps (Oh My!) - Part 1
Errors And Signals And Traps (Oh My!) - Part 2


If you're new to Linux and looking for a good place to start, I strongly suggest this site. linuxcommand.org.

Thursday, December 20, 2012

Linux Terminal Command CD

Here is some information on getting around in the Linux terminal. This is the cd command, when using the Linux shell or terminal program, this command will change the directory for you. I also included a video I found on Youtube that explains this a little better.

cd command = Change directory.

cd / - drops you directly into root directory

cd ~ - will drop you back into your home directory

cd .. - will take you back one directory

cd /directory/path - typing the directory path puts you into that place in the directory

example cd /usr/bin would place you in the /usr/bin/ directory of root cd /home/username/ places you back in the home directory of the specified username.

pwd - Print Working Directory will show you what directory your in.

ls - will list the contents of the directory your in.

Here's a video I found on Youtube that explains the cd command a little more in depth.