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

20 Basic Linux Commands

The document lists 20 basic Linux commands along with their functions. Commands include 'ls' for listing files, 'cd' for changing directories, and 'sudo' for executing commands with superuser privileges. Each command is briefly described to provide essential information for users learning Linux.

Uploaded by

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

20 Basic Linux Commands

The document lists 20 basic Linux commands along with their functions. Commands include 'ls' for listing files, 'cd' for changing directories, and 'sudo' for executing commands with superuser privileges. Each command is briefly described to provide essential information for users learning Linux.

Uploaded by

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

20 Basic Linux Commands

1. ls

Lists files and directories in the current directory.

2. cd

Changes the current directory.

3. pwd

Prints the current working directory.

4. mkdir

Creates a new directory.

5. rmdir

Removes an empty directory.

6. rm

Deletes files or directories.

7. cp

Copies files or directories.

8. mv

Moves or renames files and directories.

9. touch

Creates an empty file.

10. cat

Displays the contents of a file.

11. clear

Clears the terminal screen.

12. whoami

Shows the currently logged-in user.

13. uname -a

Page 1
20 Basic Linux Commands

Displays system information.

14. df -h

Shows disk space usage in human-readable format.

15. top

Displays real-time running processes.

16. ps

Lists running processes.

17. kill

Kills a running process using its PID.

18. chmod

Changes file permissions.

19. chown

Changes file ownership.

20. sudo

Executes a command with superuser privileges.

Page 2

You might also like