首页 > 系统服务 > 详细

Linux command line and shell scripting buble

时间:2019-07-24 09:22:41      阅读:113      评论:0      收藏:0      [点我收藏+]

Chapter 4 More bash shell Commands

1. ps

ps -ef

 

2. top

 

3. kill 3940

kill -s HUP 3940

killall http*

 

4. df

df -h

5. du

du -h

 

6. sort

sort -n 

sort -r

sort -t ":" -k 3 -n

 

7. grep

grep three file1

grep -v

grep -n

grep -c 

 

8. tar

tar -cvf test.tar test1/ test2/

tar -xvf test.tar

tar -tf test.tar

 

 

Chapter 6: Using Linux Environment Variables

$mytest=(one two three four five)

$ echo ${mytest[1]}

$ echo ${mytest[*]}

$ mytest[2]=seven

$ unset mytest[2]

$ unset mytest

Linux command line and shell scripting buble

原文:https://www.cnblogs.com/NewMan13/p/11235296.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!