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

Basic linux command

Uploaded by

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

Basic linux command

Uploaded by

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

Basic linux command

Here are some of the basic Linux commands that you might find useful:

1. ls: List contents of a directory.


2. cd: Change current directory.
3. pwd: Print current working directory.
4. mkdir: Create a new directory.
5. rm: Remove a file.
6. rmdir: Remove an empty directory.
7. cp: Copy a file or directory.
8. mv: Move or rename a file or directory.
9. cat: Display the contents of a file.
10. less: Display the contents of a file one page at a time.
11. head: Display the first few lines of a file.
12. tail: Display the last few lines of a file.
13. grep: Search for a pattern in a file.
14. chmod: Change the permissions of a file or directory.
15. chown: Change the owner of a file or directory.

These are just a few of the many commands available in Linux. You can find more commands and information on
how to use them by consulting the Linux manual pages (using the man command), or by doing a web search for
"Linux commands".

You might also like