
We went into the ThinkPad BIOS (F1 after starting the ThinkPad) and changed all the 
5.23 Useful Linux commands
Not all ThinkPad/EFS owners have Linux or UNIX backgrounds, and a few brief notes may help these users.
Common commands
New users may find Linux commands a little confusing. The following is intended as a brief reminder of the syntax for a number of commands often used while working with Linux in a ThinkPad/EFS environment.
| chown flexes /s390/volA | make userid “flexes” owner of this file | ||
| chgrp flexes /s390/volA | make group “flexes” the group owner of this file | ||
| chown aaa:bbb /home/myfile | make sss the owner userid and bbb the owner groupid | ||
| chmod 600 /s390/volA | allow only file owner to read & write this file | ||
| cat filename | list all of a file on the terminal | ||
| more filename | list a file, page by page (space bar to advance page) | ||
| 
 | |||
| less filename | a newer version of more | ||
| cp /s390/volA /s391/volX | copy first file to second file | ||
| find /  | start search in root and find file named “unzip” | ||
| updatedb | update the database used by the locate command (root) | ||
| locate unzip | locate all files with “unzip” in their name | ||
| file /usr/bin/unzip | describe nature of named file | ||
| mkdir /home/ogden/source | create a new directory | ||
| ls  | list current directory, in some detail | ||
| ls  | list current directory, most recently updated files last | ||
| mv oldfile newfile | rename or move a file | ||
| rm filename | delete a file | 
 | |
| head filename | list first 10 lines of file | ||
| tail filename | list last 10 lines of file | ||
| tar  | create tar file from files in /flexes/rundir | ||
| tar  | 
 | list files contained in “my.tar” | |
| tar  | 
 | extract all the files in the tar file | |
| unzip /dev/cdrom/os390/os39ra.zip | unzip a file on  | ||
| mdir a: | display DOS diskette | ||
| mcopy /flexes/x/y a:x.txt | copy Linux file to a DOS diskette file | ||
| mdel a:afile.txt | delete a file on diskette | ||
| mformat a: | format a DOS diskette | ||
| shutdown  | shut down the Linux system | ||
13When we first installed the ThinkPad, we quickly checked the BIOS controls and thought we disabled any automatic 
60S/390 PID: ThinkPad Enabled for S/390