Advertisement
badlogic

linux not traning

Jul 5th, 2016
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1.  
  2.  
  3. less //-> to have scroll
  4.  
  5. tail -n 20 //output last line
  6. head -n 20 //output first line
  7.  
  8. cp -v src/* dest //copy all the files in source to dest
  9.  
  10. cp -v src/foo*[02468] dest // copy all even number
  11.  
  12. cp -v src/*00* dest //copy all files have all 00 to dest
  13.  
  14.  
  15. mv -v src/*00* dest //move all files have all 00 to dest
  16.  
  17. ls foo* //select all foo
  18.  
  19. tar zxvf foo.tar.gz //extract files gor tar .gz only
  20.  
  21. //
  22. vim
  23. -modal interface
  24. -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement