文件管理相关的命令

1. ls

2. touch file.txt

3 .ls

4 .touch file{1..2}.txt

5 .ls

6 .touch -a

7 .touch -a file.txt

8 .ls

9 .ls-

10. touch -d"2024-03-23 18:30"file.cfg

11. touch -d"2024-03-23 18:30"fle.txt

12 .touch -d"2024-03-23 18:30"file.txt

13.ls-

14 .gedit file.txt

15. gedit -encoding=UTF-8 file

16 .touch -version file{1..2}.txt

17. touch --version file{1..2}.txt

18. touch -m file.txt

19. ls-

20. gedit -w file.txt

21. gedit -v file.txt

22. cat file

23. cat file.txt

25. touch file

26 .ls

27 .cat file

28 .gedit file.txt

29 .cat file.txt

30. cat -n file

31. cat -n file.txt

32. cat -s file.txt

33. cat --version file.txt

35. cat -A file.txt

36. cat -e file.txt

37. cat -E file.txt

38. cat /dev/cdrom>rhel.iso

39. more

40. head -n file.txt

41. gedit file.txt

42. head -n file.txt

43. gedit file.txt

44.chmod 0//5 fe.txt

45. ls -

46 .chmod -R a+r file2.txt

47. ls -

48. chmod u+r file1.txt

49. ls-

50. chmod u-r file1.txt

51. ls-

52. chmod a+r file.txt

53. ls-

54. chmod u+x,g+w file.txt

55. ls-

56. chmod uga+x file.txt

57. ls -

58 .chmod 777 file2.txt

59 .ls-

60. chmod -R 777 file

61. ls-

62. sudo chowna root:root file.txt

63. ls-

64. rm file.txt

65. ls

66. rm -f*.txt

67. ls

68. rm -rf ./*

69. ls

70. ls

71. cd/

72. ls

73. cd

74. ls

75. touch file.txt

76. ls

77. touch file{1..3}.txt

78. ls

79. cp file3.txt file2.txt

80. ls

81. cd file3.txt

82. gedit file2.txt

83. cp file2.txt file3.txt

84. gedit file2.txt

85. gedit file3.txt

86. cp -r file1.txt file2.txt

87. ls

88. gedit file2.txt

89. cp -a file1.txt file2.txt

90. gedit file2.txt

91. cp -f file3.txt /dir1

92. sudo cp -ffile3.txt /dir1

93. gedit file3.txt

94. ls

95. mkdir dir1

96. sudo cp -f file3.txt /dir1

97. ls

98. cd dir1

99. ls

100. vim

101. sudo cp file2.txt file3.txt /dir1

102 .cd

103 .sudo cp file2.txt file3.txt /dir1

104 .sudo cp file2.txt file3.txt ./dir1

105 .ls

106 .cd ./dir1

107 .ls

108 .cd

109.sudo mv file2.txt file3.txt ./dir1

110. ls

111. cd ./dir1

112.ls

113. cd

以上就是关于文件管理的命令了,感谢大家的观看。

  • 7
    点赞
  • 17
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值