上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 74 下一页

2016年6月17日

vipw和vigr命令

摘要: Modifying the Configuration Files To add user accounts, it suffices that one line is added to /etc/passwd and another line is added to /etc/shadow, in 阅读全文

posted @ 2016-06-17 11:00 遠離塵世の方舟 阅读(2293) 评论(0) 推荐(0) 编辑

2016年6月16日

linux sudo命令

摘要: sudo Instead of using the root user account, unprivileged users can be configured for using administrator permissions on specific tasks by using sudo. 阅读全文

posted @ 2016-06-16 16:27 遠離塵世の方舟 阅读(923) 评论(0) 推荐(0) 编辑

linux中切换用户方式su和su -的区别

摘要: Using su The su command allows users to open a terminal window, and from that terminal start a sub shell in which the user has another identity. To perform administrative tasks, for insta... 阅读全文

posted @ 2016-06-16 16:20 遠離塵世の方舟 阅读(529) 评论(0) 推荐(0) 编辑

ls Common Command-Line Options

摘要: ls Common Command-Line Options Command Use: ls -l Shows a long listing, which includes information about file properties, such as creation date and permissions. ls -a Shows all fil... 阅读全文

posted @ 2016-06-16 16:10 遠離塵世の方舟 阅读(244) 评论(0) 推荐(0) 编辑

Counting Lines, Words, and Characters with wc

摘要: Counting Lines, Words, and Characters with wc When working with text files, you sometimes get a large amount of output. Before deciding which approach 阅读全文

posted @ 2016-06-16 15:08 遠離塵世の方舟 阅读(288) 评论(0) 推荐(0) 编辑

Sorting File Contents and Output with sort

摘要: Sorting File Contents and Output with sort Another very useful command to use on text file is sort . As you can probably guess, this command sorts tex 阅读全文

posted @ 2016-06-16 11:14 遠離塵世の方舟 阅读(231) 评论(0) 推荐(0) 编辑

Filtering Specific Columns with cut

摘要: Filtering Specific Columns with cut When working with text files, it can be useful to filter out specific fields. Imagine that you need to see a list 阅读全文

posted @ 2016-06-16 10:51 遠離塵世の方舟 阅读(195) 评论(0) 推荐(0) 编辑

tail和head命令

摘要: [root@rhel7 ~]# cat rusky --cat命令查看文件内容 line1 line2 line3 line4 line5 line6 line7 line8 line9 line10 [root@rhel7 ~]# tail -n 3 rusky --查看最后3行内容 line8 line9 line10 [root@rhel7 ~]# tail -3 rusky ... 阅读全文

posted @ 2016-06-16 10:33 遠離塵世の方舟 阅读(1148) 评论(0) 推荐(0) 编辑

2016年6月15日

wildcard

摘要: [rusky@rhel7 test]$ lstest1 test123 test2 test317 test33 test335 test336 test44 testtest[rusky@rhel7 test]$ ls test?3test33[rusky@rhel7 test]$ ls test??3test123[rusky@rhel7 test]$ ls test... 阅读全文

posted @ 2016-06-15 16:04 遠離塵世の方舟 阅读(152) 评论(0) 推荐(0) 编辑

mount, findmnt,df命令

摘要: ■ The mount command gives an overview of all mounted devices. To get this information, the /proc/mounts file is read, where the kernel keeps informati 阅读全文

posted @ 2016-06-15 15:27 遠離塵世の方舟 阅读(423) 评论(0) 推荐(0) 编辑

上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 74 下一页

导航