Guest User

Untitled

a guest
May 27th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. stty tostop
  2. echo bar >&2 & # no output from echo, just from shell job control
  3. fg # now the output is produced
  4. bar
  5. text=$(echo foo; echo bar >&2) # command substitution in foreground command
  6. bar
  7. text=$(echo /etc/passwd; echo bar >&2) ; ls -l "$text" &
  8. bar
  9. fg
  10. -rw-r--r-- 1 root root 2745 18. Feb 00:36 /etc/passwd
Add Comment
Please, Sign In to add comment