Guest User

Untitled

a guest
Jun 20th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. $ action 1 on objectA .then action 2 on objectA
  2.  
  3. $ touch file.js && openEditor "$1"
  4.  
  5. $ touch foobar && ls -l !#:1
  6. touch foobar && ls -l foobar
  7. -rw-rw---- 1 steeldriver steeldriver 0 Jun 20 14:54 foobar
  8.  
  9. $ touch foo bar && ls -l !#:2
  10. touch foo bar && ls -l bar
  11. -rw-rw-r-- 1 steeldriver steeldriver 12 Jun 20 14:58 bar
  12.  
  13. $ { echo "Hello World"; echo same $_;}
  14. Hello World
  15. same Hello World
  16.  
  17. $ foo(){ echo "$@"; stat "$@";}
  18. $ foo testdir
  19. testdir
  20. File: testdir
  21. Size: 4096 Blocks: 8 IO Block: 4096 directory
  22. Device: 801h/2049d Inode: 1068439 Links: 5
  23. Access: (0755/drwxr-xr-x) Uid: ( 1000/ xie) Gid: ( 1000/ xie)
  24. Access: 2018-06-14 07:16:31.669149864 +0800
  25. Modify: 2018-06-08 11:38:11.867542865 +0800
  26. Change: 2018-06-08 11:38:11.867542865 +0800
  27. Birth: -
  28.  
  29. $ touch file.js
  30. $ openEditor <alt>+<.>
Add Comment
Please, Sign In to add comment