上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 75 下一页

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 遠離塵世の方舟 阅读(927) 评论(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 遠離塵世の方舟 阅读(544) 评论(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 遠離塵世の方舟 阅读(251) 评论(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 遠離塵世の方舟 阅读(303) 评论(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 遠離塵世の方舟 阅读(239) 评论(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 遠離塵世の方舟 阅读(201) 评论(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 遠離塵世の方舟 阅读(1174) 评论(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 遠離塵世の方舟 阅读(163) 评论(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 遠離塵世の方舟 阅读(446) 评论(0) 推荐(0)

/etc/motd and /etc/issue

摘要: /etc/motd and /etc/issue Bash offers an option to include messages in the /etc/motd and the /etc/issue files. Messages in /etc/motd display after a us 阅读全文

posted @ 2016-06-15 11:21 遠離塵世の方舟 阅读(305) 评论(0) 推荐(0)

上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 75 下一页

导航