Using The System
Using The System
• To log in:
login: team01
team01's Password: (the password does not appear)
$
• To log out:
$ <Ctrl-d> (or)
$ exit (or)
$ logout
login:
• Creating or changing:
$ passwd
Changing password for "team01"
team01's Old password:
team01's New password:
Re-enter team01's new password:
$
$ ls
$ ls –l
$ ls /dev
$ ls –l /dev
Wrong: Right:
1. Separation: 1. Separation:
$ mail - f newmail $ mail -f newmail
$ who-u $ who -u
2. Order: 2. Order:
$ mail newmail -f $ mail -f newmail
$ team01 mail $ mail team01
$ -u who $ who -u
3. Multiple options: 3. Multiple options:
$ who -m-u $ who -m -u
$ who -m u $ who -mu
4. Multiple arguments: 4. Multiple arguments:
$ mail team01team02 $ mail team01 team02
There are exceptions!!
© Copyright IBM Corporation 2010, 2013. All Rights Reserved.
US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp
The date and cal commands
IBM Power Systems
• Looking at a month:
$ cal 1 2003
January 2003
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
• Looking at a year:
$ cal 2007
• Which command...
– Changes your password? _____________
– Clears the screen? ____________
– Prints out the current system date? _____________
– Exits the current shell? _____________
$ mail team01
Subject: Meeting
There will be a brief announcement meeting today
in room 602 at noon.
<Ctrl-d>
Cc: <Enter>
$
$ mail team20@sys2
Subject: Don't Forget!
Don't forget about the meeting today!
<Ctrl-d>
Cc: <Enter>
$
– The wall command writes to all terminals. This is useful to notify all
users of a system event:
$ wall The system will be inactive from 10pm today.
team01$ mesg
The current status is y.
team01$ mesg n
team01$