Ubuntu Pastebin

Paste from linocisco at Thu, 20 Oct 2016 10:13:05 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
mylaptop@Inspiron-3443:~$ sudo python -m SimpleHTTPServer -m 8080
[sudo] password for mylaptop: 
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/SimpleHTTPServer.py", line 235, in <module>
    test()
  File "/usr/lib/python2.7/SimpleHTTPServer.py", line 231, in test
    BaseHTTPServer.test(HandlerClass, ServerClass)
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 600, in test
    port = int(sys.argv[1])
ValueError: invalid literal for int() with base 10: '-m'
mylaptop@Inspiron-3443:~$ 
Download as text