forked from ZipCodeCore/Shell.Terminal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConsole Lab Level 1 part 2
More file actions
48 lines (47 loc) · 2.27 KB
/
Console Lab Level 1 part 2
File metadata and controls
48 lines (47 loc) · 2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[Restored Jun 23, 2021 at 6:31:31 AM]
Last login: Wed Jun 23 02:39:32 on ttys000
bobbi@zipcoders-MacBook-Pro ~ % python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...
^Z
zsh: suspended python -m SimpleHTTPServer
bobbi@zipcoders-MacBook-Pro ~ % jobs
[1] + suspended python -m SimpleHTTPServer
bobbi@zipcoders-MacBook-Pro ~ % bg [1]
zsh: no matches found: [1]
bobbi@zipcoders-MacBook-Pro ~ % bg jobs
bg: job not found: jobs
bobbi@zipcoders-MacBook-Pro ~ % jobs bg
jobs: job not found: bg
bobbi@zipcoders-MacBook-Pro ~ % jobs
[1] + suspended python -m SimpleHTTPServer
bobbi@zipcoders-MacBook-Pro ~ % bg [1] + suspended python -m SimpleHTTPServer
zsh: no matches found: [1]
bobbi@zipcoders-MacBook-Pro ~ % bg + suspended python -m SimpleHTTPServer
bg: job not found: +
bobbi@zipcoders-MacBook-Pro ~ % bg suspended python -m SimpleHTTPServer
bg: job not found: suspended
bobbi@zipcoders-MacBook-Pro ~ % bg
[1] + continued python -m SimpleHTTPServer
bobbi@zipcoders-MacBook-Pro ~ % job
zsh: command not found: job
bobbi@zipcoders-MacBook-Pro ~ % jobs
[1] + running python -m SimpleHTTPServer
bobbi@zipcoders-MacBook-Pro ~ % fg
[1] + running python -m SimpleHTTPServer
^CTraceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SimpleHTTPServer.py", line 235, in <module>
test()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SimpleHTTPServer.py", line 231, in test
BaseHTTPServer.test(HandlerClass, ServerClass)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 610, in test
httpd.serve_forever()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 231, in serve_forever
poll_interval)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 150, in _eintr_retry
return func(*args)
KeyboardInterrupt
bobbi@zipcoders-MacBook-Pro ~ %