Linux Basics

From JaxHax
Jump to: navigation, search

Basic linux tutorial

Linux: An open source operating system that is similar to UNIX, built with a linux kernel generally with GNU utilities built around it, then a distribution (like Red Hat, Debian, Ubuntu, Gentoo, ect) built around that.

Filesystem Manpulation

ls: give directory listings

[dan@ack foo]$ ls ## this gives you a basic directory listing
1  2  3  4  5  bar  foo
[dan@ack foo]$ ls -l ## the -l flag gives you a 'long' listing that allows you to view the (see below)
total 12
## mode  links owner group size "mod date" name
drwxrwxr-x 2 dan dan 4096 Jan 14 23:00 1
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 2
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 3
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 4
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 5
drwxrwxr-x 2 dan dan 4096 Jan 14 23:00 bar
drwxrwxr-x 2 dan dan 4096 Jan 14 23:00 foo
[dan@ack foo]$ ls -lh  ## the same as -l but changes it from bytes to a human readable format
total 12K
drwxrwxr-x 2 dan dan 4.0K Jan 14 23:00 1
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 2
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 3
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 4
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 5
drwxrwxr-x 2 dan dan 4.0K Jan 14 23:00 bar
drwxrwxr-x 2 dan dan 4.0K Jan 14 23:00 foo
[dan@ack foo]$ ls -lad foo ## ls -l "long" a "all (shows hidden files)" and d "directory" shows you the info about the directory itself
drwxrwxr-x 2 dan dan 4096 Jan 14 23:00 foo
[dan@ack foo]$ ls -la foo ## if you leave the -d off, you get the contents of the directory
total 8
drwxrwxr-x 2 dan dan 4096 Jan 14 23:00 .
drwxrwxr-x 5 dan dan 4096 Jan 14 23:00 ..
[dan@ack foo]$ ls -lt ## the -t flag orders items from newest to oldest
total 12
-rw-rw-r-- 1 dan dan    0 Jan 14 23:09 6
-rw-rw-r-- 1 dan dan    0 Jan 14 23:09 7
-rw-rw-r-- 1 dan dan    0 Jan 14 23:09 8
drwxrwxr-x 2 dan dan 4096 Jan 14 23:00 1
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 2
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 3
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 4
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 5
drwxrwxr-x 2 dan dan 4096 Jan 14 23:00 bar
drwxrwxr-x 2 dan dan 4096 Jan 14 23:00 foo
[dan@ack foo]$ ls -ltr ## the -r in conjunction with the -t orders items from oldest to newest or "reverse"
total 12
drwxrwxr-x 2 dan dan 4096 Jan 14 23:00 foo
drwxrwxr-x 2 dan dan 4096 Jan 14 23:00 bar
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 5
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 4
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 3
-rw-rw-r-- 1 dan dan    0 Jan 14 23:00 2
drwxrwxr-x 2 dan dan 4096 Jan 14 23:00 1
-rw-rw-r-- 1 dan dan    0 Jan 14 23:09 8
-rw-rw-r-- 1 dan dan    0 Jan 14 23:09 7
-rw-rw-r-- 1 dan dan    0 Jan 14 23:09 6

touch: this command creates a blank file

[dan@ack bar]$ ls -lh
total 0
[dan@ack bar]$ touch 1 2 3 4
[dan@ack bar]$ ls -lh
total 0
-rw-rw-r-- 1 dan dan 0 Jan 14 23:27 1
-rw-rw-r-- 1 dan dan 0 Jan 14 23:27 2
-rw-rw-r-- 1 dan dan 0 Jan 14 23:27 3
-rw-rw-r-- 1 dan dan 0 Jan 14 23:27 4

echo: outputs the specified phrase to standard out

cat: outputs the contents of a file to standard out

>: redirect (overwrite) writes standard out to a file but overwrites what is there already

>>: redirect (append) writes standard out to a file but appends to what is already there

[dan@ack bar]$ echo foo
foo
[dan@ack bar]$ cat 1
[dan@ack bar]$ echo foo > 1
[dan@ack bar]$ cat 1
foo
[dan@ack bar]$ echo bar > 1
[dan@ack bar]$ cat 1
bar
[dan@ack bar]$ echo bob >> 1
[dan@ack bar]$ cat 1
bar
bob

mkdir: make directory, this allows you to create empty directories (-p creates parents)

cd: change directory, you use this to change directories

pwd: present working directory, shows you where you currently are with the absolute path

[dan@ack bar]$ mkdir -p 1 2 3 4/5/6/7  ## here I am creating directories ./1 ./2 ./3 and ./4 along with ./4/5 ./4/5/6 and ./4/5/6/7
[dan@ack bar]$ ls -l
total 16
drwxrwxr-x 2 dan dan 4096 Jan 14 23:53 1
drwxrwxr-x 2 dan dan 4096 Jan 14 23:53 2
drwxrwxr-x 2 dan dan 4096 Jan 14 23:53 3
drwxrwxr-x 3 dan dan 4096 Jan 14 23:53 4
[dan@ack bar]$ ls -lR ## the R is recursive ls
.:
total 16
drwxrwxr-x 2 dan dan 4096 Jan 14 23:53 1
drwxrwxr-x 2 dan dan 4096 Jan 14 23:53 2
drwxrwxr-x 2 dan dan 4096 Jan 14 23:53 3
drwxrwxr-x 3 dan dan 4096 Jan 14 23:53 4
 
./1:
total 0
 
./2:
total 0
 
./3:
total 0
 
./4:
total 4
drwxrwxr-x 3 dan dan 4096 Jan 14 23:53 5
 
./4/5:
total 4
drwxrwxr-x 3 dan dan 4096 Jan 14 23:53 6
 
./4/5/6:
total 4
drwxrwxr-x 2 dan dan 4096 Jan 14 23:53 7
 
./4/5/6/7:
total 0
[dan@ack bar]$ cd 4
[dan@ack 4]$ ls
5
[dan@ack 4]$ cd 5/6
[dan@ack 6]$ pwd
/home/dan/bar/4/5/6
[dan@ack 6]$ ls
7

more: this command allows you to output the contents of a file like cat, but stops after every page

less: this command is like more, but does more, it allows you to scroll up or down, and search among other things

|: or "pipe" redirects output of previous command to standard in (input) to the next command

usage:

more <filename>

less <filename>

output source | more/less

history: this command allows you to see your console history of the commands that you have executed

! <historynumber> re-runs the command at the specified line

[dan@ack ~]$ history
...
   64  ls
   65  cd 5 6
   66  ls
   67  cd ..
   68  cd 5/6
   69  pwd
   70  ls
   71  cd
   72  history
[dan@ack bar]$ !70
ls
1  2  3  4

nano: a terminal text editor

vi/vim: an advanced terminal text editor

df -h: df shows you the amount of disk that is free on the system. The -h flag allows you to see the output as human readable like ls

[dan@ack bar]$ df -h
Filesystem                    Size  Used Avail Use% Mounted on
/dev/mapper/vg_core-lv_root   208G   57G  141G  29% /          ## this is the 'root' filesystem, the top of the filesystem tree where everything is stored
tmpfs                         3.7G  788K  3.7G   1% /dev/shm
/dev/sda1                     485M  102M  358M  23% /boot      ## this is the boot partition, where the grub kernel and initrd live

process handling

ps aux: ps allows you to see what is currently running on the system, the a u and x flags allow you to see more information

