Must see 100 commonly used linux commands

  
        

1,echo “aa” > test.txt and echo “bb” >> test.txt //> empty the original file and write the content to the file, >> Content is placed at the end of the file

2, chmod go+w -R /home/zhangy //Add permissions to group users and other users

3,tar -tzvf test.tar .gz //List archive content

4,du -ah //View file list size

5,du -sh //View the sum of all file sizes

6, echo ’1+2′

Copyright © Windows knowledge All Rights Reserved