last | who has | logged into Linux? | ||
w | who is logged into Linux now? | |||
whoami | displays your userid | |||
ifconfig | display | current LAN adapter status | ||
netstat | display | current routing state | ||
route add default gw 9.12.17.150 eth0 |
| create default gateway | ||
route add | add network route | |||
top | monitor | activity. | “q” to quit | |
vmstat 10 5 | 5 activity reports. | 10 seconds between reports. | ||
mount /dev/cdrom /mnt/cdrom | mount a |
|
| |
mount /dev/fd0 /mnt/floppy | mount a | diskette (but not a DOS diskette) | ||
mount /dev/hdc2 /s391 | mount file system on second HDD at mount point /s391 | |||
mount | display | the mount table |
Multiple consoles, sessions, screens
Linux offers multiple consoles on the PC (or ThinkPad) display. The keys
You can also have multiple command line windows open on the desktop. These do not require separate logins.
Text editors
Traditional UNIX users and many Linux users regard vi as their primary text editor. Traditional mainframe users often avoid vi, if possible. The kde desktop offers the Advanced Editor, which can be started from the fountain pen nib icon in the toolbar. This is much like a simple PC text editor and very unlike vi. It is suitable for almost all the text editing we required while installing and customizing
Chapter 5. Additional Topics | 61 |