grep: look for particular pattern and do something with it (search for it and display it in the case below

you can combine the output of ps and put it in other commands such as more or grep by using our friend the | (pipe) again.

[root@ack ~]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.2  0.7  51088  7496 ?        Ss   10:26   0:01 /usr/lib/systemd/systemd --switched-root --system --deserial
root         2  0.0  0.0      0     0 ?        S    10:26   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    10:26   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   10:26   0:00 [kworker/0:0H]
root         7  0.0  0.0      0     0 ?        S    10:26   0:00 [migration/0]
root         8  0.0  0.0      0     0 ?        S    10:26   0:00 [rcu_bh]
root         9  0.1  0.0      0     0 ?        S    10:26   0:00 [rcu_sched]
root        10  0.0  0.0      0     0 ?        S    10:26   0:00 [watchdog/0]
root        11  0.0  0.0      0     0 ?        S    10:26   0:00 [watchdog/1]
root        12  0.0  0.0      0     0 ?        S    10:26   0:00 [migration/1]
root        13  0.0  0.0      0     0 ?        S    10:26   0:00 [ksoftirqd/1]
root        15  0.0  0.0      0     0 ?        S<   10:26   0:00 [kworker/1:0H]
root        16  0.0  0.0      0     0 ?        S<   10:26   0:00 [khelper]
root        17  0.0  0.0      0     0 ?        S    10:26   0:00 [kdevtmpfs]
root        18  0.0  0.0      0     0 ?        S<   10:26   0:00 [netns]
root        19  0.0  0.0      0     0 ?        S<   10:26   0:00 [writeback]
root        20  0.0  0.0      0     0 ?        S<   10:26   0:00 [kintegrityd]
root        21  0.0  0.0      0     0 ?        S<   10:26   0:00 [bioset]
root        22  0.0  0.0      0     0 ?        S<   10:26   0:00 [kblockd]
root        23  0.0  0.0      0     0 ?        S<   10:26   0:00 [ata_sff]
root        24  0.0  0.0      0     0 ?        S    10:26   0:00 [khubd]
root        25  0.0  0.0      0     0 ?        S<   10:26   0:00 [md]
root        26  0.0  0.0      0     0 ?        S    10:26   0:00 [kworker/0:1]
root        29  0.0  0.0      0     0 ?        S    10:26   0:00 [kswapd0]
root        30  0.0  0.0      0     0 ?        SN   10:26   0:00 [ksmd]
root        31  0.0  0.0      0     0 ?        SN   10:26   0:00 [khugepaged]
root        32  0.0  0.0      0     0 ?        S    10:26   0:00 [fsnotify_mark]
root        33  0.0  0.0      0     0 ?        S<   10:26   0:00 [crypto]
root        43  0.0  0.0      0     0 ?        S<   10:26   0:00 [kthrotld]
root        45  0.0  0.0      0     0 ?        S    10:26   0:00 [scsi_eh_0]
root        46  0.0  0.0      0     0 ?        S    10:26   0:00 [scsi_eh_1]
root        47  0.0  0.0      0     0 ?        S    10:26   0:00 [scsi_eh_2]
root        48  0.0  0.0      0     0 ?        S    10:26   0:00 [kworker/u4:2]
root        50  0.0  0.0      0     0 ?        S<   10:26   0:00 [kpsmoused]
root        51  0.0  0.0      0     0 ?        S    10:26   0:00 [kworker/0:2]
root        52  0.0  0.0      0     0 ?        S<   10:26   0:00 [deferwq]
root        53  0.0  0.0      0     0 ?        S    10:26   0:00 [kworker/u4:4]
root        59  0.0  0.0      0     0 ?        S    10:26   0:00 [kauditd]
root        84  0.0  0.0      0     0 ?        S    10:26   0:00 [kworker/1:2]
root       213  0.0  0.0      0     0 ?        S<   10:26   0:00 [kworker/0:1H]
root       283  0.0  0.0      0     0 ?        S<   10:26   0:00 [kdmflush]
root       284  0.0  0.0      0     0 ?        S<   10:26   0:00 [bioset]
root       285  0.0  0.0      0     0 ?        S<   10:26   0:00 [kdmflush]
root       286  0.0  0.0      0     0 ?        S<   10:26   0:00 [bioset]
root       310  0.0  0.0      0     0 ?        S    10:26   0:00 [jbd2/dm-1-8]
root       311  0.0  0.0      0     0 ?        S<   10:26   0:00 [ext4-rsv-conver]
root       399  0.0  0.8  59568  8692 ?        Ss   10:26   0:00 /usr/lib/systemd/systemd-journald
root       401  0.0  0.0      0     0 ?        S<   10:26   0:00 [rpciod]
root       409  0.0  0.3 102704  3780 ?        Ss   10:26   0:00 /usr/sbin/lvmetad
root       420  0.0  0.2  42724  2348 ?        Ss   10:26   0:00 /usr/lib/systemd/systemd-udevd
root       451  0.0  0.0      0     0 ?        S<   10:26   0:00 [iprt]
root       476  0.0  0.0      0     0 ?        S    10:26   0:00 [jbd2/sda1-8]
root       477  0.0  0.0      0     0 ?        S<   10:26   0:00 [ext4-rsv-conver]
root       486  0.0  0.0      0     0 ?        S<   10:26   0:00 [kdmflush]
root       489  0.0  0.0      0     0 ?        S<   10:26   0:00 [bioset]
root       510  0.0  0.0      0     0 ?        S    10:26   0:00 [jbd2/dm-2-8]
root       511  0.0  0.0      0     0 ?        S<   10:26   0:00 [ext4-rsv-conver]
root       518  0.0  0.1  51168  1604 ?        S<sl 10:26   0:00 /sbin/auditd -n
root       533  0.0  0.1  16764  1228 ?        SNs  10:26   0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/
root       537  0.1  2.0 327148 20776 ?        Ssl  10:26   0:00 /usr/bin/python /usr/sbin/firewalld --nofork --nopid
rtkit      545  0.0  0.1 164616  1272 ?        SNsl 10:26   0:00 /usr/libexec/rtkit-daemon
root       546  0.0  0.3 368560  3420 ?        Ssl  10:26   0:00 /usr/libexec/accounts-daemon
root       549  0.0  0.2  26544  2304 ?        Ss   10:26   0:00 /usr/sbin/smartd -n -q never
chrony     553  0.0  0.1  24736  1300 ?        S    10:26   0:00 /usr/sbin/chronyd -u chrony
root       554  0.0  0.4 374128  4428 ?        Ssl  10:26   0:00 /sbin/rsyslogd -n
root       555  0.0  0.4 326472  4488 ?        Ssl  10:26   0:00 /usr/sbin/ModemManager
root       558  0.0  0.1  19136  1144 ?        Ss   10:26   0:00 /usr/sbin/irqbalance --foreground
avahi      560  0.0  0.1  28080  1824 ?        Ss   10:26   0:00 avahi-daemon: running [linux-2.local]
root       561  0.0  0.1  34856  1784 ?        Ss   10:26   0:00 /usr/lib/systemd/systemd-logind
dbus       562  0.1  0.2  35556  2416 ?        Ssl  10:26   0:00 /bin/dbus-daemon --system --address=systemd: --nofork --nopi
root       566  0.0  0.1 126320  1680 ?        Ss   10:26   0:00 /usr/sbin/crond -n
root       567  0.0  0.0  25940   976 ?        Ss   10:26   0:00 /usr/sbin/atd -f
rpc        573  0.0  0.1  39912  1124 ?        Ss   10:26   0:00 /sbin/rpcbind -w 
avahi      580  0.0  0.0  27952   228 ?        S    10:26   0:00 avahi-daemon: chroot helper
root       589  0.0  0.0   6476   868 ?        Ss   10:26   0:00 /usr/sbin/mcelog --ignorenodev --daemon --foreground
polkitd    608  0.1  1.3 618904 13656 ?        Ssl  10:26   0:01 /usr/lib/polkit-1/polkitd --no-debug
root       672  0.0  0.1 322732  1076 ?        Sl   10:26   0:00 /usr/sbin/VBoxService
root       692  0.0  0.3 271824  3376 ?        SLsl 10:26   0:00 /usr/sbin/lightdm
root       696  1.1  4.4 290644 45812 tty1     Ssl+ 10:26   0:07 /usr/bin/X -background none :0 -auth /var/run/lightdm/root/:
root       698  0.0  0.8 441216  8536 ?        Ssl  10:26   0:00 /usr/sbin/NetworkManager --no-daemon
root       729  0.0  0.0      0     0 ?        S<   10:26   0:00 [cfg80211]
rpcuser    751  0.0  0.1  44480  1652 ?        Ss   10:26   0:00 /sbin/rpc.statd
root       755  0.0  0.2  30068  2040 ?        Ss   10:26   0:00 /usr/libexec/bluetooth/bluetoothd
root       868  0.0  0.0      0     0 ?        S<   10:26   0:00 [kworker/1:1H]
lightdm    921  0.0  0.2  44396  2352 ?        Ss   10:26   0:00 /usr/lib/systemd/systemd --user
lightdm    931  0.0  0.4  73892  4496 ?        S    10:26   0:00 (sd-pam)                                                    
lightdm    947  0.0  0.0  16032   464 ?        S    10:26   0:00 dbus-launch --autolaunch 95e7ab2b59bb4e1da8b08cc1f778e775 --
lightdm    953  0.0  0.1  34768  1148 ?        Ssl  10:26   0:00 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --se
lightdm    958  0.0  0.3 339784  3224 ?        Sl   10:26   0:00 /usr/libexec/at-spi-bus-launcher
lightdm    968  0.0  0.1  34632  1684 ?        Sl   10:26   0:00 /bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.co
lightdm    975  0.0  0.3 129616  3396 ?        Sl   10:26   0:00 /usr/libexec/at-spi2-registryd --use-gnome-session
root      1152  0.0  0.4 191992  4352 ?        Sl   10:26   0:00 lightdm --session-child 12 19
root      1208  0.0  1.5 102356 15720 ?        S    10:26   0:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-helper -pf /var/r
dan       1248  0.0  0.2  44396  2360 ?        Ss   10:27   0:00 /usr/lib/systemd/systemd --user
dan       1250  0.0  0.4  74444  4928 ?        S    10:27   0:00 (sd-pam)                                                    
dan       1251  0.0  0.1 113112  1420 ?        Ss   10:27   0:00 /bin/sh /etc/xdg/xfce4/xinitrc
dan       1258  0.0  0.0  13932   620 ?        S    10:27   0:00 dbus-launch --sh-syntax --exit-with-session
dan       1259  0.0  0.1  35388  1644 ?        Ssl  10:27   0:00 /bin/dbus-daemon --fork --print-pid 4 --print-address 6 --se
dan       1321  0.0  0.4 328328  4392 ?        Sl   10:27   0:00 /usr/libexec/imsettings-daemon
dan       1324  0.0  0.3 309424  3416 ?        Sl   10:27   0:00 /usr/libexec/gvfsd
dan       1331  0.0  0.2  41856  2500 ?        S    10:27   0:00 /usr/lib64/xfce4/xfconf/xfconfd
dan       1390  0.0  0.1 208112  1816 ?        Sl   10:27   0:00 /usr/bin/VBoxClient --clipboard
dan       1399  0.0  0.1 210220  1700 ?        Sl   10:27   0:00 /usr/bin/VBoxClient --display
dan       1404  0.0  0.1 140520  1264 ?        Sl   10:27   0:00 /usr/bin/VBoxClient --seamless
dan       1410  0.6  0.1 206836  1520 ?        Sl   10:27   0:04 /usr/bin/VBoxClient --draganddrop
dan       1420  0.0  0.0  53316   588 ?        Ss   10:27   0:00 /usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash -c "startxfc
dan       1437  0.0  0.8 434264  8900 ?        Sl   10:27   0:00 xfce4-session
dan       1441  0.0  0.0 121364   948 ?        Ss   10:27   0:00 /usr/bin/gpg-agent --sh --daemon --write-env-file /home/dan/
dan       1442  0.0  1.1 283500 11684 ?        S    10:27   0:00 xfwm4 --display :0.0 --sm-client-id 2f09bceb1-b3e4-4a3c-a4c1
dan       1444  0.2  1.5 535416 15544 ?        Sl   10:27   0:01 xfce4-panel --display :0.0 --sm-client-id 26de7a858-9b81-420
dan       1446  0.0  0.9 444108  9684 ?        Ssl  10:27   0:00 xfsettingsd --display :0.0 --sm-client-id 2fb4dda40-d823-4e3
dan       1447  0.1  1.6 623088 16716 ?        Sl   10:27   0:01 xfdesktop --display :0.0 --sm-client-id 2290b8013-5245-4d20-
dan       1451  0.0  0.8 438892  8900 ?        Ssl  10:27   0:00 xfce4-power-manager --restart --sm-client-id 2365db717-9189-
dan       1453  0.0  1.5 367776 15368 ?        Sl   10:27   0:00 /usr/bin/python /usr/share/system-config-printer/applet.py
dan       1454  0.0  1.9 707940 19440 ?        Sl   10:27   0:00 nm-applet
dan       1458  0.0  0.8 279596  8220 ?        S    10:27   0:00 /usr/lib64/xfce4/panel/wrapper /usr/lib64/xfce4/panel/plugin
dan       1459  0.0  0.3 272624  3796 ?        Ss   10:27   0:00 xfce4-power-manager
dan       1463  0.0  0.9 282912  9408 ?        S    10:27   0:00 /usr/lib64/xfce4/panel/wrapper /usr/lib64/xfce4/panel/plugin
dan       1466  0.0  0.2 158824  2524 ?        S    10:27   0:00 xscreensaver -no-splash
dan       1468  0.0  1.5 521108 16128 ?        Sl   10:27   0:00 /usr/libexec/polkit-gnome-authentication-agent-1
root      1527  0.0  0.4 346108  4652 ?        Ssl  10:27   0:00 /usr/libexec/upowerd
dan       1556  0.0  0.6 479952  6196 ?        S<l  10:27   0:00 /usr/bin/pulseaudio --start
root      1619  0.0  0.4 189020  4104 ?        Ss   10:27   0:00 /usr/sbin/cupsd -f
dan       1642  0.0  0.4 400812  4804 ?        Sl   10:27   0:00 /usr/libexec/gvfs-udisks2-volume-monitor
root      1646  0.0  0.6 362492  6412 ?        Ssl  10:27   0:00 /usr/lib/udisks2/udisksd --no-debug
dan       1669  0.0  0.3 465616  3932 ?        Sl   10:27   0:00 /usr/libexec/gvfsd-trash --spawner :1.3 /org/gtk/gvfs/exec_s
dan       1677  0.5  1.8 682848 18500 ?        Sl   10:27   0:03 /usr/bin/xfce4-terminal
dan       1681  0.0  0.0   8448   724 ?        S    10:27   0:00 gnome-pty-helper
dan       1682  0.0  0.2 116128  2828 pts/0    Ss   10:27   0:00 bash
root      1715  0.0  0.4 202092  5088 pts/0    S    10:27   0:00 su -
root      1721  0.0  0.2 116008  2816 pts/0    S+   10:27   0:00 -bash
root      1987  0.0  0.3  82972  3612 ?        Ss   10:30   0:00 /usr/sbin/sshd -D
root      1991  0.0  0.4 135676  4944 ?        Ss   10:30   0:00 sshd: dan [priv]    
dan       2002  0.0  0.2 135676  2356 ?        R    10:30   0:00 sshd: dan@pts/1     
dan       2025  0.0  0.2 116016  2756 pts/1    Ss   10:30   0:00 -bash
root      2065  0.0  0.0      0     0 ?        S    10:31   0:00 [kworker/1:0]
root      2067  0.0  0.3 200376  3260 pts/1    S    10:32   0:00 su -
root      2073  0.0  0.2 116008  2740 pts/1    S    10:32   0:00 -bash
root      2123  0.0  0.2 200372  3008 pts/1    S    10:32   0:00 su -
root      2124  0.1  0.2 116140  2968 pts/1    S    10:32   0:00 -bash
root      2310  0.0  0.0      0     0 ?        S    10:36   0:00 [kworker/1:1]
root      2318  0.0  0.1 123360  1376 pts/1    R+   10:37   0:00 ps aux
 
[root@ack ~]# ps aux | grep lightdm
root       692  0.0  0.3 271824  3376 ?        SLsl 10:26   0:00 /usr/sbin/lightdm
root       696  0.8  4.4 290644 45812 tty1     Ssl+ 10:26   0:07 /usr/bin/X -background none :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt1 -novtswitch
lightdm    921  0.0  0.2  44396  2352 ?        Ss   10:26   0:00 /usr/lib/systemd/systemd --user
lightdm    931  0.0  0.4  73892  4496 ?        S    10:26   0:00 (sd-pam)                                                          
lightdm    947  0.0  0.0  16032   464 ?        S    10:26   0:00 dbus-launch --autolaunch 95e7ab2b59bb4e1da8b08cc1f778e775 --binary-syntax --close-stderr
lightdm    953  0.0  0.1  34768  1148 ?        Ssl  10:26   0:00 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
lightdm    958  0.0  0.3 339784  3224 ?        Sl   10:26   0:00 /usr/libexec/at-spi-bus-launcher
lightdm    968  0.0  0.1  34632  1684 ?        Sl   10:26   0:00 /bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
lightdm    975  0.0  0.3 129616  3396 ?        Sl   10:26   0:00 /usr/libexec/at-spi2-registryd --use-gnome-session
root      1152  0.0  0.4 191992  4352 ?        Sl   10:26   0:00 lightdm --session-child 12 19
root      2322  0.0  0.0 112668   980 pts/1    S+   10:42   0:00 grep --color=auto lightdm

top: a very useful command that allows you to see what the top cpu users (by default) are. Run top to get the output below, hit "q" to quit top:

top - 10:43:25 up 16 min,  3 users,  load average: 0.00, 0.01, 0.05
Tasks: 142 total,   1 running, 141 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.3 sy,  0.0 ni, 99.5 id,  0.0 wa,  0.0 hi,  0.2 si,  0.0 st
KiB Mem:   1018916 total,   709600 used,   309316 free,    26280 buffers
KiB Swap:  2129916 total,        0 used,  2129916 free,   414740 cached
 
  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                  
 1410 dan       20   0  206836   1520    980 S   1.0  0.1   0:06.77 VBoxClient                                               
   10 root      rt   0       0      0      0 S   0.3  0.0   0:00.04 watchdog/0                                               
  696 root      20   0  290644  45812  10668 S   0.3  4.5   0:07.59 X                                                        
    1 root      20   0   51088   7496   2544 S   0.0  0.7   0:01.77 systemd                                                  
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kthreadd                                                 
    3 root      20   0       0      0      0 S   0.0  0.0   0:00.38 ksoftirqd/0                                              
    5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:0H                                             
    7 root      rt   0       0      0      0 S   0.0  0.0   0:00.03 migration/0                                              
    8 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcu_bh                                                   
    9 root      20   0       0      0      0 S   0.0  0.0   0:01.17 rcu_sched                                                
   11 root      rt   0       0      0      0 S   0.0  0.0   0:00.04 watchdog/1                                               
   12 root      rt   0       0      0      0 S   0.0  0.0   0:00.03 migration/1                                              
   13 root      20   0       0      0      0 S   0.0  0.0   0:00.11 ksoftirqd/1                                              
   15 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/1:0H                                             
   16 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 khelper                                                  
   17 root      20   0       0      0      0 S   0.0  0.0   0:00.01 kdevtmpfs                                                
   18 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 netns                                                    
   19 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 writeback                                                
   20 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kintegrityd                                              
   21 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 bioset                                                   
   22 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kblockd                                                  
   23 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 ata_sff                                                  
   24 root      20   0       0      0      0 S   0.0  0.0   0:00.00 khubd                                                    
   25 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 md                                                       
   26 root      20   0       0      0      0 S   0.0  0.0   0:00.83 kworker/0:1                                              
   29 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kswapd0                                                  
   30 root      25   5       0      0      0 S   0.0  0.0   0:00.00 ksmd                                                     
   31 root      39  19       0      0      0 S   0.0  0.0   0:00.01 khugepaged                                               
   32 root      20   0       0      0      0 S   0.0  0.0   0:00.03 fsnotify_mark                                            
   33 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 crypto                                                   
   43 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kthrotld                                                 
   45 root      20   0       0      0      0 S   0.0  0.0   0:00.00 scsi_eh_0                                                
   46 root      20   0       0      0      0 S   0.0  0.0   0:00.00 scsi_eh_1                                                
   47 root      20   0       0      0      0 S   0.0  0.0   0:00.00 scsi_eh_2                                                
   48 root      20   0       0      0      0 S   0.0  0.0   0:00.01 kworker/u4:2                                             
   50 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kpsmoused                                                
   51 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kworker/0:2                                              
   52 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 deferwq

htop: many times you have to install this from the package manager, but I like htop better then top, its pretty ^.^

  1  [|                                               0.7%]     Tasks: 85, 75 thr; 1 running
  2  [|                                               0.6%]     Load average: 0.00 0.01 0.05 
  Mem[||||||||||||||||||||||||||||||||||||||     263/995MB]     Uptime: 00:18:39
  Swp[                                            0/2079MB]
 
  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
 2324 root       20   0  117M  2300  1400 R  0.5  0.2  0:00.15 htop
 1410 dan        20   0  201M  1520   980 S  0.7  0.1  0:07.58 /usr/bin/VBoxClient --draganddrop
 1444 dan        20   0  522M 15544 11048 S  0.0  1.5  0:01.40 xfce4-panel --display :0.0 --sm-client-id 26de7a858-9b81-4202-
    1 root	 20   0 51088  7496  2544 S  0.0  0.7  0:01.77 /usr/lib/systemd/systemd --switched-root --system --deserializ
  399 root	 20   0 59568  8700  8356 S  0.0  0.9  0:00.57 /usr/lib/systemd/systemd-journald
  409 root	 20   0  100M  3780   788 S  0.0  0.4  0:00.00 /usr/sbin/lvmetad
  420 root	 20   0 42724  2348  1412 S  0.0  0.2  0:00.12 /usr/lib/systemd/systemd-udevd
  524 root	 16  -4 51168  1604  1228 S  0.0  0.2  0:00.05 /sbin/auditd -n
  518 root	 16  -4 51168  1604  1228 S  0.0  0.2  0:00.15 /sbin/auditd -n
  533 root       39  19 16764  1228  1004 S  0.0  0.1  0:00.00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/al
 1195 root	 20   0  319M 20776  6280 S  0.0  2.0  0:00.00 /usr/bin/python /usr/sbin/firewalld --nofork --nopid
  537 root	 20   0  319M 20776  6280 S  0.0  2.0  0:00.89 /usr/bin/python /usr/sbin/firewalld --nofork --nopid
  606 rtkit      20   0  160M  1272  1072 S  0.0  0.1  0:00.06 /usr/libexec/rtkit-daemon
  607 rtkit      RT   1  160M  1272  1072 S  0.0  0.1  0:00.02 /usr/libexec/rtkit-daemon
  545 rtkit      21   1  160M  1272  1072 S  0.0  0.1  0:00.10 /usr/libexec/rtkit-daemon
  572 root	 20   0  359M  3420  2784 S  0.1  0.3  0:00.16 /usr/libexec/accounts-daemon
  604 root       20   0  359M  3420  2784 S  0.0  0.3  0:00.01 /usr/libexec/accounts-daemon
  546 root	 20   0  359M  3420  2784 S  0.0  0.3  0:00.24 /usr/libexec/accounts-daemon
  549 root	 20   0 26544  2304  1668 S  0.0  0.2  0:00.03 /usr/sbin/smartd -n -q never
  553 chrony     20   0 24736  1300  1052 S  0.0  0.1  0:00.04 /usr/sbin/chronyd -u chrony
  578 root	 20   0  365M  4428  3732 S  0.0  0.4  0:00.09 /sbin/rsyslogd -n
  579 root	 20   0  365M  4428  3732 S  0.0  0.4  0:00.00 /sbin/rsyslogd -n
  581 root	 20   0  365M  4428  3732 S  0.0  0.4  0:00.05 /sbin/rsyslogd -n
  554 root	 20   0  365M  4428  3732 S  0.0  0.4  0:00.18 /sbin/rsyslogd -n
  569 root	 20   0  318M  4488  3424 S  0.0  0.4  0:00.00 /usr/sbin/ModemManager
  605 root	 20   0  318M  4488  3424 S  0.0  0.4  0:00.00 /usr/sbin/ModemManager
  555 root	 20   0  318M  4488  3424 S  0.0  0.4  0:00.02 /usr/sbin/ModemManager
  558 root	 20   0 19136  1144   932 S  0.0  0.1  0:00.21 /usr/sbin/irqbalance --foreground
  560 avahi      20   0 28080  1824  1536 S  0.0  0.2  0:00.12 avahi-daemon: running [linux-2.local]
  561 root	 20   0 34856  1784  1452 S  0.0  0.2  0:00.06 /usr/lib/systemd/systemd-logind
  603 dbus       20   0 35556  2416  1428 S  0.0  0.2  0:00.00 /bin/dbus-daemon --system --address=systemd: --nofork --nopidf
  562 dbus       20   0 35556  2416  1428 S  0.2  0.2  0:00.86 /bin/dbus-daemon --system --address=systemd: --nofork --nopidf
  566 root	 20   0  123M  1680  1048 S  0.0  0.2  0:00.33 /usr/sbin/crond -n
  567 root	 20   0 25940   976   780 S  0.0  0.1  0:00.00 /usr/sbin/atd -f
  573 rpc        20   0 39912  1124   700 S  0.0  0.1  0:00.03 /sbin/rpcbind -w
  580 avahi      20   0 27952   228     0 S  0.0  0.0  0:00.00 avahi-daemon: chroot helper
  589 root	 20   0  6476   868   744 S  0.0  0.1  0:00.00 /usr/sbin/mcelog --ignorenodev --daemon --foreground
F1Help  F2Setup F3SearchF4FilterF5Tree  F6SortByF7Nice -F8Nice +F9Kill  F10Quit

kill -9 <PID> : this command allows you to terminate a running commmand, the -9 is only one of many termination signals you can provide, generally you use the command as `kill PID` where PID is the Process ID. The -9 is a nastier version of kill and you should only use that after kill PID has failed.

xkill : this is an X version of kill, you type xkill on a terminal, then your cursor changes, you click a window and it terminates

[dan@ack ~]$ ps aux | grep sleep
dan      25621  0.0  0.0 107892   500 pts/0    S    16:53   0:00 sleep 60
dan      25623  0.0  0.0 112664   920 pts/0    S+   16:53   0:00 grep --color=auto sleep
[dan@ack ~]$ kill 25621
[1]+  Terminated              sleep 60
[dan@ack ~]$ ps aux | grep sleep
dan      25625  0.0  0.0 112664   920 pts/0    S+   16:53   0:00 grep --color=auto sleep

bash, man and kernel messages

bash: bash is the bourne again shell, and is the default for most linux distributions. It is the environment we execute all of the commands here out of and has its own scripting language that is quite robust.

man: manual command, if you need to see a manual on something (VERY useful command in linux) you simply 'man' it, so to get bash's manual, you run `man bash`

## snippet of bash manual page ##
BASH(1)                                          General Commands Manual                                          BASH(1)
 
NAME
       bash - GNU Bourne-Again SHell
 
SYNOPSIS
       bash [options] [file]
 
COPYRIGHT
       Bash is Copyright (C) 1989-2011 by the Free Software Foundation, Inc.
 
DESCRIPTION
       Bash  is an sh-compatible command language interpreter that executes commands read from the standard input or from
       a file.  Bash also incorporates useful features from the Korn and C shells (ksh and csh).
 
       Bash is intended to be a conformant implementation of the Shell and Utilities portion of the IEEE POSIX specifica‐
       tion (IEEE Standard 1003.1).  Bash can be configured to be POSIX-conformant by default.
 
OPTIONS
       All of the  single-character shell options documented in the description of the set builtin command can be used as
       options when the shell is invoked.  In addition, bash interprets the following options when it is invoked:
 
       -c string If the -c option is present, then commands are read from string.   If  there  are  arguments  after  the
                 string, they are assigned to the positional parameters, starting with $0.
       -i        If the -i option is present, the shell is interactive.
       -l        Make bash act as if it had been invoked as a login shell (see INVOCATION below).
       -r        If the -r option is present, the shell becomes restricted (see RESTRICTED SHELL below).
       -s        If  the  -s option is present, or if no arguments remain after option processing, then commands are read
                 from the standard input.  This option allows the positional parameters to be set when invoking an inter‐
                 active shell.
       -D        A  list  of  all  double-quoted  strings preceded by $ is printed on the standard output.  These are the
                 strings that are subject to language translation when the current  locale  is  not  C  or  POSIX.   This
                 implies the -n option; no commands will be executed.
       [-+]O [shopt_option]
                 shopt_option  is  one  of  the  shell  options accepted by the shopt builtin (see SHELL BUILTIN COMMANDS
                 below).  If shopt_option is present, -O sets the value of that option; +O unsets it.  If shopt_option is
                 not  supplied,  the  names and values of the shell options accepted by shopt are printed on the standard
                 output.  If the invocation option is +O, the output is displayed in a  format  that  may  be  reused  as
                 input.
       --        A  -- signals the end of options and disables further option processing.  Any arguments after the -- are
                 treated as filenames and arguments.  An argument of - is equivalent to --.
 
       Bash also interprets a number of multi-character options.  These options must appear on the  command  line  before
       the single-character options to be recognized.
 Manual page bash(1) line 1 (press h for help or q to quit)

dmesg: dmesg allows you to see the kernel system messages since the system booted. This too can be put through grep using a | so you can try to find particular patterns.

[root@ack ~]# dmesg | grep ACPI
[    0.000000] BIOS-e820: [mem 0x000000003fff0000-0x000000003fffffff] ACPI data
[    0.000000] ACPI: RSDP 00000000000e0000 00024 (v02 VBOX  )
[    0.000000] ACPI: XSDT 000000003fff0030 0003C (v01 VBOX   VBOXXSDT 00000001 ASL  00000061)
[    0.000000] ACPI: FACP 000000003fff00f0 000F4 (v04 VBOX   VBOXFACP 00000001 ASL  00000061)
[    0.000000] ACPI: DSDT 000000003fff0470 01B96 (v01 VBOX   VBOXBIOS 00000002 INTL 20100528)
[    0.000000] ACPI: FACS 000000003fff0200 00040
[    0.000000] ACPI: APIC 000000003fff0240 0005C (v02 VBOX   VBOXAPIC 00000001 ASL  00000061)
[    0.000000] ACPI: SSDT 000000003fff02a0 001CC (v01 VBOX   VBOXCPUT 00000002 INTL 20100528)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: PM-Timer IO Port: 0x4008
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.011745] ACPI: Core revision 20130725
[    0.012401] ACPI: All ACPI Tables successfully acquired
[    0.047874] ACPI: bus type PCI registered
[    0.047878] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.050022] ACPI: Added _OSI(Module Device)
[    0.050022] ACPI: Added _OSI(Processor Device)
[    0.050022] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.050022] ACPI: Added _OSI(Processor Aggregator Device)
[    0.050022] ACPI: EC: Look up EC in DSDT
[    0.050022] ACPI: Executed 1 blocks of module-level executable AML code
[    0.051772] ACPI: Interpreter enabled
[    0.051780] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20130725/hwxface-571)
[    0.051786] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20130725/hwxface-571)
[    0.051790] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_] (20130725/hwxface-571)
[    0.051794] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S4_] (20130725/hwxface-571)
[    0.051808] ACPI: (supports S0 S5)
[    0.051812] ACPI: Using IOAPIC for interrupt routing
[    0.053016] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
[    0.053054] ACPI: No dock devices found.
[    0.055191] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.055198] acpi PNP0A03:00: ACPI _OSC support notification failed, disabling PCIe ASPM
[    0.133400] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 9 10 *11)
[    0.134202] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 9 10 *11)
[    0.134441] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 9 *10 11)
[    0.134690] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 *9 10 11)
[    0.134951] ACPI: Enabled 1 GPEs in block 00 to 07
[    0.135038] ACPI: \_SB_.PCI0: notify handler is installed
[    0.137265] ACPI: bus type USB registered
[    0.138279] PCI: Using ACPI for IRQ routing
[    0.159058] pnp: PnP ACPI init
[    0.159079] ACPI: bus type PNP registered
[    0.159175] pnp 00:00: Plug and Play ACPI device, IDs PNP0303 (active)
[    0.159205] pnp 00:01: Plug and Play ACPI device, IDs PNP0200 (active)
[    0.159283] pnp 00:02: Plug and Play ACPI device, IDs PNP0f03 (active)
[    0.159334] pnp 00:03: Plug and Play ACPI device, IDs PNP0400 (active)
[    0.159874] pnp: PnP ACPI: found 4 devices
[    0.159878] ACPI: bus type PNP unregistered
[    0.367893] ACPI: AC Adapter [AC] (on-line)
[    0.367995] ACPI: Power Button [PWRF]
[    0.368111] ACPI: Sleep Button [SLPF]
[    0.369464] ACPI: Battery Slot [BAT0] (battery present)
[    3.108265] parport_pc 00:03: reported by Plug and Play ACPI

