Professional Documents
Culture Documents
Using The System: Course Materials May Not Be Reproduced in Whole or in Part Without The Prior Written Permission of IBM
Using The System: Course Materials May Not Be Reproduced in Whole or in Part Without The Prior Written Permission of IBM
Login:
Red Hat:
SUSE:
$ ls
$ ls –l
$ ls /dev
$ ls –l /dev
Note:
If no flag is used, do not add extra
space in command
Using the system © Copyright IBM Corporation 2001, 2018
Command format examples
• Separation • Separation
$ ls -l myfile $ ls - l myfile
$ who -u $ who-u
• Order • Order
$ ls -l myfile $ ls myfile -l
$ rm myfile $ myfile rm
$ who -u $ -u who
Command Description
passwd Change your password.
• Looking at a year
$ cal 2017
2017
January February March
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7 1 2 3 4 1 2 3 4
8 9 10 11 12 13 14 5 6 7 8 9 10 11 5 6 7 8 9 10 11
15 16 17 18 19 20 21 12 13 14 15 16 17 18 12 13 14 15 16 17 18
22 23 24 25 26 27 28 19 20 21 22 23 24 25 19 20 21 22 23 24 25
29 30 31 26 27 28 26 27 28 29 30 31
$ who
root tty1 Jan 1 11:10
tux1 tty2 Jan 1 11:04
$ who am i
host!tux1 tty2 Jan 1 11:04
$ whoami
tux1
$ finger
Login Name Tty Idle Login Time
tux1 Tux (1) 2 Jan 1 11:04
root root *1 7 Jan 1 11:10
$ finger tux1
Login: tux1 Name: Tux (1)
Directory: /home/tux1 Shell: /bin/bash
On since Mon Jan 1 11:04 (UTC) on tty2
No mail.
No plan.
Tux1 Tux2
• To disable write, wall and talk reception, use mesg n