tmp2

light32@zangchao:/etc/sudoers.d$ sudo passwd root

Enter new UNIX password: 

-----------------------------------------

light32@zangchao:~$ sudo su
[sudo] password for light32: 
root@zangchao:/home/light32# exit
exit
light32@zangchao:~$ 

------------------------------------------

light32@zangchao:~$ nautilus

-------------------------------------------

light32@zangchao:~$ sudo date 0602145113
2013年 06月 02日 星期日 14:51:00 CST
light32@zangchao:~$

-----------------------------------------------

light32@zangchao:/$ iostat
Linux 3.2.0-39-generic-pae (zangchao.cn@gmail.com) 2013年06月02日 _i686_(4 CPU)


avg-cpu:  %user   %nice %system %iowait  %steal   %idle
          10.94    0.06    6.59    2.47    0.00   79.95


Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
sda              16.52       320.54       790.22    1780289    4388940
sdb               0.28         7.56         0.01      42010         40


light32@zangchao:/$ 

---------------------------------------------------------

light32@zangchao:/$ ps -aux | grep 'zc'
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
light32   7142  0.0  0.0   5816   860 pts/3    S+   15:08   0:00 grep --color=auto zc
light32@zangchao:/$ 

----------------------------------------------------

light32@zangchao:/$ vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
 2  0      0 1875056 374248 3690000    0    0    79   195 1358  451 11  7 80  2

------------------------------------------------------
light32@zangchao:/$ free
             total       used       free     shared    buffers     cached
Mem:       7922300    6045392    1876908          0     374340    3698628
-/+ buffers/cache:    1972424    5949876
Swap:      2999292          0    2999292

------------------------------------------------------

light32@zangchao:/$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda10       47G   18G   27G  40% /
udev            3.8G  4.0K  3.8G   1% /dev
tmpfs           1.6G  1.1M  1.6G   1% /run
none            5.0M  8.0K  5.0M   1% /run/lock
none            3.8G  704K  3.8G   1% /run/shm
/dev/sda9        60G   18G   39G  32% /opt
/dev/sdb2       290G  247G   44G  85% /media/HSAFE290G
/dev/sda2       201G  185G   16G  93% /media/WTOOLS
light32@zangchao:/$ 

-------------------------------------------------------------

light32@zangchao:/$ df . -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda10       47G   18G   27G  40% /
light32@zangchao:/$ 

--------------------------------------------------------------

light32@zangchao:/$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda10 during installation
UUID=de5cdd0c-d9b2-40a2-a739-2858ee570c0b /               ext4    errors=remount-ro 0       1
# /opt was on /dev/sda9 during installation
UUID=814b60e0-e603-4d7f-a5c9-a558b4a14017 /opt            ext4    defaults        0       2
# swap was on /dev/sda8 during installation
UUID=93815b5b-dadc-465e-ae99-dbd10593448b none            swap    sw              0       0
light32@zangchao:/$ 

-------------------------------------------------------------------

light32@zangchao:/$ cat /etc/hosts
127.0.0.1 localhost
#127.0.1.1 light32-Aspire-4741
127.0.1.1 zangchao.cn@gmail.com


# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

-------------------------------------------------------------------------

light32@zangchao:/$ cat /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search cn@gmail.com
light32@zangchao:/$ 

----------------------------------------------------------------------------

light32@zangchao:/$ cat /etc/network/interfaces 
auto lo
iface lo inet loopback


light32@zangchao:/$ 

-----------------------------------------------------------------

light32@zangchao:/$ ls /etc/init.d/networking 
/etc/init.d/networking
light32@zangchao:/$ sudo /etc/init.d/networking restart

-----------------------------------------------------------------------------

light32@zangchao:/$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         117.169.144.1   0.0.0.0         UG    0      0        0 ppp0
117.169.144.1   *               255.255.255.255 UH    0      0        0 ppp0
link-local      *               255.255.0.0     U     1000   0        0 ppp0
light32@zangchao:/$ 

----------------------------------------------------------------------------

