Basic Linux Commands
What You Will Learn
Some basic commands that are used often
Basic Linux Commands
• ls - Lists directory contents.
• cd - Changes the current directory.
• pwd - Displays the present working directory.
• cat - Concatenates and displays files.
• echo - Displays arguments to the screen.
• man - Displays the online manual.
• exit - Exits the shell or your current session.
• clear - Clears the screen.
ls Options
-l long listing format
man Keyboard Commands
space - display the next page
q - quit
Summary
• ls - Lists directory contents.
• cd - Changes the current directory.
• pwd - Displays the present working directory.
• cat - Concatenates and displays files.
• echo - Displays arguments to the screen.
• man - Displays the online manual.
• exit - Exits the shell or your current session.
• clear - Clears the screen.
Next Steps
• Practice using the commands
• Experiment
• Look at the man pages for ls
o
man ls