[gsykes@oc7530355045 ~]$ ifconfig -a
eth1 Link
encap:Ethernet HWaddr 00:21:CC:BA:B2:7A
inet6 addr: fe80::221:ccff:feba:b27a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:499 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:49240 (48.0 KiB) TX bytes:27144 (26.5 KiB)
Interrupt:20 Memory:f3900000-f3920000
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:753 errors:0 dropped:0 overruns:0 frame:0
TX packets:753 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:62496 (61.0 KiB) TX bytes:62496 (61.0 KiB)
pan0 Link encap:Ethernet HWaddr 2E:74:3A:E1:CA:4B
BROADCAST MULTICAST MTU:1500 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)
virbr0 Link encap:Ethernet HWaddr 52:54:00:19:8D:B6
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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)
virbr0-nic Link encap:Ethernet HWaddr 52:54:00:19:8D:B6
BROADCAST MULTICAST MTU:1500 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:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
virbr1 Link encap:Ethernet HWaddr 52:54:00:E0:F4:E4
inet addr:192.168.123.1 Bcast:192.168.123.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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)
virbr1-nic Link encap:Ethernet HWaddr 52:54:00:E0:F4:E4
BROADCAST MULTICAST MTU:1500 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:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
wlan1 Link encap:Ethernet HWaddr 10:0B:A9:AC:9D:54
inet6 addr: fe80::120b:a9ff:feac:9d54/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5474 errors:0 dropped:0 overruns:0 frame:0
TX packets:3199 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2129674 (2.0 MiB) TX bytes:678342 (662.4 KiB)
[gsykes@oc7530355045 ~]$ ifconfig -a
eth1 Link encap:Ethernet HWaddr 00:21:CC:BA:B2:7A
inet6 addr: fe80::221:ccff:feba:b27a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:565 errors:0 dropped:0 overruns:0 frame:0
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:56740 (55.4 KiB) TX bytes:29880 (29.1 KiB)
Interrupt:20 Memory:f3900000-f3920000
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:769 errors:0 dropped:0 overruns:0 frame:0
TX packets:769 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:63840 (62.3 KiB) TX bytes:63840 (62.3 KiB)
pan0 Link encap:Ethernet HWaddr 2E:74:3A:E1:CA:4B
BROADCAST MULTICAST MTU:1500 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)
virbr0 Link encap:Ethernet HWaddr 52:54:00:19:8D:B6
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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)
virbr0-nic Link encap:Ethernet HWaddr 52:54:00:19:8D:B6
BROADCAST MULTICAST MTU:1500 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:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
virbr1 Link encap:Ethernet HWaddr 52:54:00:E0:F4:E4
inet addr:192.168.123.1 Bcast:192.168.123.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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)
virbr1-nic Link encap:Ethernet HWaddr 52:54:00:E0:F4:E4
BROADCAST MULTICAST MTU:1500 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:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
wlan1 Link encap:Ethernet HWaddr 10:0B:A9:AC:9D:54
inet6 addr: fe80::120b:a9ff:feac:9d54/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5474 errors:0 dropped:0 overruns:0 frame:0
TX packets:3199 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2129674 (2.0 MiB) TX bytes:678342 (662.4 KiB)
[gsykes@oc7530355045 ~]$ cd /etc/sysconfig
[gsykes@oc7530355045 sysconfig]$ cd network-scripts/
[gsykes@oc7530355045 network-scripts]$ ls
ifcfg-eth0 ifdown-ipv6 ifup ifup-plip ifup-wireless
ifcfg-lo ifdown-isdn ifup-aliases ifup-plusb init.ipv6-global
ifcfg-wlan0 ifdown-post ifup-bnep ifup-post net.hotplug
ifdown ifdown-ppp ifup-eth ifup-ppp network-functions
ifdown-bnep ifdown-routes ifup-ippp ifup-routes network-functions-ipv6
ifdown-eth ifdown-sit ifup-ipv6 ifup-sit
ifdown-ippp ifdown-tunnel ifup-isdn ifup-tunnel
[gsykes@oc7530355045 network-scripts]$ more ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
NM_CONTROLLED=yes
ONBOOT=yes
TYPE=Ethernet
UUID="fc0687d6-d908-44a4-bd3d-
USERCTL=no
IPV6INIT=no
HWADDR=00:21:CC:C1:46:9A
IPADDR=10.245.38.15
PREFIX=25
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
NAME="System eth0"
LAST_CONNECT=1410390876
[gsykes@oc7530355045 network-scripts]$
ifconfig eth0 up
eth0: unknown interface: No such device
[gsykes@oc7530355045 network-scripts]$ ls
ifcfg-eth0 ifdown-ipv6 ifup ifup-plip ifup-wireless
ifcfg-lo ifdown-isdn ifup-aliases ifup-plusb init.ipv6-global
ifcfg-wlan0 ifdown-post ifup-bnep ifup-post net.hotplug
ifdown ifdown-ppp ifup-eth ifup-ppp network-functions
ifdown-bnep ifdown-routes ifup-ippp ifup-routes network-functions-ipv6
ifdown-eth ifdown-sit ifup-ipv6 ifup-sit
ifdown-ippp ifdown-tunnel ifup-isdn ifup-tunnel
[gsykes@oc7530355045 network-scripts]$ ifconfig ifcfg-eth0 up
ifcfg-eth0: unknown interface: No such device
[gsykes@oc7530355045 network-scripts]$ lls
Command not found. ^C
[gsykes@oc7530355045 network-scripts]$ ifconfig -a
eth1 Link encap:Ethernet HWaddr 00:21:CC:BA:B2:7A
inet6 addr: fe80::221:ccff:feba:b27a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:599 errors:0 dropped:0 overruns:0 frame:0
TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:59390 (57.9 KiB) TX bytes:32616 (31.8 KiB)
Interrupt:20 Memory:f3900000-f3920000
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:793 errors:0 dropped:0 overruns:0 frame:0
TX packets:793 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:65616 (64.0 KiB) TX bytes:65616 (64.0 KiB)
pan0 Link encap:Ethernet HWaddr 2E:74:3A:E1:CA:4B
BROADCAST MULTICAST MTU:1500 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)
virbr0 Link encap:Ethernet HWaddr 52:54:00:19:8D:B6
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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)
virbr0-nic Link encap:Ethernet HWaddr 52:54:00:19:8D:B6
BROADCAST MULTICAST MTU:1500 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:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
virbr1 Link encap:Ethernet HWaddr 52:54:00:E0:F4:E4
inet addr:192.168.123.1 Bcast:192.168.123.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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)
virbr1-nic Link encap:Ethernet HWaddr 52:54:00:E0:F4:E4
BROADCAST MULTICAST MTU:1500 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:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
wlan1 Link encap:Ethernet HWaddr 10:0B:A9:AC:9D:54
inet6 addr: fe80::120b:a9ff:feac:9d54/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5474 errors:0 dropped:0 overruns:0 frame:0
TX packets:3199 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2129674 (2.0 MiB) TX bytes:678342 (662.4 KiB)
[gsykes@oc7530355045 network-scripts]$ ls
ifcfg-eth0 ifdown-ipv6 ifup ifup-plip ifup-wireless
ifcfg-lo ifdown-isdn ifup-aliases ifup-plusb init.ipv6-global
ifcfg-wlan0 ifdown-post ifup-bnep ifup-post net.hotplug
ifdown ifdown-ppp ifup-eth ifup-ppp network-functions
ifdown-bnep ifdown-routes ifup-ippp ifup-routes network-functions-ipv6
ifdown-eth ifdown-sit ifup-ipv6 ifup-sit
ifdown-ippp ifdown-tunnel ifup-isdn ifup-tunnel
[gsykes@oc7530355045 network-scripts]$
sudo su -
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for gsykes:
[root@oc7530355045 ~]# cd /etc/sysconfig/network-
[root@oc7530355045 network-scripts]# ls
ifcfg-eth0 ifdown-ipv6 ifup ifup-plip ifup-wireless
ifcfg-lo ifdown-isdn ifup-aliases ifup-plusb init.ipv6-global
ifcfg-wlan0 ifdown-post ifup-bnep ifup-post net.hotplug
ifdown ifdown-ppp ifup-eth ifup-ppp network-functions
ifdown-bnep ifdown-routes ifup-ippp ifup-routes network-functions-ipv6
ifdown-eth ifdown-sit ifup-ipv6 ifup-sit
ifdown-ippp ifdown-tunnel ifup-isdn ifup-tunnel
[root@oc7530355045 network-scripts]# ifconfig -a | more
eth1 Link encap:Ethernet HWaddr 00:21:CC:BA:B2:7A
inet6 addr: fe80::221:ccff:feba:b27a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:615 errors:0 dropped:0 overruns:0 frame:0
TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:60460 (59.0 KiB) TX bytes:32616 (31.8 KiB)
Interrupt:20 Memory:f3900000-f3920000
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:793 errors:0 dropped:0 overruns:0 frame:0
TX packets:793 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:65616 (64.0 KiB) TX bytes:65616 (64.0 KiB)
pan0 Link encap:Ethernet HWaddr 2E:74:3A:E1:CA:4B
BROADCAST MULTICAST MTU:1500 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)
virbr0 Link encap:Ethernet HWaddr 52:54:00:19:8D:B6
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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)
virbr0-nic Link encap:Ethernet HWaddr 52:54:00:19:8D:B6
BROADCAST MULTICAST MTU:1500 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:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
virbr1 Link encap:Ethernet HWaddr 52:54:00:E0:F4:E4
inet addr:192.168.123.1 Bcast:192.168.123.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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)
virbr1-nic Link encap:Ethernet HWaddr 52:54:00:E0:F4:E4
BROADCAST MULTICAST MTU:1500 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:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
wlan1 Link encap:Ethernet HWaddr 10:0B:A9:AC:9D:54
inet6 addr: fe80::120b:a9ff:feac:9d54/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5474 errors:0 dropped:0 overruns:0 frame:0
TX packets:3199 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2129674 (2.0 MiB) TX bytes:678342 (662.4 KiB)
[root@oc7530355045 network-scripts]# ifconfig eth0 up
eth0: unknown interface: No such device
[root@oc7530355045 network-scripts]#
ip addr
show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
qlen 1000
link/ether 28:d2:44:85:8f:65 brd ff:ff:ff:ff:ff:ff
inet 10.70.70.227/24 brd 10.70.70.255 scope global eth0
3: pan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether b2:1c:a0:f0:61:8e brd ff:ff:ff:ff:ff:ff
4: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UNKNOWN
link/ether 52:54:00:fd:be:c9 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 500
link/ether 52:54:00:fd:be:c9 brd ff:ff:ff:ff:ff:ff
6: virbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UNKNOWN
link/ether 52:54:00:4f:eb:1c brd ff:ff:ff:ff:ff:ff
inet 192.168.123.1/24 brd 192.168.123.255 scope global virbr1
7: virbr1-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 500
link/ether 52:54:00:4f:eb:1c brd ff:ff:ff:ff:ff:ff
10: wc0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1448 qdisc pfifo_fast
state UNKNOWN qlen 500
link/[65534]
inet 9.164.155.197/21 scope global wc0
greg@greg-VirtualBox:~$
greg@greg-VirtualBox:~$ sudo su
[sudo] password for greg:
root@greg-VirtualBox:/home/
q: command not found
root@greg-VirtualBox:/home/
-d: command not found
root@greg-VirtualBox:/home/
No command 'syconfig' found, did you mean:
Command 'cyconfig' from package 'cyphesis-cpp-clients' (universe)
syconfig: command not found
root@greg-VirtualBox:/home/
Desktop Downloads Music Public Videos
Documents examples.desktop Pictures Templates
root@greg-VirtualBox:/home/
root@greg-VirtualBox:/home/
root@greg-VirtualBox:~# cd Downloads
bash: cd: Downloads: No such file or directory
root@greg-VirtualBox:~# cd Downloads
bash: cd: Downloads: No such file or directory
root@greg-VirtualBox:~# ls
root@greg-VirtualBox:~# cd/home
bash: cd/home: No such file or directory
root@greg-VirtualBox:~# cd/greg
bash: cd/greg: No such file or directory
root@greg-VirtualBox:~# sudo su
root@greg-VirtualBox:~# ls
root@greg-VirtualBox:~# ls
root@greg-VirtualBox:~# cd /home
root@greg-VirtualBox:/home# ls
greg
root@greg-VirtualBox:/home# cd / Downloads
root@greg-VirtualBox:/# cd/home
^[[6~bash: cd/home: No such file or directory
root@greg-VirtualBox:/# cd / jp,
root@greg-VirtualBox:/# cd / home
root@greg-VirtualBox:/# cd / home
root@greg-VirtualBox:/# ls
bin dev initrd.img media proc selinux tmp vmlinuz
boot etc lib mnt root srv usr
cdrom home lost+found opt sbin sys var
root@greg-VirtualBox:/# cd / bin
root@greg-VirtualBox:/# cd bin
root@greg-VirtualBox:/bin# ls
bash echo mount sh
bunzip2 ed mountpoint sh.distrib
busybox egrep mt sleep
bzcat false mt-gnu static-sh
bzcmp fgconsole mv stty
bzdiff fgrep nano su
bzegrep fuser nc sync
bzexe fusermount nc.openbsd tailf
bzfgrep grep netcat tar
bzgrep gunzip netstat tempfile
bzip2 gzexe nisdomainname touch
bzip2recover gzip ntfs-3g true
bzless hostname ntfs-3g.probe ulockmgr_server
bzmore init-checkconf ntfs-3g.secaudit umount
cat initctl2dot ntfs-3g.usermap uname
chgrp ip open uncompress
chmod kbd_mode openvt unicode_start
chown kill pidof vdir
chvt less ping vmmouse_detect
cp lessecho ping6 which
cpio lessfile plymouth ypdomainname
dash lesskey plymouth-upstart-bridge zcat
date lesspipe ps zcmp
dbus-cleanup-sockets ln pwd zdiff
dbus-daemon loadkeys rbash zegrep
dbus-uuidgen login readlink zfgrep
dd lowntfs-3g rm zforce
df ls rmdir zgrep
dir lsmod rnano zless
dmesg mkdir run-parts zmore
dnsdomainname mknod sed znew
domainname mktemp setfont
dumpkeys more setupcon
root@greg-VirtualBox:/bin# ^C
root@greg-VirtualBox:/bin#
VMware-Player-6.0.5-2443746.i386.bundle
VMware-player-7.1.0-2496824.exe
root@ubuntu:/home/gregenterprises/Downloads# rm VMware-player-7.1.0-2496824.exe
root@ubuntu:/home/gregenterprises/Downloads# ls
VMware-Player-6.0.5-2443746.i386.bundle
root@ubuntu:/home/gregenterprises/Downloads#
root@ubuntu:/home/gregenterprises/Downloads# sudo
./VMware-Player-6.0.5-2443746.i386.bundle
Extracting VMware Installer...done.
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
(vmware-installer.py:2982): Gtk-WARNING **: Unable to locate theme engine in
module_path: "murrine",
Gtk-Message: Failed to load module "canberra-gtk-module":
libcanberra-gtk-module.so: cannot open shared object file: No such file or
directory
root@ubuntu:/home/gregenterprises/Downloads#
root@ubuntu:/home/gregenterprises/Downloads# cd\
> cd
ls
exit
The program 'cdcd' is currently not installed. You can install it by typing:
apt-get install cdcd
eroot@ubuntu:/home/gregenterprises/Downloads#
root@ubuntu:/home/gregenterprises/Downloads# ls
nVMware-Player-6.0.5-2443746.i386.bundle
root@ubuntu:/home/gregenterprises/Downloads#
root@ubuntu:/home/gregenterprises/Downloads# exit
exit
gregenterprises@ubuntu:~$
gregenterprises@ubuntu:~$ cd etc/scripts
bash: cd: etc/scripts: No such file or directory
gregenterprises@ubuntu:~$ cd etc
bash: cd: etc: No such file or directory
gregenterprises@ubuntu:~$ ~sudo su
No command '~sudo' found, did you mean:
Command 'sudo' from package 'sudo' (main)
Command 'sudo' from package 'sudo-ldap' (universe)
~sudo: command not found
gregenterprises@ubuntu:~$ sudo su
[sudo] password for gregenterprises:
root@ubuntu:/home/gregenterprises# cd /scripts/networks/
bash: cd: /scripts/networks/: No such file or directory
root@ubuntu:/home/gregenterprises# cd.
No command 'cd.' found, did you mean:
Command 'cdb' from package 'tinycdb' (main)
Command 'cdi' from package 'cdo' (universe)
Command 'cde' from package 'cde' (universe)
Command 'cdv' from package 'codeville' (universe)
Command 'cdw' from package 'cdw' (universe)
Command 'cd5' from package 'cd5' (universe)
Command 'cdp' from package 'irpas' (multiverse)
Command 'cdo' from package 'cdo' (universe)
cd.: command not found
root@ubuntu:/home/gregenterprises# exit
exit
gregenterprises@ubuntu:~$ /etc/networks
bash: /etc/networks: Permission denied
gregenterprises@ubuntu:~$ sudu su
No command 'sudu' found, did you mean:
Command 'sudo' from package 'sudo' (main)
Command 'sudo' from package 'sudo-ldap' (universe)
Command 'tudu' from package 'tudu' (universe)
sudu: command not found
gregenterprises@ubuntu:~$ sudo su
[sudo] password for gregenterprises:
root@ubuntu:/home/gregenterprises# /etc/networks
bash: /etc/networks: Permission denied
root@ubuntu:/home/gregenterprises# cd /etc/networks
bash: cd: /etc/networks: Not a directory
root@ubuntu:/home/gregenterprises# cd /etc/network
root@ubuntu:/etc/network# ls
if-down.d if-post-down.d if-pre-up.d if-up.d interfaces interfaces.d run
root@ubuntu:/etc/network# exit
exit
gregenterprises@ubuntu:~$ cd /etc/network-scripts
bash: cd: /etc/network-scripts: No such file or directory
gregenterprises@ubuntu:~$ cd /etc/sysconfig/network-scripts
bash: cd: /etc/sysconfig/network-scripts: No such file or directory
gregenterprises@ubuntu:~$ cd /etc/sysconfig/network-scripts/
bash: cd: /etc/sysconfig/network-scripts/: No such file or directory
gregenterprises@ubuntu:~$ sudo su
[sudo] password for gregenterprises:
root@ubuntu:/home/gregenterprises# cd /etc/sysconfig/network-scripts/
bash: cd: /etc/sysconfig/network-scripts/: No such file or directory
root@ubuntu:/home/gregenterprises# cd /etc/sysconfig/
bash: cd: /etc/sysconfig/: No such file or directory
root@ubuntu:/home/gregenterprises# cd /etc/network
root@ubuntu:/etc/network# ls
if-down.d if-post-down.d if-pre-up.d if-up.d interfaces interfaces.d run
root@ubuntu:/etc/network# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0c:29:7c:ad:7e
inet addr:192.168.43.130 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe7c:ad7e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:640 errors:0 dropped:0 overruns:0 frame:0
TX packets:603 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:495434 (495.4 KB) TX bytes:60477 (60.4 KB)
Interrupt:19 Base address:0x2000
root@ubuntu:/etc/network# vi /etc/sysconfig/network/ifconfig-eth0
root@ubuntu:/etc/network# vi /etc/sysconfig/network/ifconfig eth0
2 files to edit
root@ubuntu:/etc/network# man ifconfig
root@ubuntu:/etc/network# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default 192.168.43.2 0.0.0.0 UG 0 0 0 eth0
172.16.63.0 * 255.255.255.0 U 0 0 0 vmnet1
172.16.113.0 * 255.255.255.0 U 0 0 0 vmnet8
192.168.43.0 * 255.255.255.0 U 0 0 0 eth0
root@ubuntu:/etc/network# man netstat
root@ubuntu:/etc/network# ipconfig
No command 'ipconfig' found, did you mean:
Command 'tpconfig' from package 'tpconfig' (universe)
Command 'iwconfig' from package 'wireless-tools' (main)
Command 'ifconfig' from package 'net-tools' (main)
ipconfig: command not found
root@ubuntu:/etc/network# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0c:29:7c:ad:7e
inet addr:192.168.43.130 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe7c:ad7e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:660 errors:0 dropped:0 overruns:0 frame:0
TX packets:611 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:500176 (500.1 KB) TX bytes:61756 (61.7 KB)
Interrupt:19 Base address:0x2000
root@ubuntu:/etc/network# ping 192.168.43.130
PING 192.168.43.130 (192.168.43.130) 56(84) bytes of data.
64 bytes from 192.168.43.130: icmp_seq=1 ttl=64 time=0.220 ms
64 bytes from 192.168.43.130: icmp_seq=2 ttl=64 time=0.095 ms
64 bytes from 192.168.43.130: icmp_seq=3 ttl=64 time=0.078 ms
^C
--- 192.168.43.130 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.078/0.131/0.220/0.063 ms
root@ubuntu:/etc/network# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.054 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.080 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.082 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.083 ms
^C
--- 127.0.0.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2998ms
rtt min/avg/max/mdev = 0.054/0.074/0.083/0.016 ms
root@ubuntu:/etc/network# cd /var/log
root@ubuntu:/var/log# ls
alternatives.log dmesg.0 installer udev
apt dmesg.1.gz kern.log unattended-upgrades
auth.log dmesg.2.gz lastlog upstart
boot.log dpkg.log lightdm vmware-installer
bootstrap.log faillog pm-powersave.log vmware-tools-upgrader.log
btmp fontconfig.log samba vnetlib
cups fsck speech-dispatcher wtmp
dist-upgrade gpu-manager.log syslog Xorg.0.log
dmesg hp syslog.1 Xorg.0.log.old
root@ubuntu:/var/log# nano syslog
root@ubuntu:/var/log# tail dmseg
tail: cannot open ‘dmseg’ for reading: No such file or directory
root@ubuntu:/var/log# tail dmesg
[ 59.853879] audit: type=1400 audit(1424535131.620:19): apparmor="STATUS"
operation="profile_replace" profile="unconfined" name="chromium" pid=874
comm="apparmor_parser"
[ 59.864957] audit: type=1400 audit(1424535131.632:20): apparmor="STATUS"
operation="profile_replace" profile="unconfined" name="/sbin/dhclient" pid=875
comm="apparmor_parser"
[ 59.865086] audit: type=1400 audit(1424535131.632:21): apparmor="STATUS"
operation="profile_replace" profile="unconfined"
name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=875
comm="apparmor_parser"
[ 59.865104] audit: type=1400 audit(1424535131.632:22): apparmor="STATUS"
operation="profile_replace" profile="unconfined"
name="/usr/lib/connman/scripts/dhclient-script" pid=875 comm="apparmor_parser"
[ 59.866741] audit: type=1400 audit(1424535131.632:23): apparmor="STATUS"
operation="profile_replace" profile="unconfined"
name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=875
comm="apparmor_parser"
[ 59.866766] audit: type=1400 audit(1424535131.632:24): apparmor="STATUS"
operation="profile_replace" profile="unconfined"
name="/usr/lib/connman/scripts/dhclient-script" pid=875 comm="apparmor_parser"
[ 59.867465] audit: type=1400 audit(1424535131.632:25): apparmor="STATUS"
operation="profile_replace" profile="unconfined"
name="/usr/lib/connman/scripts/dhclient-script" pid=875 comm="apparmor_parser"
[ 59.927160] audit: type=1400 audit(1424535131.692:26): apparmor="STATUS"
operation="profile_load" profile="unconfined" name="/usr/bin/evince" pid=876
comm="apparmor_parser"
[ 63.646359] pcnet32 0000:02:01.0 eth0: link up
[ 66.306160] init: alsa-restore main process (996) terminated with status 2
root@ubuntu:/var/log# tail dmesg | less
root@ubuntu:/var/log# tail dmesg | /home/gregenterprises/Documents/tail.txt
bash: /home/gregenterprises/Documents/tail.txt: No such file or directory
root@ubuntu:/var/log# tail dmesg > /home/gregenterprises/Documents/tail.txt
root@ubuntu:/var/log# cd /home/gregenterprises/Documents/
root@ubuntu:/home/gregenterprises/Documents# gedit tail.txt
(gedit:6211): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files
(gedit:6211): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files
root@ubuntu:/home/gregenterprises/Documents# service network restart
network: unrecognized service
root@ubuntu:/home/gregenterprises/Documents# /etc/init.d/networking restart
root@ubuntu:/home/gregenterprises/Documents# ls /etc/init.d/
acpid friendly-recovery rc sudo
anacron grub-common rc.local udev
apparmor halt rcS umountfs
apport irqbalance README umountnfs.sh
avahi-daemon kerneloops reboot umountroot
bluetooth killprocs resolvconf unattended-upgrades
brltty kmod rsync urandom
console-setup lightdm rsyslog vmamqpd
cron networking saned vmware
cups ondemand sendsigs vmware-USBArbitrator
cups-browsed pppd-dns single x11-common
dbus procps skeleton
dns-clean pulseaudio speech-dispatcher
root@ubuntu:/home/gregenterprises/Documents# ls /etc/init/
acpid.conf mountnfs.sh.conf
alsa-restore.conf mtab.sh.conf
alsa-state.conf networking.conf
alsa-store.conf network-interface.conf
anacron.conf network-interface-container.conf
apport.conf network-interface-security.conf
avahi-cups-reload.conf network-manager.conf
avahi-daemon.conf passwd.conf
bluetooth.conf plymouth.conf
bootmisc.sh.conf plymouth-log.conf
checkfs.sh.conf plymouth-ready.conf
checkroot-bootclean.sh.conf plymouth-shutdown.conf
checkroot.sh.conf plymouth-splash.conf
console.conf plymouth-stop.conf
console-font.conf plymouth-upstart-bridge.conf
console-setup.conf procps.conf
container-detect.conf pulseaudio.conf
control-alt-delete.conf rc.conf
cron.conf rcS.conf
cups-browsed.conf rc-sysinit.conf
cups.conf resolvconf.conf
dbus.conf rfkill-restore.conf
dmesg.conf rfkill-store.conf
failsafe.conf rsyslog.conf
failsafe-x.conf setvtrgb.conf
flush-early-job-log.conf shutdown.conf
friendly-recovery.conf startpar-bridge.conf
gpu-manager.conf systemd-logind.conf
hostname.conf tty1.conf
hwclock.conf tty2.conf
hwclock-save.conf tty3.conf
irqbalance.conf tty4.conf
kmod.conf tty5.conf
lightdm.conf tty6.conf
modemmanager.conf udev.conf
mountall-bootclean.sh.conf udev-fallback-graphics.conf
mountall.conf udev-finish.conf
mountall-net.conf udevmonitor.conf
mountall-reboot.conf udevtrigger.conf
mountall.sh.conf ufw.conf
mountall-shell.conf upstart-file-bridge.conf
mountdevsubfs.sh.conf upstart-socket-bridge.conf
mounted-debugfs.conf upstart-udev-bridge.conf
mounted-dev.conf ureadahead.conf
mounted-proc.conf ureadahead-other.conf
mounted-run.conf usb-modeswitch-upstart.conf
mounted-tmp.conf vmware-tools.conf
mounted-var.conf vmware-tools-thinprint.conf
mountkernfs.sh.conf wait-for-state.conf
mountnfs-bootclean.sh.conf whoopsie.conf
root@ubuntu:/home/gregenterprises/Documents# ls /etc/init/ | less
root@ubuntu:/home/gregenterprises/Documents# vi
/etc/sysconfig/network/ifconfig-eth0
[1]+ Stopped vi /etc/sysconfig/network/ifconfig-eth0
root@ubuntu:/home/gregenterprises/Documents# cd /etc/
root@ubuntu:/etc# ls | sys
The program 'sys' is currently not installed. You can install it by typing:
apt-get install openafs-client
root@ubuntu:/etc# ls | grep sys
rsyslog.conf
rsyslog.d
sysctl.conf
sysctl.d
systemd
root@ubuntu:/etc# vi /etc/sysconfig/network
[2]+ Stopped vi /etc/sysconfig/network
root@ubuntu:/etc# cd network
network/ networks
root@ubuntu:/etc# cd network/
root@ubuntu:/etc/network# ls
if-down.d if-post-down.d if-pre-up.d if-up.d interfaces interfaces.d run
root@ubuntu:/etc/network# cd /etc/networks
bash: cd: /etc/networks: Not a directory
root@ubuntu:/etc/network# nano /etc/networks
root@ubuntu:/etc/network# cd /etc/networks
bash: cd: /etc/networks: Not a directory
root@ubuntu:/etc/network# cd /etc/network
root@ubuntu:/etc/network# ls
if-down.d if-post-down.d if-pre-up.d if-up.d interfaces interfaces.d run
root@ubuntu:/etc/network# nano interfaces
root@ubuntu:/etc/network# cd interfaces.d/
root@ubuntu:/etc/network/interfaces.d# ls
root@ubuntu:/etc/network/interfaces.d#
root@ubuntu:/etc/network/interfaces.d# cd ...
bash: cd: ...: No such file or directory
root@ubuntu:/etc/network/interfaces.d# cd ..
root@ubuntu:/etc/network#
Starting vi
It can be started in a variety of ways:
$>vi filename [new file Name]
$>vi +90 filename
$vi /etc/sysconfig/network-
To close
:q
:q(forceful)
:q!
Modes:
You have three modes:
Command Mode is default!
i -Press i for input mode
ESC - to go back into command mode
h - to move left one character
j - move down one character
k - move up one character
l - move right one character
dd - For Deleting
yy - For Copying
p - For pasting
:r filename - For Reading Text from another file
/search-text - for searching top to bottom
?search-text - For searching bottom to top
n - For following the search text top to bottom
N - For following the search text top to bottom
O or o - For a new line above or below the current line.
r - For Replacing the text under curser.
u - undo
:r - read
:w - For saving the current file
:w! - For saving the file forcefully.
:wq - For saving and exiting the file forcefully.
:history - For History
$ - For end of the line.
^- For Beginning of the line.
:1 - For the First Line
G - For the last line of the file.
:n - For nth Line Numbe
s