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
○ man ls

008-Basic-Linux-Commands.pdf

  • 1.
  • 2.
    What You WillLearn Some basic commands that are used often
  • 3.
    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.
  • 4.
    ls Options -l longlisting format
  • 5.
    man Keyboard Commands space- display the next page q - quit
  • 6.
    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.
  • 7.
    Next Steps ● Practiceusing the commands ● Experiment ● Look at the man pages for ls ○ man ls