light32@zangchao:/$ netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 localhost:7634          localhost:44458         TIME_WAIT  
tcp        0      0 localhost:7634          localhost:44464         TIME_WAIT  
tcp        0      1 117.169.153.149:48525   183.232.22.140:http     FIN_WAIT1  
tcp        0      1 117.169.153.149:54205   61.135.162.26:http      FIN_WAIT1  
tcp        0      0 localhost:7634          localhost:44396         TIME_WAIT  
tcp        0      0 localhost:7634          localhost:44445         TIME_WAIT  
tcp        0      1 117.169.153.149:38289   123.125.115.43:http     FIN_WAIT1 

--------------------------------------------------------------

light32@zangchao:/$ sudo gparted
[sudo] password for light32: 
======================
libparted : 2.3
======================
light32@zangchao:/$ 

--------------------------------------------

light32@zangchao:/$ sudo -i
root@zangchao:~# exit
logout
light32@zangchao:/$ 

-------------------------------------------

light32@zangchao:/$ gconf-editor
The program 'gconf-editor' is currently not installed.  You can install it by typing:
sudo apt-get install gconf-editor

------------------------------------------------

light32@zangchao:/$sudo pppoeconf


----------------------------------------------

light32@zangchao:~$ cd /
light32@zangchao:/$ ls
bin      home            mnt   selinux  vmlinuz
boot     initrd.img      opt   srv      vmlinuz.old
cdrom    initrd.img.old  proc  sys
Desktop  lib             root  tmp
dev      lost+found      run   usr
etc      media           sbin  var
light32@zangchao:/$ cd ~

-------------------------------------------------

light32@zangchao:~$ cd /
light32@zangchao:/$ cd 
light32@zangchao:~$ cd -
/
light32@zangchao:/$ cd ./-aa

or

 light32@zangchao:/$ cd --  -aa

--------------------------------------------------

light32@zangchao:/$ uname -a
Linux zangchao.cn@gmail.com 3.2.0-39-generic-pae #62-Ubuntu SMP Wed Feb 27 22:25:11 UTC 2013 i686 i686 i386 GNU/Linux
light32@zangchao:/$ 

-----------------------------------------------------

light32@zangchao:/$ head -n 1 /etc/issue
Ubuntu 12.04.2 LTS \n \l
light32@zangchao:/$ 

------------------------------------------------------

light32@zangchao:/$ hostname
zangchao.cn@gmail.com
light32@zangchao:/$ 

------------------------------------------------------------

light32@zangchao:/$ du -sh /opt
18G /opt
light32@zangchao:/$

-------------------------------------------------------------

light32@zangchao:/$ uptime
 17:06:06 up  3:33,  1 user,  load average: 1.20, 1.02, 0.90
light32@zangchao:/$ 

----------------------------------------------------