super user and adding/removing users

su - : substitute user, in this context it switches from whatever user you currently are to the 'super user' or 'root', the - sources the target user's profile and is usually desirable.

important note about the root user: root is GOD on the system and can do ANYTHING, that being said, only run it when you are doing system administrative tasks, do not (DO NOT) ((DO NOT)) run applications (ie: apache, ftpd, firefox, X, ect) as this user, if that application is compromised, you will be handing the attacker root level access to your machine and thats it. This is an important concept to understand, DO NOT RUN APPLICATIONS AS ROOT UNESSARILY!

[dan@ack ~]$ su -
Password: 
Last login: Wed Jan 15 10:32:27 EST 2014 on pts/1
[root@ack ~]#

useradd -m <username> : This is the command you use to create a user, the -m flag is generally used to create the user's home directory so you should almost always use it.

passwd <username> : This command changes the password of the specified user, root can use it as `passwd <username>` but users can only execute `password` and are unable to change the password of other users (for obvious reasons)

userdel -r <username> : This command removes a user from the system, the -r flag removes the user's home directory which you may or may not want to do, depending on case.

[root@ack ~]# useradd -m bob
[root@ack ~]# cat /etc/passwd | grep bob
bob:x:1001:1001::/home/bob:/bin/bash
[root@ack ~]# passwd bob  ##I am creating the password 'foo' for bob, you can see that the password utility does not like that but allows it since I'm root.
Changing password for user bob.
New password: 
BAD PASSWORD: The password is shorter than 8 characters
Retype new password: 
passwd: all authentication tokens updated successfully.
[root@ack ~]# cat /etc/shadow | grep bob
bob:$6$2twFLKjB$n4ogJG9GCunhoxAXPxcqrSKDTQbHCDysii5HHqWqyIAtjS/bETSWW685cDHXndMLGCyurPsVJEozl3Be.It3n/:16085:0:99999:7:::
[root@ack ~]# userdel -r bob
[root@ack ~]# cat /etc/passwd | grep bob
[root@ack ~]#

