mirror of https://github.com/jumpserver/jumpserver
2.3 KiB
2.3 KiB
PS1='[\u@192.168.199.158 \W]\$ '
Last login: Sat Jan 24 08:06:24 2015 from 192.168.192.84
clear;echo -e '\033[32mLogin 192.168.199.158 done. Enjoy it.\033[0m'
[halcyon@localhost ~]$ PS1='[\u@192.168.199.158 \W]\$ '
[halcyon@192.168.199.158 ~]$ clear;echo -e '\033[32mLogin 192.168.199.158 done. Enjoy it.\033[0m'
Login 192.168.199.158 done. Enjoy it.
[halcyon@192.168.199.158 ~]$ ll
total 0
[halcyon@192.168.199.158 ~]$ ll
total 0
[halcyon@192.168.199.158 ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:584 errors:0 dropped:0 overruns:0 frame:0
TX packets:384 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:61072 (59.6 KiB) TX bytes:50796 (49.6 KiB)
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
inet addr:192.168.199.158 Bcast:192.168.199.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:629 errors:0 dropped:0 overruns:0 frame:0
TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41737 (40.7 KiB) TX bytes:8573 (8.3 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[halcyon@192.168.199.158 ~]$ [halcyon@192.168.199.158 ~]$ python
Python 2.6.6 (r266:84292, Nov 22 2013, 12:11:10)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.kill(11111, 9)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 3] No such process
>>>
Last login: Sat Jan 24 08:06:24 2015 from 192.168.192.84
clear;echo -e '\033[32mLogin 192.168.199.158 done. Enjoy it.\033[0m'
[halcyon@localhost ~]$ PS1='[\u@192.168.199.158 \W]\$ '
[halcyon@192.168.199.158 ~]$ clear;echo -e '\033[32mLogin 192.168.199.158 done. Enjoy it.\033[0m'
Login 192.168.199.158 done. Enjoy it.
[halcyon@192.168.199.158 ~]$ ll
total 0
[halcyon@192.168.199.158 ~]$ ll
total 0
[halcyon@192.168.199.158 ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:584 errors:0 dropped:0 overruns:0 frame:0
TX packets:384 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:61072 (59.6 KiB) TX bytes:50796 (49.6 KiB)
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
inet addr:192.168.199.158 Bcast:192.168.199.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:629 errors:0 dropped:0 overruns:0 frame:0
TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41737 (40.7 KiB) TX bytes:8573 (8.3 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[halcyon@192.168.199.158 ~]$ [halcyon@192.168.199.158 ~]$ python
Python 2.6.6 (r266:84292, Nov 22 2013, 12:11:10)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.kill(11111, 9)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 3] No such process
>>>