Created
June 17, 2014 03:48
-
-
Save jeremyjs/e0f2f6786b1b1cc8e1d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ruby -e 'sleep 1 while true' & | |
[1] 80604 | |
$ fg %1 | |
[1] + 80604 running ruby -e 'sleep 1 while true' | |
^Z | |
[1] + 80604 suspended ruby -e 'sleep 1 while true' | |
$ ps | |
PID TTY TIME CMD | |
13974 ttys000 0:00.11 -zsh | |
14934 ttys000 0:00.35 vim . | |
15095 ttys001 0:00.14 -zsh | |
15252 ttys002 0:00.17 -zsh | |
15415 ttys004 0:00.26 -zsh | |
15669 ttys005 0:00.25 -zsh | |
16325 ttys007 0:00.16 -zsh | |
66807 ttys008 0:00.27 -/bin/zsh | |
80604 ttys008 0:00.05 ruby -e sleep 1 while true | |
70489 ttys009 0:00.22 -/bin/zsh | |
31625 ttys018 0:01.95 -/bin/zsh | |
49603 ttys018 0:00.00 bash /Users/jmeyer1/Code/8b/bin/8br bundle:install | |
49607 ttys018 0:08.69 rbx /Users/jmeyer1/.gem/rbx/2.1.0/bin/rake bundle:install | |
54630 ttys018 0:00.01 /bin/zsh -l -c source /Users/jmeyer1/Code/8b/script/ruby-env.sh ; bundle install | |
54632 ttys018 0:00.00 /bin/zsh -l -c source /Users/jmeyer1/Code/8b/script/ruby-env.sh ; bundle install | |
69451 ttys018 0:02.11 vim test.rb | |
28791 ttys020 0:00.21 -/bin/zsh | |
65266 ttys020 0:04.08 vim . | |
$ kill %1 | |
[1] + 80604 terminated ruby -e 'sleep 1 while true' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment