Changes between Version 8 and Version 9 of ubuntuinstall


Ignore:
Timestamp:
Nov 17, 2016, 10:41:20 AM (8 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ubuntuinstall

    v8 v9  
    599599=== More Linux Commands ===
    600600
    601 '''who am i''':
    602 '''df -dh''':
    603 '''man''':
    604 '''date''':
    605 '''time''':
    606 '''ln''':
    607 '''ps''':
    608 '''kill''':
     601 - '''who''': who command will give you information about who is logged on the system.
     602{{{
     603$ who
     604root   pts/0   2014-10-10 23:07 (10.104.33.101)
     605paul   pts/1   2014-10-10 23:30 (10.104.33.101)
     606laura  pts/2   2014-10-10 23:34 (10.104.33.96)
     607}}}
     608  * '''whoami''' command tells you your username
     609{{{
     610$ whoami
     611paul
     612}}}
     613 
     614 - '''df -dh''': report file system disk space usage
     615{{{
     616$ df -h
     617Filesystem      Size  Used Avail Use% Mounted on
     618/dev/sda1       451G  141G  287G  33% /
     619udev             10M     0   10M   0% /dev
     620tmpfs           774M   19M  755M   3% /run
     621..
     622..
     623}}}
     624
     625 - '''man''': Will give you man pages (also called manual pages) on your Unix or Linux computer
     626{{{
     627$man ls
     628$man cp
     629}}}
     630 - '''date''': Will give you the date and time of the system
     631{{{
     632$ date
     633Thu Nov 17 16:01:52 IST 2016
     634}}}
     635 - '''ln''': Use to create links between files. Frequently use with '''-s''' to create symbolic links
     636{{{
     637$ ln -s file2 symlink_to_file2
     638}}}
     639 - '''ps''': report a snapshot of the current processes. frequently use with -aux.
     640{{{
     641$ ps -aux
     642USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
     643root         1  0.0  0.0 111476  3400 ?        Ss   07:39   0:01 /sbin/init
     644root         2  0.0  0.0      0     0 ?        S    07:39   0:00 [kthreadd]
     645root         3  0.3  0.0      0     0 ?        S    07:39   1:40 [ksoftirqd/0]
     646}}}
    609647
    610648=== Setting UP IP Addresses ===