0% found this document useful (0 votes)
47 views2 pages

Linux Cmds

The document describes 10 common Linux commands: ls shows directories, cd changes directories, mv moves files, man shows command manuals, mkdir makes directories, rmdir removes directories, touch makes files, rm removes files, locate finds files, and clear clears the terminal screen. These commands allow users to navigate directories, move and remove files and folders, view documentation, and create new files and folders from the Linux command line interface.

Uploaded by

ravij526
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views2 pages

Linux Cmds

The document describes 10 common Linux commands: ls shows directories, cd changes directories, mv moves files, man shows command manuals, mkdir makes directories, rmdir removes directories, touch makes files, rm removes files, locate finds files, and clear clears the terminal screen. These commands allow users to navigate directories, move and remove files and folders, view documentation, and create new files and folders from the Linux command line interface.

Uploaded by

ravij526
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1.

ls

The ls command - the list command - functions in the Linux terminal to show all of the major
directories filed under a given file system.

2. cd

The cd command - change directory - will allow the user to change between file directories. As the
name command name suggest, you would use the cd command to circulate between two different
directories. For example, if you wanted to change from the home directory to the Arora directory, you
would input the following command:

3. mv

The mv command - move - allows a user to move a file to another folder or directory. Just like
dragging a file located on a PC desktop to a folder stored within the "Documents" folder, the mv
command functions in the same manner.

4. man

The man command - the manual command - is used to show the manual of the inputted command.

5. mkdir

The mkdir - make directory - command allows the user to make a new directory. Just like making a
new directory within a PC or Mac desktop environment, the mkdir command makes new directories
in a Linux environment

6. rmdir

The rmdir - remove directory - command allows the user to remove an existing command using the
Linux CLI
7. touch

The touch command - a.k.a. the make file command - allows users to make files using the Linux CLI.
Just as the mkdir command makes directories, the touch command makes files. Just as you would
make a .doc or a .txt using a PC desktop, the touch command makes empty files

8. rm

The rm command - remove - like the rmdir command is meant to remove files from your Linux OS.
Whereas the rmdir command will remove directories and files held within, the rm command will
delete created files

9. locate

The locate - a.k.a. find - command is meant to find a file within the Linux OS. If you don't know the
name of a certain file or you aren't sure where the file is saved and stored, the locate command comes
in handy.

10. clear

The clear command does exactly what it says. To use the clear command simply type clear.

You might also like