essential user files

/etc/passwd : the user database, this is where the users and their information is held, defines UIDs (User ID) and primary GID (Group ID)

/etc/shadow : the password database, this is only readable as root, and holds the hashed passwords of all of the system's users. Do not make this public if you want to keep your password safe

/etc/group : the group file, defines the groups and their GID (Group ID) as well as members of secondary groups

[root@ack ~]# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
avahi-autoipd:x:170:170:Avahi IPv4LL Stack:/var/lib/avahi-autoipd:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
polkitd:x:999:998:User for polkitd:/:/sbin/nologin
rtkit:x:172:172:RealtimeKit:/proc:/sbin/nologin
chrony:x:998:997::/var/lib/chrony:/sbin/nologin
usbmuxd:x:113:113:usbmuxd user:/:/sbin/nologin
rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin
openvpn:x:997:996:OpenVPN:/etc/openvpn:/sbin/nologin
avahi:x:70:70:Avahi mDNS/DNS-SD Stack:/var/run/avahi-daemon:/sbin/nologin
pulse:x:996:995:PulseAudio System Daemon:/var/run/pulse:/sbin/nologin
lightdm:x:995:993::/var/lib/lightdm:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
colord:x:994:992:User for colord:/var/lib/colord:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
tcpdump:x:72:72::/:/sbin/nologin
dan:x:1000:1000:dan:/home/dan:/bin/bash
vboxadd:x:993:1::/var/run/vboxadd:/bin/false
[root@ack ~]# cat /etc/shadow
root:$6$HPXYdNMH$SU3tMrr2eXoPNNbAxWS3lljxODJVl/O4.LEguMCrzx5W3fNuRBIW018kEFWc3YOiY4iLxvsB/gl5kCrMVCwjk0:16085:0:99999:7:::
bin:*:15921:0:99999:7:::
daemon:*:15921:0:99999:7:::
adm:*:15921:0:99999:7:::
lp:*:15921:0:99999:7:::
sync:*:15921:0:99999:7:::
shutdown:*:15921:0:99999:7:::
halt:*:15921:0:99999:7:::
mail:*:15921:0:99999:7:::
operator:*:15921:0:99999:7:::
games:*:15921:0:99999:7:::
ftp:*:15921:0:99999:7:::
nobody:*:15921:0:99999:7:::
avahi-autoipd:!!:16051::::::
dbus:!!:16051::::::
polkitd:!!:16051::::::
rtkit:!!:16051::::::
chrony:!!:16051::::::
usbmuxd:!!:16051::::::
rpc:!!:16051:0:99999:7:::
openvpn:!!:16051::::::
avahi:!!:16051::::::
pulse:!!:16051::::::
lightdm:!!:16051::::::
rpcuser:!!:16051::::::
nfsnobody:!!:16051::::::
colord:!!:16051::::::
sshd:!!:16051::::::
tcpdump:!!:16051::::::
dan:$6$CapDCUgd$JtDRg9COQbXy9JTctkc00ROiEhGgyh.v/JlOF6HI76fgfPgV5Zdz7XoxRbi2q6.TKRbQK9EGdI7d60omYzYIq1:16085:0:99999:7:::
vboxadd:!!:16084::::::
[root@ack ~]# cat /etc/group
root:x:0:
bin:x:1:
daemon:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mem:x:8:
kmem:x:9:
wheel:x:10:
cdrom:x:11:
mail:x:12:
man:x:15:
dialout:x:18:
floppy:x:19:
games:x:20:
tape:x:30:
video:x:39:
ftp:x:50:
lock:x:54:
audio:x:63:
nobody:x:99:
users:x:100:
utmp:x:22:
utempter:x:35:
avahi-autoipd:x:170:
ssh_keys:x:999:
systemd-journal:x:190:
dbus:x:81:
polkitd:x:998:
dip:x:40:
slocate:x:21:
rtkit:x:172:
chrony:x:997:
usbmuxd:x:113:
rpc:x:32:
openvpn:x:996:
avahi:x:70:
pulse:x:995:
pulse-access:x:994:
lightdm:x:993:
rpcuser:x:29:
nfsnobody:x:65534:
colord:x:992:
sshd:x:74:
tcpdump:x:72:
dan:x:1000:dan
vboxsf:x:991:

absolute / relative directories, permissions

absolute path : This is the path of the object you are accessing from root (/) down

relative path : This is the path of the object you are accessing from where you are currently ./

[root@ack foo]# ls -lh
total 4.0K
drwxr-xr-x. 2 root root 4.0K Jan 15 11:21 bar
[root@ack foo]# pwd
/root/foo
[root@ack foo]# ls -l /root/foo/bar  ## a directory listing using an absolute path
total 0
-rw-r--r--. 1 root root 0 Jan 15 11:21 1
-rw-r--r--. 1 root root 0 Jan 15 11:21 2
-rw-r--r--. 1 root root 0 Jan 15 11:21 3
[root@ack foo]# ls -l bar/  ## another listing using a relative path this time
total 0
-rw-r--r--. 1 root root 0 Jan 15 11:21 1
-rw-r--r--. 1 root root 0 Jan 15 11:21 2
-rw-r--r--. 1 root root 0 Jan 15 11:21 3
[root@ack foo]# ls -l ../foo/bar ## relative path
total 0
-rw-r--r--. 1 root root 0 Jan 15 11:21 1
-rw-r--r--. 1 root root 0 Jan 15 11:21 2
-rw-r--r--. 1 root root 0 Jan 15 11:21 3

tilde (~) : in bash the ~ indicates 'home' for a user, if you do `cd ~/foo` it would take you to your homedir/foo. This is usable for users too, if I wanted to go to dan's home, and I am not dan, I can do cd ~dan

[root@ack foo]# cd ~dan
[root@ack dan]# pwd
/home/dan
[root@ack dan]# cd ~/foo
[root@ack foo]# pwd
/root/foo

chown user:group <file/directory> : change owner, usually you'll be doing this as root, but in some cases you can do this as a user. If you want to change ownership either user or group, of a file or directory, you use chown

chmod ### <file/directory> : change mode, or permission set. First # is user, second # is group, third # is other. The # is a number between 0 and 7 built by adding the values for read (4), write (2) and execute (1), so for instance read+write would be 6, or read+execute would be 5

[root@ack foo]# ls -lh
total 4.0K
-rw-r--r--. 1 root root    0 Jan 15 11:29 1
-rw-r--r--. 1 root root    0 Jan 15 11:29 2
-rw-r--r--. 1 root root    0 Jan 15 11:29 3
-rw-r--r--. 1 root root    0 Jan 15 11:29 4
drwxr-xr-x. 2 root root 4.0K Jan 15 11:21 bar
[root@ack foo]# chown dan:dan 1
[root@ack foo]# chown dan:nobody 2
[root@ack foo]# chown dan 3
[root@ack foo]# chown :nobody 4
[root@ack foo]# ls -lh
total 4.0K
-rw-r--r--. 1 dan  dan       0 Jan 15 11:29 1
-rw-r--r--. 1 dan  nobody    0 Jan 15 11:29 2
-rw-r--r--. 1 dan  root      0 Jan 15 11:29 3
-rw-r--r--. 1 root nobody    0 Jan 15 11:29 4
drwxr-xr-x. 2 root root   4.0K Jan 15 11:21 bar
[root@ack foo]# chmod 777 1
[root@ack foo]# chmod 755 2
[root@ack foo]# chmod 543 3
[root@ack foo]# chmod 500 4
[root@ack foo]# ls -lh
total 4.0K
-rwxrwxrwx. 1 dan  dan       0 Jan 15 11:29 1
-rwxr-xr-x. 1 dan  nobody    0 Jan 15 11:29 2
-r-xr---wx. 1 dan  root      0 Jan 15 11:29 3
-r-x------. 1 root nobody    0 Jan 15 11:29 4
drwxr-xr-x. 2 root root   4.0K Jan 15 11:21 bar

ip addr and ifconfig

ip addr : `ip` is a command that is replacing many of the network utilities in linux, including ifconfig. `ip addr` is how you can see ip information for your machine

ifconfig -a : ifconfig is the old tool, still available on most distributions, that allows you to configure and view network interfaces. the -a flag shows all interfaces (inactive as well)

yum

yum <command> <variable> : yellow dog updater modified is the updater and installer tool for fedora/redhat/centos/oracle linux branches that is a wrapper for the rpm structure known as RedHat Package Manager

yum install <package> : install a package from the repository

yum remove <package> : remove a pacakge from the local machine that was installed by yum

yum search <search term> : search the repositories for a term

yum grouplist : list package groups that are installed and are available for install

yum groupinstall "<groupname>" : allows you to install a group of packages

[root@ack foo]# yum update
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package cifs-utils.x86_64 0:6.2-5.fc20 will be updated
---> Package cifs-utils.x86_64 0:6.3-1.fc20 will be an update
---> Package device-mapper-multipath.x86_64 0:0.4.9-55.fc20 will be updated
---> Package device-mapper-multipath.x86_64 0:0.4.9-56.fc20 will be an update
---> Package device-mapper-multipath-libs.x86_64 0:0.4.9-55.fc20 will be updated
---> Package device-mapper-multipath-libs.x86_64 0:0.4.9-56.fc20 will be an update
---> Package firewall-config.noarch 0:0.3.8-1.fc20 will be updated
---> Package firewall-config.noarch 0:0.3.9-1.fc20 will be an update
---> Package firewalld.noarch 0:0.3.8-1.fc20 will be updated
---> Package firewalld.noarch 0:0.3.9-1.fc20 will be an update
---> Package kpartx.x86_64 0:0.4.9-55.fc20 will be updated
---> Package kpartx.x86_64 0:0.4.9-56.fc20 will be an update
---> Package microcode_ctl.x86_64 2:2.1-1.fc20 will be updated
---> Package microcode_ctl.x86_64 2:2.1-2.fc20 will be an update
---> Package nettle.x86_64 0:2.6-3.fc20 will be updated
---> Package nettle.x86_64 0:2.7.1-3.fc20 will be an update
---> Package xscreensaver-base.x86_64 1:5.26-1.fc20 will be updated
---> Package xscreensaver-base.x86_64 1:5.26-2.fc20 will be an update
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=============================================================================================================================
 Package                                     Arch                  Version                      Repository              Size
