web preceding commonly used Linux commands

1, into the folder xxx

cd xxx

2, view the current folder so the file 

ls

3. Create a file xxx

mkdir xxx

4, delete the file xxx can only delete a file that is compressed files ending .zip (other file format is not yet known) 

rm xxx

5, delete files can be deleted so the file xxx

rm -rf xxx

6, upload files, similar after executing this command <input type = "file" /> upload files, computer files automatically open

rz 

7, the zip file

tar -czvf xxx.tar.gz xxx

8, download files ending in .tar.gz file type (other formats temporarily know if you can download)

sz xxx.tar.gz

  

 

Guess you like

Origin www.cnblogs.com/little-baby/p/11898406.html