IBM s/390 manual Multiple consoles, sessions, screens, Text editors, Cd-Rom

Models: s/390

1 106
Download 106 pages 57.02 Kb
Page 71
Image 71

last

who has

logged into Linux?

w

who is logged into Linux now?

whoami

displays your userid

ifconfig

display

current LAN adapter status

netstat -r

display

current routing state

route add default gw 9.12.17.150 eth0

 

create default gateway

route add -net 10.10.0.0 255.255.255.0 eth0

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

CD-ROM

 

 

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 Ctrl-Alt-Fn are used to select a console. Ctrl-Alt-F1 through Ctrl-Alt-F6 produce traditional UNIX-style command lines, and Ctrl-Alt-F7 produces the X windows GUI desktop. Each of these consoles is a separate Linux session, requiring a separate login. You can log in with different userids in each session, or use the same userid in several sessions. You can switch between sessions at any time, using Cnrt-Alt-Fn 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 FLEX-ES. Anyone comfortable using any version of Windows or OS/2 should have no trouble using this editor. The Red Hat Linux distribution includes a number of editors, and you can select the ones you like best.

Chapter 5. Additional Topics

61

Page 71
Image 71
IBM s/390 manual Multiple consoles, sessions, screens, Text editors, Cd-Rom