0% found this document useful (0 votes)
244 views

5 Basic-Linux-Commands PDF

This document provides an overview of basic Linux commands including ls to list directory contents, cd to change directories, pwd to show the current directory, cat to display files, echo to print arguments, man to view the manual, exit to quit a session, and clear to clear the screen. It also lists the ls -l option for a long listing and keyboard shortcuts like space and q for navigating manual pages. The summary encourages practicing the commands, experimenting, and using man to view the ls manual.

Uploaded by

Ammar khan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
244 views

5 Basic-Linux-Commands PDF

This document provides an overview of basic Linux commands including ls to list directory contents, cd to change directories, pwd to show the current directory, cat to display files, echo to print arguments, man to view the manual, exit to quit a session, and clear to clear the screen. It also lists the ls -l option for a long listing and keyboard shortcuts like space and q for navigating manual pages. The summary encourages practicing the commands, experimenting, and using man to view the ls manual.

Uploaded by

Ammar khan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

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

You might also like