light32@zangchao:/$ mount |column -t
/dev/sda10        on  /                         type  ext4                   (rw,errors=remount-ro)
proc              on  /proc                     type  proc                   (rw,noexec,nosuid,nodev)
sysfs             on  /sys                      type  sysfs                  (rw,noexec,nosuid,nodev)
none              on  /sys/fs/fuse/connections  type  fusectl                (rw)
none              on  /sys/kernel/debug         type  debugfs                (rw)
none              on  /sys/kernel/security      type  securityfs             (rw)
udev              on  /dev                      type  devtmpfs               (rw,mode=0755)
devpts            on  /dev/pts                  type  devpts                 (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs             on  /run                      type  tmpfs                  (rw,noexec,nosuid,size=10%,mode=0755)
none              on  /run/lock                 type  tmpfs                  (rw,noexec,nosuid,nodev,size=5242880)
none              on  /run/shm                  type  tmpfs                  (rw,nosuid,nodev)
/dev/sda9         on  /opt                      type  ext4                   (rw)
binfmt_misc       on  /proc/sys/fs/binfmt_misc  type  binfmt_misc            (rw,noexec,nosuid,nodev)
rpc_pipefs        on  /run/rpc_pipefs           type  rpc_pipefs             (rw)
nfsd              on  /proc/fs/nfsd             type  nfsd                   (rw)
gvfs-fuse-daemon  on  /home/light32/.gvfs       type  fuse.gvfs-fuse-daemon  (rw,nosuid,nodev,user=light32)
/dev/sdb2         on  /media/HSAFE290G          type  fuseblk                (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda2         on  /media/WTOOLS             type  fuseblk                (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
light32@zangchao:/$ 

--------------------------------------------------------------------------

light32@zangchao:/$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         117.169.144.1   0.0.0.0         UG    0      0        0 ppp0
117.169.144.1   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 ppp0
light32@zangchao:/$

----------------------------------------------------------------------------

light32@zangchao:/$ netstat -lntp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:32971           0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:45197           0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:7634          0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:51413           0.0.0.0:*               LISTEN      8561/transmission-g
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:41399           0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:52538           0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:34307           0.0.0.0:*               LISTEN      -               
tcp6       0      0 :::39816                :::*                    LISTEN      -               
tcp6       0      0 :::32843                :::*                    LISTEN      -               
tcp6       0      0 :::139                  :::*                    LISTEN      -               
tcp6       0      0 :::111                  :::*                    LISTEN      -               
tcp6       0      0 :::43955                :::*                    LISTEN      -               
tcp6       0      0 :::51413                :::*                    LISTEN      8561/transmission-g
tcp6       0      0 :::42454                :::*                    LISTEN      -               
tcp6       0      0 ::1:631                 :::*                    LISTEN      -               
tcp6       0      0 :::35131                :::*                    LISTEN      -               
tcp6       0      0 :::445                  :::*                    LISTEN      -               
tcp6       0      0 :::2049                 :::*                    LISTEN      -               
light32@zangchao:/$ 

-------------------------------------------------------------------------------------

light32@zangchao:/$ netstat -antp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:32971           0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:45197           0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:7634          0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:51413           0.0.0.0:*               LISTEN      8561/transmission-g
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:41399           0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:52538           0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:34307           0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:7634          127.0.0.1:48602         TIME_WAIT   -               
tcp        0      1 117.169.153.149:51413   83.249.87.234:55012     FIN_WAIT1   -               
tcp        0      1 117.169.153.149:51413   177.134.108.183:55038   FIN_WAIT1   -               
tcp        0      0 127.0.0.1:7634          127.0.0.1:48604         TIME_WAIT   -               

------------------------------------------------------------------

light32@zangchao:/$ netstat -s
Ip:
    2790788 total packets received
    0 forwarded
    0 incoming packets discarded
    2789637 incoming packets delivered
    1937012 requests sent out
    2 dropped because of missing route
    20 fragments dropped after timeout
    2278 reassemblies required
    1127 packets reassembled ok
    20 packet reassembles failed
Icmp:
    454 ICMP messages received
    39 input ICMP message failed.
    ICMP input histogram:
        destination unreachable: 390
        timeout in transit: 2
        echo requests: 51
        echo replies: 6
    956 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
        destination unreachable: 891
        time exceeded: 8
        echo request: 6
        echo replies: 51
IcmpMsg:
        InType0: 6
        InType3: 390
        InType8: 51
        InType11: 2
        OutType0: 51
        OutType3: 891
        OutType8: 6
        OutType11: 8
Tcp:
    15838 active connections openings
    17754 passive connection openings
    133 failed connection attempts
    389 connection resets received
    1 connections established
    2319914 segments received
    1669460 segments send out
    8985 segments retransmited
    12 bad segments received.
    7862 resets sent
Udp:
    468299 packets received
    891 packets to unknown port received.
    43 packet receive errors
    257989 packets sent
UdpLite:
TcpExt:
    4362 invalid SYN cookies received
    19 resets received for embryonic SYN_RECV sockets
    14214 TCP sockets finished time wait in fast timer
    4 packets rejects in established connections because of timestamp
    37767 delayed acks sent
    18 delayed acks further delayed because of locked socket
    Quick ack mode was activated 14327 times
    13617 packets directly queued to recvmsg prequeue.
    420459 bytes directly in process context from backlog
    923139 bytes directly received in process context from prequeue
    1638021 packet headers predicted
    2298 packets header predicted and directly queued to user
    53069 acknowledgments not containing data payload received
    8547 predicted acknowledgments
    11 congestion windows recovered without slow start by DSACK
    44 congestion windows recovered without slow start after partial ack
    2 TCP data loss events
    15 timeouts after SACK recovery
    1 timeouts in loss state
    3 retransmits in slow start
    1978 other TCP timeouts
    1927 DSACKs sent for old packets
    156 DSACKs sent for out of order packets
    96 DSACKs received
    2242 connections reset due to unexpected data
    261 connections reset due to early user close
    1033 connections aborted due to timeout
    TCPDSACKIgnoredNoUndo: 31
    TCPSackShiftFallback: 45
    TCPChallengeACK: 3
    TCPSYNChallenge: 3
IpExt:
    OutMcastPkts: 8
    InBcastPkts: 31
    OutBcastPkts: 31
    InOctets: -494461560
    OutOctets: 95853302
    OutMcastOctets: 1230
    InBcastOctets: 7309
    OutBcastOctets: 7309
light32@zangchao:/$ 

---------------------------------------------------------------

light32@zangchao:/$ ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 13:32 ?        00:00:01 /sbin/init
root         2     0  0 13:32 ?        00:00:00 [kthreadd]
root         3     2  0 13:32 ?        00:00:01 [ksoftirqd/0]
root         5     2  0 13:32 ?        00:00:00 [kworker/u:0]
root         6     2  0 13:32 ?        00:00:00 [migration/0]
root         7     2  0 13:32 ?        00:00:00 [watchdog/0]
root         8     2  0 13:32 ?        00:00:00 [migration/1]
root         9     2  0 13:32 ?        00:00:12 [kworker/1:0]
root        10     2  0 13:32 ?        00:00:01 [ksoftirqd/1]
root        12     2  0 13:32 ?        00:00:00 [watchdog/1]
root        13     2  0 13:32 ?        00:00:00 [migration/2]
root        15     2  0 13:32 ?        00:00:00 [ksoftirqd/2]
root        16     2  0 13:32 ?        00:00:00 [watchdog/2]
root        17     2  0 13:32 ?        00:00:00 [migration/3]
root        19     2  0 13:32 ?        00:00:00 [ksoftirqd/3]

...

-------------------------------------------------

light32@zangchao:/$ w
 17:11:48 up  3:38,  1 user,  load average: 1.05, 1.03, 0.96
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
light32  tty7                      13:33    3:38m 13:19   0.45s gnome-session --session=ubuntu
light32@zangchao:/$ who
light32  tty7         2013-06-02 13:33
light32@zangchao:/$ 

----------------------------------------------------------------------------------

light32@zangchao:/$ last
reboot   system boot  3.2.0-39-generic Sun Jun  2 13:33 - 17:12  (03:39)    


wtmp begins Sat Jun  1 23:05:57 2013
light32@zangchao:/$ 

----------------------------------------------------------------

light32@zangchao:/$ dpkg -L flareGet
/.
/usr
/usr/bin
/usr/bin/flareget
/usr/bin/flare-grab
/usr/lib
/usr/lib/flareget
/usr/lib/flareget/libmetalink.so.3
/usr/share
/usr/share/doc
/usr/share/doc/flareget
/usr/share/doc/flareget/copyright
/usr/share/doc/flareget/changelog.Debian.gz
/usr/share/doc/flareget/FlareGet-User Manual.pdf
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/flareget.1.gz
/usr/share/man/man1/flare-grab.1.gz
/usr/share/applications
/usr/share/applications/flareget.desktop
/usr/share/icons
/usr/share/icons/hicolor
/usr/share/icons/hicolor/32x32
/usr/share/icons/hicolor/32x32/apps
/usr/share/icons/hicolor/32x32/apps/flareget.png
/usr/share/icons/hicolor/128x128
/usr/share/icons/hicolor/128x128/apps
/usr/share/icons/hicolor/128x128/apps/flareget.png
/usr/share/icons/hicolor/64x64
/usr/share/icons/hicolor/64x64/apps
/usr/share/icons/hicolor/64x64/apps/flareget.png
/usr/share/icons/hicolor/16x16
/usr/share/icons/hicolor/16x16/apps
/usr/share/icons/hicolor/16x16/apps/flareget.png
light32@zangchao:/$ 

---------------------------------------------------------------------













评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值