30 Basics and Important Commands of Rhel9

Some general commands of Linux Rhel9.

1. pwd: Print working directory.

2. ls: List directory contents.

3. cd: Change directory.

4. cp: Copy files or directories.

5. mv: Move or rename files/directories.

6. rm: Remove files or directories.

7. mkdir: Create a new directory.

8. rmdir: Remove an empty directory.

9. touch: Create an empty file or update file timestamps.

10. cat: Concatenate and display the content of files.

11. more: Display the content of a file one screen at a time.

12. less: Display the content of a file with advanced navigation.

13. nano or vim: Text editors.

14. head: Display the beginning of a file.

15. tail: Display the end of a file.

16. grep: Search for a pattern in files.

17. find: Search for files and directories.

18. chmod: Change file permissions.

19. chown: Change file owner or group.

20. ps: Display information about running processes.

21. top: Display real-time system information.

22. kill: Terminate a process.

23. df: Display disk space usage.

24. du: Display file and directory space usage.

25. tar: Archive and compress files.

26. gzip or gunzip: Compress or decompress files.

27. man: Display the manual pages for a command.

28. info: Display information about a command.

29. passwd: Change user password.

30. shutdown or reboot: Shutdown or restart the system.

要查看或添加评论,请登录

Aditya Mishra的更多文章

社区洞察

其他会员也浏览了