Linux: The Quick and Easy Beginners Guide to Learning the Linux Command Line (Linux in 3 Days Book 1) by Jason Cannon

Linux: The Quick and Easy Beginners Guide to Learning the Linux Command Line (Linux in 3 Days Book 1) by Jason Cannon

Author:Jason Cannon [Cannon, Jason]
Language: eng
Format: mobi
Published: 2015-03-31T16:00:00+00:00


Basic Linux Commands

Here is a short list of basic, but essential commands. In Linux, commands are case-sensitive and more often than not they are entirely in lowercase. Items that are surrounded by brackets ( [] ) are optional. You will more than likely use at least some of these commands every time you log into a Linux system. Become familiar with these commands because they can get you pretty far in a short amount of time.

ls - Lists directory contents. You will use ls to display information about files and directories.

cd [dir] - Changes the current directory to dir . If you execute cd without specifying a directory, cd changes the current directory to your home directory. This is how you navigate around the system.

pwd - Displays the present working directory name. If you don't know what directory you are in, pwd will tell you.

cat [file] - Concatenates and displays files. This is the command you run to view the contents of a file.

echo [argument] - Displays arguments to the screen.

man command - Displays the online manual for command . Typeq to quit viewing the manual page. The documentation provided by the man command is commonly called "man pages."

exit, logout , or Ctrl-d - Exits the shell or your current session.

clear - Clears the screen.

Here is a screen capture of Bob's session using the above commands.

$ ls



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.