=============================================================================================================================
Updating:
 cifs-utils                                  x86_64                6.3-1.fc20                   updates                 84 k
 device-mapper-multipath                     x86_64                0.4.9-56.fc20                updates                104 k
 device-mapper-multipath-libs                x86_64                0.4.9-56.fc20                updates                197 k
 firewall-config                             noarch                0.3.9-1.fc20                 updates                 99 k
 firewalld                                   noarch                0.3.9-1.fc20                 updates                467 k
 kpartx                                      x86_64                0.4.9-56.fc20                updates                 48 k
 microcode_ctl                               x86_64                2:2.1-2.fc20                 updates                447 k
 nettle                                      x86_64                2.7.1-3.fc20                 updates                325 k
 xscreensaver-base                           x86_64                1:5.26-2.fc20                updates                425 k
 
Transaction Summary
=============================================================================================================================
Upgrade  9 Packages
 
Total download size: 2.1 M
Is this ok [y/d/N]: y
Downloading packages:
updates/20/x86_64/prestodelta                                                                         | 1.2 MB  00:00:05     
Delta RPMs reduced 2.0 M of updates to 839 k (58% saved)
(1/9): cifs-utils-6.2-5.fc20_6.3-1.fc20.x86_64.drpm                                                   |  61 kB  00:00:00     
(2/9): microcode_ctl-2.1-1.fc20_2.1-2.fc20.x86_64.drpm                                                |  69 kB  00:00:00     
(3/9): firewall-config-0.3.8-1.fc20_0.3.9-1.fc20.noarch.drpm                                          |  39 kB  00:00:00     
(4/9): firewalld-0.3.8-1.fc20_0.3.9-1.fc20.noarch.drpm                                                | 190 kB  00:00:01     
(5/9): kpartx-0.4.9-56.fc20.x86_64.rpm                                                                |  48 kB  00:00:00     
(6/9): nettle-2.6-3.fc20_2.7.1-3.fc20.x86_64.drpm                                                     | 185 kB  00:00:00     
(7/9): device-mapper-multipath-0.4.9-56.fc20.x86_64.rpm                                               | 104 kB  00:00:00     
(8/9): xscreensaver-base-5.26-1.fc20_5.26-2.fc20.x86_64.drpm                                          | 220 kB  00:00:01     
(9/9): device-mapper-multipath-libs-0.4.9-55.fc20_0.4.9-56.fc20.x86_64.drpm                           |  75 kB  00:00:02     
Finishing delta rebuilds of 1 package(s) (197 k)
-----------------------------------------------------------------------------------------------------------------------------
Total                                                                                        339 kB/s | 991 kB  00:00:02     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : device-mapper-multipath-libs-0.4.9-56.fc20.x86_64                                                        1/18 
  Updating   : kpartx-0.4.9-56.fc20.x86_64                                                                              2/18 
  Updating   : firewalld-0.3.9-1.fc20.noarch                                                                            3/18 
  Updating   : firewall-config-0.3.9-1.fc20.noarch                                                                      4/18 
  Updating   : device-mapper-multipath-0.4.9-56.fc20.x86_64                                                             5/18 
  Updating   : 1:xscreensaver-base-5.26-2.fc20.x86_64                                                                   6/18 
  Updating   : nettle-2.7.1-3.fc20.x86_64                                                                               7/18 
  Updating   : cifs-utils-6.3-1.fc20.x86_64                                                                             8/18 
  Updating   : 2:microcode_ctl-2.1-2.fc20.x86_64                                                                        9/18 
  Cleanup    : device-mapper-multipath-0.4.9-55.fc20.x86_64                                                            10/18 
  Cleanup    : firewall-config-0.3.8-1.fc20.noarch                                                                     11/18 
  Cleanup    : firewalld-0.3.8-1.fc20.noarch                                                                           12/18 
  Cleanup    : device-mapper-multipath-libs-0.4.9-55.fc20.x86_64                                                       13/18 
  Cleanup    : kpartx-0.4.9-55.fc20.x86_64                                                                             14/18 
  Cleanup    : 1:xscreensaver-base-5.26-1.fc20.x86_64                                                                  15/18 
  Cleanup    : nettle-2.6-3.fc20.x86_64                                                                                16/18 
  Cleanup    : cifs-utils-6.2-5.fc20.x86_64                                                                            17/18 
  Cleanup    : 2:microcode_ctl-2.1-1.fc20.x86_64                                                                       18/18 
  Verifying  : 2:microcode_ctl-2.1-2.fc20.x86_64                                                                        1/18 
  Verifying  : firewalld-0.3.9-1.fc20.noarch                                                                            2/18 
  Verifying  : device-mapper-multipath-0.4.9-56.fc20.x86_64                                                             3/18 
  Verifying  : cifs-utils-6.3-1.fc20.x86_64                                                                             4/18 
  Verifying  : kpartx-0.4.9-56.fc20.x86_64                                                                              5/18 
  Verifying  : device-mapper-multipath-libs-0.4.9-56.fc20.x86_64                                                        6/18 
  Verifying  : nettle-2.7.1-3.fc20.x86_64                                                                               7/18 
  Verifying  : firewall-config-0.3.9-1.fc20.noarch                                                                      8/18 
  Verifying  : 1:xscreensaver-base-5.26-2.fc20.x86_64                                                                   9/18 
  Verifying  : 1:xscreensaver-base-5.26-1.fc20.x86_64                                                                  10/18 
  Verifying  : cifs-utils-6.2-5.fc20.x86_64                                                                            11/18 
  Verifying  : 2:microcode_ctl-2.1-1.fc20.x86_64                                                                       12/18 
  Verifying  : device-mapper-multipath-libs-0.4.9-55.fc20.x86_64                                                       13/18 
  Verifying  : firewall-config-0.3.8-1.fc20.noarch                                                                     14/18 
  Verifying  : kpartx-0.4.9-55.fc20.x86_64                                                                             15/18 
  Verifying  : device-mapper-multipath-0.4.9-55.fc20.x86_64                                                            16/18 
  Verifying  : firewalld-0.3.8-1.fc20.noarch                                                                           17/18 
  Verifying  : nettle-2.6-3.fc20.x86_64                                                                                18/18 
 
Updated:
  cifs-utils.x86_64 0:6.3-1.fc20                                  device-mapper-multipath.x86_64 0:0.4.9-56.fc20            
  device-mapper-multipath-libs.x86_64 0:0.4.9-56.fc20             firewall-config.noarch 0:0.3.9-1.fc20                     
  firewalld.noarch 0:0.3.9-1.fc20                                 kpartx.x86_64 0:0.4.9-56.fc20                             
  microcode_ctl.x86_64 2:2.1-2.fc20                               nettle.x86_64 0:2.7.1-3.fc20                              
  xscreensaver-base.x86_64 1:5.26-2.fc20                         
 
Complete!
[root@ack foo]# yum search vim
Loaded plugins: langpacks
===================================================== N/S matched: vim ======================================================
vim-command-t.x86_64 : An extremely fast, intuitive mechanism for opening files in VIM
vim-latex.noarch : Tools to view, edit and compile LaTeX documents in Vim
vim-taglist.noarch : The taglist plugin for VIM editor
vim-vimoutliner.noarch : Script for building an outline editor on top of Vim
apvlv.x86_64 : PDF viewer which behaves like Vim
eclipse-vrapper.noarch : Vim-like editing in Eclipse
fluxbox-vim-syntax.noarch : Fluxbox syntax scripts for vim
gap-vim.noarch : Edit GAP files with VIM
golang-vim.noarch : Vim plugins for Go
perl-Text-VimColor.noarch : Syntax color text in HTML or XML using Vim
protobuf-vim.x86_64 : Vim syntax highlighting for Google Protocol Buffers descriptions
svni-vim.noarch : Vim syntax highlighting file for Subversion interactive check-in wrapper
syntastic.noarch : A vim plugins to check syntax for programming languages
texlive-context-vim.noarch : Generate Context syntax highlighting code from vim
texlive-context-vim-doc.noarch : Documentation for context-vim
uzbl-vim.x86_64 : Vim highlighting for uzbl's config
vim-X11.x86_64 : The VIM version of the vi editor for the X Window System
vim-clustershell.noarch : VIM files for ClusterShell
vim-common.x86_64 : The common files needed by any version of the VIM editor
vim-enhanced.x86_64 : A version of the VIM editor which includes recent enhancements
vim-filesystem.x86_64 : VIM filesystem layout
vim-javabrowser.noarch : The javabrowser plugin for VIM editor
vim-jedi.noarch : The Jedi vim plugin
vim-latex-doc.noarch : Documentation for vim-latex
vim-minimal.x86_64 : A minimal version of the VIM editor
vim-nerdtree.noarch : A tree explorer plugin for the editor Vim
vim-perl-support.noarch : Perl-IDE for VIM
vim-plugin-powerline.noarch : Powerline VIM plugin
vim-pysmell.noarch : Python autocompletion for vim
vim-rnv.noarch : Vim plugin for validating XML files against Relax NG Compact schemas using RNV
vimpal.x86_64 : Separate application providing a file tree for VIM
wklej-vim.noarch : A wklej.org submitter plugin for vim
cclive.x86_64 : Command line video extraction utility
dwb.x86_64 : Dynamic web browser based on WebKit and GTK+
fourterm.x86_64 : Lightweight split-screen terminal emulator with vim key mappings
nvi.x86_64 : 4.4BSD re-implementation of vi
vifm.x86_64 : Lightweight file manager with vi like key-bindings
vile-common.x86_64 : The common files needed by any version of the VIM editor
vim-halibut.noarch : Syntax file for the halibut manual tool
youtube-dl.noarch : A small command-line program to download online videos
 
  Name and summary matches only, use "search all" for everything.
[root@ack foo]# yum install vim
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package vim-enhanced.x86_64 2:7.4.027-2.fc20 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=============================================================================================================================
 Package                        Arch                     Version                              Repository                Size
=============================================================================================================================
Installing:
 vim-enhanced                   x86_64                   2:7.4.027-2.fc20                     fedora                   1.0 M
 
Transaction Summary
=============================================================================================================================
Install  1 Package
 
Total download size: 1.0 M
Installed size: 2.1 M
Is this ok [y/d/N]: y
Downloading packages:
vim-enhanced-7.4.027-2.fc20.x86_64.rpm                                                                | 1.0 MB  00:00:03     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 2:vim-enhanced-7.4.027-2.fc20.x86_64                                                                      1/1 
  Verifying  : 2:vim-enhanced-7.4.027-2.fc20.x86_64                                                                      1/1 
 
Installed:
  vim-enhanced.x86_64 2:7.4.027-2.fc20                                                                                       
 
Complete!
[root@ack foo]# yum remove vim
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package vim-enhanced.x86_64 2:7.4.027-2.fc20 will be erased
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=============================================================================================================================
 Package                        Arch                     Version                             Repository                 Size
=============================================================================================================================
Removing:
 vim-enhanced                   x86_64                   2:7.4.027-2.fc20                    @fedora                   2.1 M
 
Transaction Summary
=============================================================================================================================
Remove  1 Package
 
Installed size: 2.1 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : 2:vim-enhanced-7.4.027-2.fc20.x86_64                                                                      1/1 
  Verifying  : 2:vim-enhanced-7.4.027-2.fc20.x86_64                                                                      1/1 
 
Removed:
  vim-enhanced.x86_64 2:7.4.027-2.fc20                                                                                       
 
Complete!
[root@ack foo]# yum grouplist
Loaded plugins: langpacks
Available environment groups:
   GNOME Desktop
   KDE Plasma Workspaces
   Xfce Desktop
   LXDE Desktop
   Cinnamon Desktop
   MATE Desktop
   Sugar Desktop Environment
   Development and Creative Workstation
   Web Server
   Infrastructure Server
   Basic Desktop
   Minimal Install
Available Groups:
   3D Printing
   Administration Tools
   Authoring and Publishing
   Books and Guides
   C Development Tools and Libraries
   Cloud Infrastructure
   Design Suite
   Development Tools
   Editors
   Educational Software
   Electronic Lab
   Engineering and Scientific
   Fedora Eclipse
   FreeIPA Server
   Games and Entertainment
   LibreOffice
   Medical Applications
   Milkymist
   Network Servers
   Office/Productivity
   RPM Development Tools
   Robotics
   Security Lab
   Sound and Video
   System Tools
   Text-based Internet
   Window Managers
