上一页 1 ··· 251 252 253 254 255 256 257 258 259 ··· 403 下一页
摘要: 1、测试数据 root@ubuntu01:/home/test# ls a.txt root@ubuntu01:/home/test# stat a.txt File: a.txt Size: 15 Blocks: 8 IO Block: 4096 regular file Device: 805h 阅读全文
posted @ 2022-03-27 14:30 小鲨鱼2018 阅读(790) 评论(0) 推荐(0)
摘要: 1、使用stat命令获取atime、mtime、ctime root@ubuntu01:/home/test# ls a.txt root@ubuntu01:/home/test# stat a.txt File: a.txt Size: 10 Blocks: 8 IO Block: 4096 re 阅读全文
posted @ 2022-03-27 12:19 小鲨鱼2018 阅读(259) 评论(0) 推荐(0)
摘要: 1、问题 root@ubuntu01:/home/test# ls a.txt root@ubuntu01:/home/test# stat a.txt ## 统计a.txt最后访问的时间 File: a.txt Size: 10 Blocks: 8 IO Block: 4096 regular f 阅读全文
posted @ 2022-03-27 12:06 小鲨鱼2018 阅读(671) 评论(0) 推荐(0)
摘要: 1、测试数据 root@ubuntu01:/home/test# ls log2013.log log2014.log root@ubuntu01:/home/test# cat log2013.log ## 测试数据 2013-01 2013-02 2013-03 2013-04 2013-05 阅读全文
posted @ 2022-03-26 22:28 小鲨鱼2018 阅读(100) 评论(0) 推荐(0)
摘要: 1、问题, windows中文件上传linux中出现^M, 如下: root@ubuntu01:/home/test# ls outcome.map root@ubuntu01:/home/test# cat -A outcome.map 1^Is64199.1^I0^I55910^M$ 1^IOA 阅读全文
posted @ 2022-03-26 22:06 小鲨鱼2018 阅读(114) 评论(0) 推荐(0)
摘要: 1、测试数据 root@ubuntu01:/home/test# ls a.txt b.txt root@ubuntu01:/home/test# cat a.txt sss eee rrr 555 888 333 bbb 777 yyy root@ubuntu01:/home/test# cat 阅读全文
posted @ 2022-03-26 14:44 小鲨鱼2018 阅读(1204) 评论(0) 推荐(0)
摘要: 1、测试数据 root@ubuntu01:/home/test# ls a.txt root@ubuntu01:/home/test# cat a.txt ## 测试数据 a g b d a b b d c b 2、统计重复项 root@ubuntu01:/home/test# ls a.txt r 阅读全文
posted @ 2022-03-26 14:22 小鲨鱼2018 阅读(1464) 评论(0) 推荐(0)
摘要: 1、测试数据 root@ubuntu01:/home/test# ls ## 测试数据 a.txt b.txt root@ubuntu01:/home/test# cat a.txt a b c d e root@ubuntu01:/home/test# cat b.txt c d e f g 2、 阅读全文
posted @ 2022-03-26 14:12 小鲨鱼2018 阅读(396) 评论(0) 推荐(0)
摘要: 1、硬链接 在Linux中,每个文件都有一个索引节点号(Inode index); 多个文件名指向同一索引节点是存在的。一般这种连接就是硬连接。 硬连接的作用是允许一个文件拥有多个有效路径名,这样用户就可以建立硬连接到重要文件,以防止“误删”的功能。因为只删除一个连接并不影响索引节点本身和其它的连接 阅读全文
posted @ 2022-03-26 11:42 小鲨鱼2018 阅读(248) 评论(0) 推荐(0)
摘要: 1、/boot: 开机所需文件 内核、开机菜单以及所需配置文件等; 内核、开机启动项 2、/dev:以文件形式存放任何设备与接口; 硬盘、设备 3、/etc:配置文件; 配置文件 4、/home: 用户家目录; 普通用户家目录 5、/bin:存放单用户模式下还可以操作的命令; 命令 6、/lib:开 阅读全文
posted @ 2022-03-25 23:05 小鲨鱼2018 阅读(693) 评论(0) 推荐(0)
上一页 1 ··· 251 252 253 254 255 256 257 258 259 ··· 403 下一页