工作中常用的linux命令

时间:2021-08-12 05:35:24
【文件属性】:

文件名称:工作中常用的linux命令

文件大小:768KB

文件格式:PDF

更新时间:2021-08-12 05:35:24

Linux

工作中采用的 linux 命令 ........................................................................................................ 3 1.从其他机器拷贝文件夹 ........................................................................................................ 3 2.查看哪个程序在用特定端口 ................................................................................................ 3 3.实时监控日志文件内容 ........................................................................................................ 3 4.查看指定用户拥有的进程 .................................................................................................... 3 5.查看磁盘空间使用情况 ........................................................................................................ 3 6.查找某文件中出现指定字符串的行 .................................................................................... 3 7.查看内存使用情况 ................................................................................................................ 4 8.查看本机系统内核 ................................................................................................................ 4 9.查看当前路径下的文件/文件夹大小 ................................................................................... 4 10.变更为其它使用者的身份 .................................................................................................. 4 11.远程登陆 .............................................................................................................................. 4 12.不挂断地运行命令 .............................................................................................................. 4 13.查看文件的行数 .................................................................................................................. 4 14.比较两个文件的不同之处 .................................................................................................. 4 15.杀死进程 .............................................................................................................................. 5 16.在 SecureCRT 中把文件传给本机的 SecureCRT 安装目录的 download 目录下 ............ 5 17.把本机文件传给 SecureCRT 中当前机器的当前目录 ...................................................... 5 18.Vi 文本编辑器 ..................................................................................................................... 5 19.察看文件类型 ...................................................................................................................... 6 20.文本抽取 .............................................................................................................................. 6 21.非交互性文本流编辑器 ...................................................................................................... 7 22.将文件中的记录分类 .......................................................................................................... 7 23.去除文本文件的重复行 ...................................................................................................... 7 24.连接两个文本文件 .............................................................................................................. 8 25.从文本文件中剪切列或域 .................................................................................................. 8 26.将两个文本文件粘贴在一起 .............................................................................................. 8 27.将大文件进行分割 .............................................................................................................. 9 二.linux 常用命令 ............................................................................................................................ 9 1. cd ........................................................................................................................................... 9 2. pwd ........................................................................................................................................ 9 3. ls ............................................................................................................................................ 9 4. passwd ................................................................................................................................. 10 5. who ...................................................................................................................................... 11 6. cat ........................................................................................................................................ 11 7. mkdir ................................................................................................................................... 12 8. rmdir .................................................................................................................................... 12 9. chmod .................................................................................................................................. 12 10. chown ................................................................................................................................ 13 11. chgrp .................................................................................................................................. 13 12. touch .................................................................................................................................. 14 13. cp ....................................................................................................................................... 15 14. mv ..................................................................................................................................... 15 15. rm ...................................................................................................................................... 15 16. find .................................................................................................................................... 16 17. grep ................................................................................................................................... 16 18. more .................................................................................................................................. 17 19. less..................................................................................................................................... 17 20. head ................................................................................................................................... 17 21. tail ..................................................................................................................................... 18 22. cut ...................................................................................................................................... 18 23. at ........................................................................................................................................ 18 24. crontab ............................................................................................................................... 19 25. sleep .................................................................................................................................. 20 26. mesg .................................................................................................................................. 20 27. wall .................................................................................................................................... 20 28. write .................................................................................................................................. 21 29. kill ..................................................................................................................................... 21 30. ps ....................................................................................................................................... 21 31. pstree ................................................................................................................................. 22 32. top ..................................................................................................................................... 23 33. expr ................................................................................................................................... 23 34. locate ................................................................................................................................. 24 35. split .................................................................................................................................... 24 36. ln ....................................................................................................................................... 25 37. login 、logout .................................................................................................................. 25 38. exit ..................................................................................................................................... 25 39. man,info ......................................................................................................................... 25 40. alias ................................................................................................................................... 26 41. unalias ............................................................................................................................... 26 42. halt ..................................................................................................................................... 26 43. shutdown ........................................................................................................................... 26 44. reboot ................................................................................................................................ 26 45. clear ................................................................................................................................... 26


网友评论