Done
[root@ack foo]# yum groupinstall LibreOffice
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package libreoffice-calc.x86_64 1:4.1.4.2-2.fc20 will be installed
--> Processing Dependency: libreoffice-ure = 1:4.1.4.2-2.fc20 for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libreoffice-core = 1:4.1.4.2-2.fc20 for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_salhelpergcc3.so.3(UDK_3_0_0)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_sal.so.3(UDK_3_0_0)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_sal.so.3(UDK_3.9)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_sal.so.3(UDK_3.8)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_sal.so.3(UDK_3.7)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_sal.so.3(UDK_3.6)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_sal.so.3(UDK_3.3)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_sal.so.3(UDK_3.10)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_sal.so.3(UDK_3.1)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_sal.so.3(LIBO_UDK_4.1)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_sal.so.3(LIBO_UDK_4.0)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_sal.so.3(LIBO_UDK_3.6)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_sal.so.3(LIBO_UDK_3.5)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_cppuhelpergcc3.so.3(UDK_3_0_0)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_cppuhelpergcc3.so.3(UDK_3.6)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_cppuhelpergcc3.so.3(UDK_3.1)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_cppu.so.3(UDK_3_0_0)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_cppu.so.3(UDK_3.3)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_cppu.so.3(UDK_3.1)(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libxolo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libvcllo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libvbahelperlo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libutllo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_salhelpergcc3.so.3()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_sal.so.3()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_cppuhelpergcc3.so.3()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libuno_cppu.so.3()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libucbhelper.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libtllo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libtklo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libsvxlo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libsvxcorelo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libsvtlo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libsvllo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libsotlo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libsfxlo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libsblo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libsaxlo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: liborcus-parser-0.6.so.0()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: liborcus-0.6.so.0()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libooxlo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libmsfilterlo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: liblpsolve55.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libi18nlangtag.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libfilelo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libeditenglo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libdrawinglayerlo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libdbtoolslo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libcomphelper.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libbasegfxlo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libavmedialo.so()(64bit) for package: 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64
---> Package libreoffice-draw.x86_64 1:4.1.4.2-2.fc20 will be installed
--> Processing Dependency: libreoffice-pdfimport = 1:4.1.4.2-2.fc20 for package: 1:libreoffice-draw-4.1.4.2-2.fc20.x86_64
---> Package libreoffice-emailmerge.x86_64 1:4.1.4.2-2.fc20 will be installed
--> Processing Dependency: libreoffice-pyuno = 1:4.1.4.2-2.fc20 for package: 1:libreoffice-emailmerge-4.1.4.2-2.fc20.x86_64
---> Package libreoffice-graphicfilter.x86_64 1:4.1.4.2-2.fc20 will be installed
--> Processing Dependency: libvisio-0.0.so.0()(64bit) for package: 1:libreoffice-graphicfilter-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libodfgen-0.0.so.0()(64bit) for package: 1:libreoffice-graphicfilter-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libmspub-0.0.so.0()(64bit) for package: 1:libreoffice-graphicfilter-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libcdr-0.0.so.0()(64bit) for package: 1:libreoffice-graphicfilter-4.1.4.2-2.fc20.x86_64
---> Package libreoffice-impress.x86_64 1:4.1.4.2-2.fc20 will be installed
---> Package libreoffice-math.x86_64 1:4.1.4.2-2.fc20 will be installed
---> Package libreoffice-writer.x86_64 1:4.1.4.2-2.fc20 will be installed
--> Processing Dependency: libwps-0.2.so.2()(64bit) for package: 1:libreoffice-writer-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libmwaw-0.2.so.2()(64bit) for package: 1:libreoffice-writer-4.1.4.2-2.fc20.x86_64
--> Running transaction check
---> Package libcdr.x86_64 0:0.0.14-5.fc20 will be installed
---> Package libmspub.x86_64 0:0.0.6-4.fc20 will be installed
---> Package libmwaw.x86_64 0:0.2.0-1.fc20 will be installed
---> Package libodfgen.x86_64 0:0.0.4-1.fc20 will be installed
---> Package liborcus.x86_64 0:0.5.1-5.fc20 will be installed
--> Processing Dependency: libboost_system.so.1.54.0()(64bit) for package: liborcus-0.5.1-5.fc20.x86_64
---> Package libreoffice-core.x86_64 1:4.1.4.2-2.fc20 will be installed
--> Processing Dependency: libreoffice-opensymbol-fonts = 1:4.1.4.2-2.fc20 for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: java >= 1:1.6 for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: hyphen >= 2.4 for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libjawt.so(SUNWprivate_1.1)(64bit) for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: hyphen-en for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: google-crosextra-carlito-fonts for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: google-crosextra-caladea-fonts for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: autocorr-en for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: librdf.so.0()(64bit) for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libraptor2.so.0()(64bit) for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libneon.so.27()(64bit) for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libmythes-1.2.so.0()(64bit) for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: liblangtag.so.1()(64bit) for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libjawt.so()(64bit) for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libhyphen.so.0()(64bit) for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libexttextcat-2.0.so.0()(64bit) for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libcmis-0.3.so.3()(64bit) for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libclucene-shared.so.1()(64bit) for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libclucene-core.so.1()(64bit) for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libclucene-contribs-lib.so.1()(64bit) for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: libboost_date_time.so.1.54.0()(64bit) for package: 1:libreoffice-core-4.1.4.2-2.fc20.x86_64
---> Package libreoffice-pdfimport.x86_64 1:4.1.4.2-2.fc20 will be installed
---> Package libreoffice-pyuno.x86_64 1:4.1.4.2-2.fc20 will be installed
--> Processing Dependency: python(abi) = 3.3 for package: 1:libreoffice-pyuno-4.1.4.2-2.fc20.x86_64
--> Processing Dependency: python3 for package: 1:libreoffice-pyuno-4.1.4.2-2.fc20.x86_64
---> Package libreoffice-ure.x86_64 1:4.1.4.2-2.fc20 will be installed
---> Package libvisio.x86_64 0:0.0.31-1.fc20 will be installed
---> Package libwps.x86_64 0:0.2.9-5.fc20 will be installed
---> Package lpsolve.x86_64 0:5.5.2.0-7.fc20 will be installed
--> Running transaction check
---> Package autocorr-en.noarch 1:4.1.4.2-2.fc20 will be installed
---> Package boost-date-time.x86_64 0:1.54.0-9.fc20 will be installed
---> Package boost-system.x86_64 0:1.54.0-9.fc20 will be installed
---> Package clucene-contribs-lib.x86_64 0:2.3.3.4-10.fc20 will be installed
---> Package clucene-core.x86_64 0:2.3.3.4-10.fc20 will be installed
---> Package google-crosextra-caladea-fonts.noarch 0:1.002-0.2.20130214.fc20 will be installed
---> Package google-crosextra-carlito-fonts.noarch 0:1.103-0.1.20130920.fc20 will be installed
---> Package hyphen.x86_64 0:2.8.6-4.fc20 will be installed
---> Package hyphen-en.noarch 0:2.8.6-4.fc20 will be installed
---> Package java-1.7.0-openjdk.x86_64 1:1.7.0.60-2.4.3.0.fc20 will be installed
--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64
--> Processing Dependency: libgif.so.4()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64
---> Package java-1.7.0-openjdk-headless.x86_64 1:1.7.0.60-2.4.3.0.fc20 will be installed
--> Processing Dependency: jpackage-utils >= 1.7.3-1jpp.2 for package: 1:java-1.7.0-openjdk-headless-1.7.0.60-2.4.3.0.fc20.x86_64
--> Processing Dependency: tzdata-java for package: 1:java-1.7.0-openjdk-headless-1.7.0.60-2.4.3.0.fc20.x86_64
--> Processing Dependency: rhino for package: 1:java-1.7.0-openjdk-headless-1.7.0.60-2.4.3.0.fc20.x86_64
---> Package libcmis.x86_64 0:0.3.1-8.fc20 will be installed
---> Package libexttextcat.x86_64 0:3.4.3-2.fc20 will be installed
---> Package liblangtag.x86_64 0:0.5.2-1.fc20 will be installed
---> Package libreoffice-opensymbol-fonts.noarch 1:4.1.4.2-2.fc20 will be installed
---> Package mythes.x86_64 0:1.2.3-6.fc20 will be installed
---> Package neon.x86_64 0:0.30.0-2.fc20 will be installed
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.30.0-2.fc20.x86_64
---> Package python3.x86_64 0:3.3.2-8.fc20 will be installed
---> Package raptor2.x86_64 0:2.0.9-2.fc20 will be installed
--> Processing Dependency: libyajl.so.2()(64bit) for package: raptor2-2.0.9-2.fc20.x86_64
---> Package redland.x86_64 0:1.0.16-4.fc20 will be installed
--> Processing Dependency: librasqal.so.3()(64bit) for package: redland-1.0.16-4.fc20.x86_64
--> Running transaction check
---> Package giflib.x86_64 0:4.1.6-9.fc20 will be installed
---> Package javapackages-tools.noarch 0:3.4.1-1.fc20 will be installed
--> Processing Dependency: python-javapackages = 3.4.1-1.fc20 for package: javapackages-tools-3.4.1-1.fc20.noarch
---> Package pakchois.x86_64 0:0.4-9.fc20 will be installed
---> Package rasqal.x86_64 0:0.9.30-2.fc20 will be installed
---> Package rhino.noarch 0:1.7R4-6.fc20 will be installed
--> Processing Dependency: jline for package: rhino-1.7R4-6.fc20.noarch
---> Package tzdata-java.noarch 0:2013i-1.fc20 will be installed
---> Package xorg-x11-fonts-Type1.noarch 0:7.5-9.fc20 will be installed
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.fc20.noarch
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.fc20.noarch
---> Package yajl.x86_64 0:2.0.4-3.fc20 will be installed
--> Running transaction check
---> Package jline.noarch 0:1.0-5.fc20 will be installed
---> Package python-javapackages.noarch 0:3.4.1-1.fc20 will be installed
--> Processing Dependency: python-lxml for package: python-javapackages-3.4.1-1.fc20.noarch
---> Package ttmkfdir.x86_64 0:3.0.9-40.fc20 will be installed
--> Running transaction check
---> Package python-lxml.x86_64 0:3.2.4-1.fc20 will be installed
--> Processing Dependency: python-cssselect for package: python-lxml-3.2.4-1.fc20.x86_64
--> Running transaction check
---> Package python-cssselect.noarch 0:0.8-1.fc20 will be installed
--> Finished Dependency Resolution
--> Running transaction check
---> Package libreoffice-langpack-en.x86_64 1:4.1.4.2-2.fc20 will be installed
--> Processing Dependency: hunspell-en for package: 1:libreoffice-langpack-en-4.1.4.2-2.fc20.x86_64
---> Package mythes-en.noarch 0:3.0-13.fc20 will be installed
--> Running transaction check
---> Package hunspell-en.noarch 0:0.20121024-6.fc20 will be installed
--> Processing Dependency: hunspell-en-GB = 0.20121024-6.fc20 for package: hunspell-en-0.20121024-6.fc20.noarch
--> Running transaction check
---> Package hunspell-en-GB.noarch 0:0.20121024-6.fc20 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=============================================================================================================================
 Package                                    Arch               Version                             Repository           Size
=============================================================================================================================
Installing for group install "LibreOffice":
 libreoffice-calc                           x86_64             1:4.1.4.2-2.fc20                    updates             7.6 M
 libreoffice-draw                           x86_64             1:4.1.4.2-2.fc20                    updates             655 k
 libreoffice-emailmerge                     x86_64             1:4.1.4.2-2.fc20                    updates              62 k
 libreoffice-graphicfilter                  x86_64             1:4.1.4.2-2.fc20                    updates             422 k
 libreoffice-impress                        x86_64             1:4.1.4.2-2.fc20                    updates             1.1 M
 libreoffice-math                           x86_64             1:4.1.4.2-2.fc20                    updates             1.0 M
 libreoffice-writer                         x86_64             1:4.1.4.2-2.fc20                    updates             4.4 M
Installing:
 libreoffice-langpack-en                    x86_64             1:4.1.4.2-2.fc20                    updates              46 k
 mythes-en                                  noarch             3.0-13.fc20                         fedora              3.9 M
Installing for dependencies:
 autocorr-en                                noarch             1:4.1.4.2-2.fc20                    updates             157 k
 boost-date-time                            x86_64             1.54.0-9.fc20                       updates              49 k
 boost-system                               x86_64             1.54.0-9.fc20                       updates              38 k
 clucene-contribs-lib                       x86_64             2.3.3.4-10.fc20                     fedora               89 k
 clucene-core                               x86_64             2.3.3.4-10.fc20                     fedora              528 k
 giflib                                     x86_64             4.1.6-9.fc20                        fedora               40 k
 google-crosextra-caladea-fonts             noarch             1.002-0.2.20130214.fc20             updates              92 k
 google-crosextra-carlito-fonts             noarch             1.103-0.1.20130920.fc20             fedora              813 k
 hunspell-en                                noarch             0.20121024-6.fc20                   fedora              194 k
 hunspell-en-GB                             noarch             0.20121024-6.fc20                   fedora              239 k
 hyphen                                     x86_64             2.8.6-4.fc20                        fedora               26 k
 hyphen-en                                  noarch             2.8.6-4.fc20                        fedora               48 k
 java-1.7.0-openjdk                         x86_64             1:1.7.0.60-2.4.3.0.fc20             fedora              223 k
 java-1.7.0-openjdk-headless                x86_64             1:1.7.0.60-2.4.3.0.fc20             fedora               25 M
 javapackages-tools                         noarch             3.4.1-1.fc20                        fedora               72 k
 jline                                      noarch             1.0-5.fc20                          fedora               68 k
 libcdr                                     x86_64             0.0.14-5.fc20                       fedora              444 k
 libcmis                                    x86_64             0.3.1-8.fc20                        fedora              284 k
 libexttextcat                              x86_64             3.4.3-2.fc20                        fedora              197 k
 liblangtag                                 x86_64             0.5.2-1.fc20                        fedora              175 k
 libmspub                                   x86_64             0.0.6-4.fc20                        fedora              194 k
 libmwaw                                    x86_64             0.2.0-1.fc20                        fedora              1.5 M
 libodfgen                                  x86_64             0.0.4-1.fc20                        updates             145 k
 liborcus                                   x86_64             0.5.1-5.fc20                        fedora              212 k
 libreoffice-core                           x86_64             1:4.1.4.2-2.fc20                    updates              81 M
 libreoffice-opensymbol-fonts               noarch             1:4.1.4.2-2.fc20                    updates             195 k
 libreoffice-pdfimport                      x86_64             1:4.1.4.2-2.fc20                    updates             276 k
 libreoffice-pyuno                          x86_64             1:4.1.4.2-2.fc20                    updates             612 k
 libreoffice-ure                            x86_64             1:4.1.4.2-2.fc20                    updates             2.6 M
 libvisio                                   x86_64             0.0.31-1.fc20                       fedora              253 k
 libwps                                     x86_64             0.2.9-5.fc20                        fedora              249 k
 lpsolve                                    x86_64             5.5.2.0-7.fc20                      fedora              427 k
 mythes                                     x86_64             1.2.3-6.fc20                        fedora               13 k
 neon                                       x86_64             0.30.0-2.fc20                       fedora              122 k
 pakchois                                   x86_64             0.4-9.fc20                          fedora               14 k
 python-cssselect                           noarch             0.8-1.fc20                          fedora               55 k
 python-javapackages                        noarch             3.4.1-1.fc20                        fedora               30 k
 python-lxml                                x86_64             3.2.4-1.fc20                        fedora              757 k
 python3                                    x86_64             3.3.2-8.fc20                        fedora               43 k
 raptor2                                    x86_64             2.0.9-2.fc20                        fedora              205 k
 rasqal                                     x86_64             0.9.30-2.fc20                       fedora              261 k
 redland                                    x86_64             1.0.16-4.fc20                       fedora              164 k
 rhino                                      noarch             1.7R4-6.fc20                        fedora              1.0 M
 ttmkfdir                                   x86_64             3.0.9-40.fc20                       fedora               47 k
 tzdata-java                                noarch             2013i-1.fc20                        updates             147 k
 xorg-x11-fonts-Type1                       noarch             7.5-9.fc20                          fedora              521 k
 yajl                                       x86_64             2.0.4-3.fc20                        fedora               38 k
 
Transaction Summary
=============================================================================================================================
Install  9 Packages (+47 Dependent packages)
 
Total download size: 138 M
Installed size: 434 M
Is this ok [y/d/N]: y
Downloading packages:
(1/56): clucene-contribs-lib-2.3.3.4-10.fc20.x86_64.rpm                                               |  89 kB  00:00:00     
(2/56): autocorr-en-4.1.4.2-2.fc20.noarch.rpm                                                         | 157 kB  00:00:01     
(3/56): giflib-4.1.6-9.fc20.x86_64.rpm                                                                |  40 kB  00:00:00     
(4/56): boost-date-time-1.54.0-9.fc20.x86_64.rpm                                                      |  49 kB  00:00:01     
(5/56): google-crosextra-caladea-fonts-1.002-0.2.20130214.fc20.noarch.rpm                             |  92 kB  00:00:00     
(6/56): clucene-core-2.3.3.4-10.fc20.x86_64.rpm                                                       | 528 kB  00:00:01     
(7/56): hyphen-2.8.6-4.fc20.x86_64.rpm                                                                |  26 kB  00:00:00     
(8/56): hyphen-en-2.8.6-4.fc20.noarch.rpm                                                             |  48 kB  00:00:00     
(9/56): hunspell-en-0.20121024-6.fc20.noarch.rpm                                                      | 194 kB  00:00:01     
(10/56): java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64.rpm                                          | 223 kB  00:00:00     
(11/56): google-crosextra-carlito-fonts-1.103-0.1.20130920.fc20.noarch.rpm                            | 813 kB  00:00:01     
(12/56): hunspell-en-GB-0.20121024-6.fc20.noarch.rpm                                                  | 239 kB  00:00:01     
(13/56): javapackages-tools-3.4.1-1.fc20.noarch.rpm                                                   |  72 kB  00:00:00     
(14/56): jline-1.0-5.fc20.noarch.rpm                                                                  |  68 kB  00:00:00     
(15/56): libcmis-0.3.1-8.fc20.x86_64.rpm                                                              | 284 kB  00:00:01     
(16/56): boost-system-1.54.0-9.fc20.x86_64.rpm                                                        |  38 kB  00:00:04     
(17/56): libexttextcat-3.4.3-2.fc20.x86_64.rpm                                                        | 197 kB  00:00:01     
(18/56): libmspub-0.0.6-4.fc20.x86_64.rpm                                                             | 194 kB  00:00:01     
(19/56): liblangtag-0.5.2-1.fc20.x86_64.rpm                                                           | 175 kB  00:00:02     
(20/56): libodfgen-0.0.4-1.fc20.x86_64.rpm                                                            | 145 kB  00:00:00     
(21/56): libcdr-0.0.14-5.fc20.x86_64.rpm                                                              | 444 kB  00:00:03     
(22/56): liborcus-0.5.1-5.fc20.x86_64.rpm                                                             | 212 kB  00:00:00     
(23/56): libmwaw-0.2.0-1.fc20.x86_64.rpm                                                              | 1.5 MB  00:00:03     
(24/56): libreoffice-draw-4.1.4.2-2.fc20.x86_64.rpm                                                   | 655 kB  00:00:02     
(25/56): libreoffice-emailmerge-4.1.4.2-2.fc20.x86_64.rpm                                             |  62 kB  00:00:00     
(26/56): libreoffice-graphicfilter-4.1.4.2-2.fc20.x86_64.rpm                                          | 422 kB  00:00:01     
(27/56): libreoffice-langpack-en-4.1.4.2-2.fc20.x86_64.rpm                                            |  46 kB  00:00:00     
(28/56): libreoffice-math-4.1.4.2-2.fc20.x86_64.rpm                                                   | 1.0 MB  00:00:03     
(29/56): libreoffice-impress-4.1.4.2-2.fc20.x86_64.rpm                                                | 1.1 MB  00:00:05     
(30/56): libreoffice-opensymbol-fonts-4.1.4.2-2.fc20.noarch.rpm                                       | 195 kB  00:00:00     
(31/56): libreoffice-pdfimport-4.1.4.2-2.fc20.x86_64.rpm                                              | 276 kB  00:00:01     
(32/56): libreoffice-pyuno-4.1.4.2-2.fc20.x86_64.rpm                                                  | 612 kB  00:00:03     
(33/56): libreoffice-calc-4.1.4.2-2.fc20.x86_64.rpm                                                   | 7.6 MB  00:00:14     
(34/56): libvisio-0.0.31-1.fc20.x86_64.rpm                                                            | 253 kB  00:00:00     
(35/56): libwps-0.2.9-5.fc20.x86_64.rpm                                                               | 249 kB  00:00:00     
(36/56): lpsolve-5.5.2.0-7.fc20.x86_64.rpm                                                            | 427 kB  00:00:01     
(37/56): mythes-1.2.3-6.fc20.x86_64.rpm                                                               |  13 kB  00:00:00     
(38/56): libreoffice-ure-4.1.4.2-2.fc20.x86_64.rpm                                                    | 2.6 MB  00:00:13     
(39/56): neon-0.30.0-2.fc20.x86_64.rpm                                                                | 122 kB  00:00:00     
(40/56): pakchois-0.4-9.fc20.x86_64.rpm                                                               |  14 kB  00:00:00     
(41/56): python-cssselect-0.8-1.fc20.noarch.rpm                                                       |  55 kB  00:00:00     
(42/56): python-javapackages-3.4.1-1.fc20.noarch.rpm                                                  |  30 kB  00:00:00     
(43/56): libreoffice-writer-4.1.4.2-2.fc20.x86_64.rpm                                                 | 4.4 MB  00:00:15     
(44/56): python3-3.3.2-8.fc20.x86_64.rpm                                                              |  43 kB  00:00:00     
(45/56): mythes-en-3.0-13.fc20.noarch.rpm                                                             | 3.9 MB  00:00:10     
(46/56): raptor2-2.0.9-2.fc20.x86_64.rpm                                                              | 205 kB  00:00:00     
(47/56): python-lxml-3.2.4-1.fc20.x86_64.rpm                                                          | 757 kB  00:00:03     
(48/56): redland-1.0.16-4.fc20.x86_64.rpm                                                             | 164 kB  00:00:00     
(49/56): rasqal-0.9.30-2.fc20.x86_64.rpm                                                              | 261 kB  00:00:01     
(50/56): ttmkfdir-3.0.9-40.fc20.x86_64.rpm                                                            |  47 kB  00:00:00     
(51/56): xorg-x11-fonts-Type1-7.5-9.fc20.noarch.rpm                                                   | 521 kB  00:00:01     
(52/56): tzdata-java-2013i-1.fc20.noarch.rpm                                                          | 147 kB  00:00:01     
(53/56): yajl-2.0.4-3.fc20.x86_64.rpm                                                                 |  38 kB  00:00:00     
(54/56): rhino-1.7R4-6.fc20.noarch.rpm                                                                | 1.0 MB  00:00:10     
(55/56): java-1.7.0-openjdk-headless-1.7.0.60-2.4.3.0.fc20.x86_64.rpm                                 |  25 MB  00:00:45     
(56/56): libreoffice-core-4.1.4.2-2.fc20.x86_64.rpm                                                   |  81 MB  00:03:10     
-----------------------------------------------------------------------------------------------------------------------------
Total                                                                                        717 kB/s | 138 MB  00:03:17     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:autocorr-en-4.1.4.2-2.fc20.noarch                                                                      1/56 
  Installing : hyphen-2.8.6-4.fc20.x86_64                                                                               2/56 
  Installing : hyphen-en-2.8.6-4.fc20.noarch                                                                            3/56 
  Installing : boost-date-time-1.54.0-9.fc20.x86_64                                                                     4/56 
  Installing : google-crosextra-carlito-fonts-1.103-0.1.20130920.fc20.noarch                                            5/56 
  Installing : libodfgen-0.0.4-1.fc20.x86_64                                                                            6/56 
  Installing : mythes-1.2.3-6.fc20.x86_64                                                                               7/56 
  Installing : clucene-core-2.3.3.4-10.fc20.x86_64                                                                      8/56 
  Installing : clucene-contribs-lib-2.3.3.4-10.fc20.x86_64                                                              9/56 
  Installing : mythes-en-3.0-13.fc20.noarch                                                                            10/56 
  Installing : libcmis-0.3.1-8.fc20.x86_64                                                                             11/56 
  Installing : libwps-0.2.9-5.fc20.x86_64                                                                              12/56 
  Installing : libmwaw-0.2.0-1.fc20.x86_64                                                                             13/56 
  Installing : boost-system-1.54.0-9.fc20.x86_64                                                                       14/56 
  Installing : liborcus-0.5.1-5.fc20.x86_64                                                                            15/56 
  Installing : ttmkfdir-3.0.9-40.fc20.x86_64                                                                           16/56 
  Installing : xorg-x11-fonts-Type1-7.5-9.fc20.noarch                                                                  17/56 
  Installing : giflib-4.1.6-9.fc20.x86_64                                                                              18/56 
  Installing : google-crosextra-caladea-fonts-1.002-0.2.20130214.fc20.noarch                                           19/56 
  Installing : libmspub-0.0.6-4.fc20.x86_64                                                                            20/56 
  Installing : lpsolve-5.5.2.0-7.fc20.x86_64                                                                           21/56 
  Installing : python-cssselect-0.8-1.fc20.noarch                                                                      22/56 
  Installing : python-lxml-3.2.4-1.fc20.x86_64                                                                         23/56 
  Installing : python-javapackages-3.4.1-1.fc20.noarch                                                                 24/56 
  Installing : javapackages-tools-3.4.1-1.fc20.noarch                                                                  25/56 
  Installing : jline-1.0-5.fc20.noarch                                                                                 26/56 
  Installing : rhino-1.7R4-6.fc20.noarch                                                                               27/56 
  Installing : hunspell-en-GB-0.20121024-6.fc20.noarch                                                                 28/56 
  Installing : hunspell-en-0.20121024-6.fc20.noarch                                                                    29/56 
  Installing : tzdata-java-2013i-1.fc20.noarch                                                                         30/56 
  Installing : 1:java-1.7.0-openjdk-headless-1.7.0.60-2.4.3.0.fc20.x86_64                                              31/56 
  Installing : 1:java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64                                                       32/56 
  Installing : 1:libreoffice-ure-4.1.4.2-2.fc20.x86_64                                                                 33/56 
  Installing : liblangtag-0.5.2-1.fc20.x86_64                                                                          34/56 
  Installing : yajl-2.0.4-3.fc20.x86_64                                                                                35/56 
  Installing : raptor2-2.0.9-2.fc20.x86_64                                                                             36/56 
  Installing : rasqal-0.9.30-2.fc20.x86_64                                                                             37/56 
  Installing : redland-1.0.16-4.fc20.x86_64                                                                            38/56 
  Installing : python3-3.3.2-8.fc20.x86_64                                                                             39/56 
  Installing : pakchois-0.4-9.fc20.x86_64                                                                              40/56 
  Installing : neon-0.30.0-2.fc20.x86_64                                                                               41/56 
  Installing : 1:libreoffice-opensymbol-fonts-4.1.4.2-2.fc20.noarch                                                    42/56 
  Installing : libexttextcat-3.4.3-2.fc20.x86_64                                                                       43/56 
  Installing : 1:libreoffice-core-4.1.4.2-2.fc20.x86_64                                                                44/56 
  Installing : 1:libreoffice-writer-4.1.4.2-2.fc20.x86_64                                                              45/56 
  Installing : 1:libreoffice-pyuno-4.1.4.2-2.fc20.x86_64                                                               46/56 
  Installing : libcdr-0.0.14-5.fc20.x86_64                                                                             47/56 
  Installing : libvisio-0.0.31-1.fc20.x86_64                                                                           48/56 
  Installing : 1:libreoffice-graphicfilter-4.1.4.2-2.fc20.x86_64                                                       49/56 
  Installing : 1:libreoffice-pdfimport-4.1.4.2-2.fc20.x86_64                                                           50/56 
  Installing : 1:libreoffice-draw-4.1.4.2-2.fc20.x86_64                                                                51/56 
  Installing : 1:libreoffice-emailmerge-4.1.4.2-2.fc20.x86_64                                                          52/56 
  Installing : 1:libreoffice-langpack-en-4.1.4.2-2.fc20.x86_64                                                         53/56 
  Installing : 1:libreoffice-math-4.1.4.2-2.fc20.x86_64                                                                54/56 
  Installing : 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64                                                                55/56 
  Installing : 1:libreoffice-impress-4.1.4.2-2.fc20.x86_64                                                             56/56 
  Verifying  : 1:libreoffice-langpack-en-4.1.4.2-2.fc20.x86_64                                                          1/56 
  Verifying  : hunspell-en-0.20121024-6.fc20.noarch                                                                     2/56 
  Verifying  : 1:libreoffice-math-4.1.4.2-2.fc20.x86_64                                                                 3/56 
  Verifying  : libvisio-0.0.31-1.fc20.x86_64                                                                            4/56 
  Verifying  : libcdr-0.0.14-5.fc20.x86_64                                                                              5/56 
  Verifying  : libexttextcat-3.4.3-2.fc20.x86_64                                                                        6/56 
  Verifying  : python-lxml-3.2.4-1.fc20.x86_64                                                                          7/56 
  Verifying  : clucene-core-2.3.3.4-10.fc20.x86_64                                                                      8/56 
  Verifying  : 1:libreoffice-opensymbol-fonts-4.1.4.2-2.fc20.noarch                                                     9/56 
  Verifying  : pakchois-0.4-9.fc20.x86_64                                                                              10/56 
  Verifying  : mythes-1.2.3-6.fc20.x86_64                                                                              11/56 
  Verifying  : liborcus-0.5.1-5.fc20.x86_64                                                                            12/56 
  Verifying  : libodfgen-0.0.4-1.fc20.x86_64                                                                           13/56 
  Verifying  : clucene-contribs-lib-2.3.3.4-10.fc20.x86_64                                                             14/56 
  Verifying  : google-crosextra-carlito-fonts-1.103-0.1.20130920.fc20.noarch                                           15/56 
  Verifying  : python3-3.3.2-8.fc20.x86_64                                                                             16/56 
  Verifying  : yajl-2.0.4-3.fc20.x86_64                                                                                17/56 
  Verifying  : 1:libreoffice-pdfimport-4.1.4.2-2.fc20.x86_64                                                           18/56 
  Verifying  : javapackages-tools-3.4.1-1.fc20.noarch                                                                  19/56 
  Verifying  : 1:java-1.7.0-openjdk-headless-1.7.0.60-2.4.3.0.fc20.x86_64                                              20/56 
  Verifying  : liblangtag-0.5.2-1.fc20.x86_64                                                                          21/56 
  Verifying  : 1:libreoffice-calc-4.1.4.2-2.fc20.x86_64                                                                22/56 
  Verifying  : 1:libreoffice-pyuno-4.1.4.2-2.fc20.x86_64                                                               23/56 
  Verifying  : tzdata-java-2013i-1.fc20.noarch                                                                         24/56 
  Verifying  : hunspell-en-GB-0.20121024-6.fc20.noarch                                                                 25/56 
  Verifying  : neon-0.30.0-2.fc20.x86_64                                                                               26/56 
  Verifying  : python-cssselect-0.8-1.fc20.noarch                                                                      27/56 
  Verifying  : python-javapackages-3.4.1-1.fc20.noarch                                                                 28/56 
  Verifying  : jline-1.0-5.fc20.noarch                                                                                 29/56 
  Verifying  : 1:libreoffice-impress-4.1.4.2-2.fc20.x86_64                                                             30/56 
  Verifying  : 1:java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64                                                       31/56 
  Verifying  : lpsolve-5.5.2.0-7.fc20.x86_64                                                                           32/56 
  Verifying  : libmspub-0.0.6-4.fc20.x86_64                                                                            33/56 
  Verifying  : 1:libreoffice-graphicfilter-4.1.4.2-2.fc20.x86_64                                                       34/56 
  Verifying  : 1:libreoffice-draw-4.1.4.2-2.fc20.x86_64                                                                35/56 
  Verifying  : mythes-en-3.0-13.fc20.noarch                                                                            36/56 
  Verifying  : 1:libreoffice-emailmerge-4.1.4.2-2.fc20.x86_64                                                          37/56 
  Verifying  : google-crosextra-caladea-fonts-1.002-0.2.20130214.fc20.noarch                                           38/56 
  Verifying  : boost-date-time-1.54.0-9.fc20.x86_64                                                                    39/56 
  Verifying  : 1:libreoffice-core-4.1.4.2-2.fc20.x86_64                                                                40/56 
  Verifying  : redland-1.0.16-4.fc20.x86_64                                                                            41/56 
  Verifying  : giflib-4.1.6-9.fc20.x86_64                                                                              42/56 
  Verifying  : libcmis-0.3.1-8.fc20.x86_64                                                                             43/56 
  Verifying  : 1:libreoffice-ure-4.1.4.2-2.fc20.x86_64                                                                 44/56 
  Verifying  : hyphen-2.8.6-4.fc20.x86_64                                                                              45/56 
  Verifying  : ttmkfdir-3.0.9-40.fc20.x86_64                                                                           46/56 
  Verifying  : raptor2-2.0.9-2.fc20.x86_64                                                                             47/56 
  Verifying  : boost-system-1.54.0-9.fc20.x86_64                                                                       48/56 
  Verifying  : hyphen-en-2.8.6-4.fc20.noarch                                                                           49/56 
  Verifying  : rasqal-0.9.30-2.fc20.x86_64                                                                             50/56 
  Verifying  : libmwaw-0.2.0-1.fc20.x86_64                                                                             51/56 
  Verifying  : 1:autocorr-en-4.1.4.2-2.fc20.noarch                                                                     52/56 
  Verifying  : xorg-x11-fonts-Type1-7.5-9.fc20.noarch                                                                  53/56 
  Verifying  : rhino-1.7R4-6.fc20.noarch                                                                               54/56 
  Verifying  : libwps-0.2.9-5.fc20.x86_64                                                                              55/56 
  Verifying  : 1:libreoffice-writer-4.1.4.2-2.fc20.x86_64                                                              56/56 
 
Installed:
  libreoffice-calc.x86_64 1:4.1.4.2-2.fc20                    libreoffice-draw.x86_64 1:4.1.4.2-2.fc20                      
  libreoffice-emailmerge.x86_64 1:4.1.4.2-2.fc20              libreoffice-graphicfilter.x86_64 1:4.1.4.2-2.fc20             
  libreoffice-impress.x86_64 1:4.1.4.2-2.fc20                 libreoffice-langpack-en.x86_64 1:4.1.4.2-2.fc20               
  libreoffice-math.x86_64 1:4.1.4.2-2.fc20                    libreoffice-writer.x86_64 1:4.1.4.2-2.fc20                    
  mythes-en.noarch 0:3.0-13.fc20                             
 
Dependency Installed:
  autocorr-en.noarch 1:4.1.4.2-2.fc20                                                                                        
  boost-date-time.x86_64 0:1.54.0-9.fc20                                                                                     
  boost-system.x86_64 0:1.54.0-9.fc20                                                                                        
  clucene-contribs-lib.x86_64 0:2.3.3.4-10.fc20                                                                              
  clucene-core.x86_64 0:2.3.3.4-10.fc20                                                                                      
  giflib.x86_64 0:4.1.6-9.fc20                                                                                               
  google-crosextra-caladea-fonts.noarch 0:1.002-0.2.20130214.fc20                                                            
  google-crosextra-carlito-fonts.noarch 0:1.103-0.1.20130920.fc20                                                            
  hunspell-en.noarch 0:0.20121024-6.fc20                                                                                     
  hunspell-en-GB.noarch 0:0.20121024-6.fc20                                                                                  
  hyphen.x86_64 0:2.8.6-4.fc20                                                                                               
  hyphen-en.noarch 0:2.8.6-4.fc20                                                                                            
  java-1.7.0-openjdk.x86_64 1:1.7.0.60-2.4.3.0.fc20                                                                          
  java-1.7.0-openjdk-headless.x86_64 1:1.7.0.60-2.4.3.0.fc20                                                                 
  javapackages-tools.noarch 0:3.4.1-1.fc20                                                                                   
  jline.noarch 0:1.0-5.fc20                                                                                                  
  libcdr.x86_64 0:0.0.14-5.fc20                                                                                              
  libcmis.x86_64 0:0.3.1-8.fc20                                                                                              
  libexttextcat.x86_64 0:3.4.3-2.fc20                                                                                        
  liblangtag.x86_64 0:0.5.2-1.fc20                                                                                           
  libmspub.x86_64 0:0.0.6-4.fc20                                                                                             
  libmwaw.x86_64 0:0.2.0-1.fc20                                                                                              
  libodfgen.x86_64 0:0.0.4-1.fc20                                                                                            
  liborcus.x86_64 0:0.5.1-5.fc20                                                                                             
  libreoffice-core.x86_64 1:4.1.4.2-2.fc20                                                                                   
  libreoffice-opensymbol-fonts.noarch 1:4.1.4.2-2.fc20                                                                       
  libreoffice-pdfimport.x86_64 1:4.1.4.2-2.fc20                                                                              
  libreoffice-pyuno.x86_64 1:4.1.4.2-2.fc20                                                                                  
  libreoffice-ure.x86_64 1:4.1.4.2-2.fc20                                                                                    
  libvisio.x86_64 0:0.0.31-1.fc20                                                                                            
  libwps.x86_64 0:0.2.9-5.fc20                                                                                               
  lpsolve.x86_64 0:5.5.2.0-7.fc20                                                                                            
  mythes.x86_64 0:1.2.3-6.fc20                                                                                               
  neon.x86_64 0:0.30.0-2.fc20                                                                                                
  pakchois.x86_64 0:0.4-9.fc20                                                                                               
  python-cssselect.noarch 0:0.8-1.fc20                                                                                       
  python-javapackages.noarch 0:3.4.1-1.fc20                                                                                  
  python-lxml.x86_64 0:3.2.4-1.fc20                                                                                          
  python3.x86_64 0:3.3.2-8.fc20                                                                                              
  raptor2.x86_64 0:2.0.9-2.fc20                                                                                              
  rasqal.x86_64 0:0.9.30-2.fc20                                                                                              
  redland.x86_64 0:1.0.16-4.fc20                                                                                             
  rhino.noarch 0:1.7R4-6.fc20                                                                                                
  ttmkfdir.x86_64 0:3.0.9-40.fc20                                                                                            
  tzdata-java.noarch 0:2013i-1.fc20                                                                                          
  xorg-x11-fonts-Type1.noarch 0:7.5-9.fc20                                                                                   
  yajl.x86_64 0:2.0.4-3.fc20                                                                                                 
 
Complete!

apt-get

apt-get : This is the package manager for debian based distributions such as debian/ubuntu/mint/ect. This package manager is a wrapper for the dpkg infrastructure and allows for ease of install and update of packages in supported repositories.

apt-get update : updates the package repo information, unlike yum this DOES NOT update your packages

apt-get upgrade : upgrades the packages of the system

apt-get dist-upgrade : upgrades the distribution if there are packages that have major changes

apt-get install <package> : installs a package

apt-cache search <term> : search for a package term

runlevels

who -r : gives you the current runlevel

init <runlevel> : init is the application that starts all other programs, it is PID 1, in later OS like fedora 20, it is being replaced by systemd. To change the runlevel, on a init system you just type init then the runlevel you would like to move to. This is a root level command.

systemd : systemd is a system that replaces sysvinit or the init system, more information is here.

init/systemd levels:


0/runlevel0.target : power off/halt the system

1,s/runlevel1.target : single user mode

2,4/runlevel2.target,runlevel4.target : user defined

3/runlevel3.target : multi-user non-graphical

5/runlevel5.target : multi-user graphical

6/runlevel6.target : reboot

emergency/emergency.target : emergency shell (not available on all distros)


shutting down the machine:

init: shutdown -h now

systemd: poweroff

rebooting the machine:

init: shutdown -r now

systemd: reboot

disk utilities

CAUTION: these utilities are for use by the root user and can cause serious damage to your system if used improperly. If you do not know what you are doing with these, do not use them until you learn what they do or do it on a system you care not about the data.

fdisk : this utility is one of the oldest in this bunch, it allows you to re-partition disks on the command line

gdisk : an updated version of fdisk, allows for use of gpt partitions

parted : a utility like fdisk/gdisk, but also allows for filesystem builds to take place. A bit harder to use then fdisk/gdisk but more useful.

gparted : a gui version of parted, many people hail this as the greatest partition manupulation program around, better then even the windows utilities that exist like partition magic.

graphical assistance utilities

arandr : this program allows you to change xrandr settings like gnome display manager does, you can resize, rearrange, and do other nifty things to your windowing system with this utility.