UNIX-User's Cheater Table: Difference between revisions
Jump to navigation
Jump to search
(Network) |
(Database files) |
||
Line 29: | Line 29: | ||
|- | |- | ||
|valign="top"|<code>vi</code> | |valign="top"|<code>vi</code> | ||
|valign="top"|<code>strseu</code> for source physical files,<br /><code>edtf</code> for stream files. | |valign="top"|<code>strseu</code> for source physical files,<br /><code>edtf</code> for stream files,<br /><code>strdfu option(5)</code> for database files. | ||
|valign="top"| | |valign="top"| | ||
|- | |- |
Revision as of 01:30, 27 April 2019
This table lists commands available in the CL-Environment, the classical OS/400-Shell, so to say. These do not apply to QSH or PASE, which are UNIX-like environments within OS/400.
UNIX Command | OS/400 Equivalent | Remarks |
---|---|---|
Files and File System | ||
cat
|
cpyf
|
Since OS/400 has no concept of stdin/stdout, these functions of cat don't apply here. |
cd
|
chgcurlib
|
|
cp
|
crtdupobj
|
|
ls
|
wrklib wrkobj
|
Shows a scrollable list of selected objects, helps in modifying access rights. |
mv
|
rnmobj movobj
|
|
vi
|
strseu for source physical files,edtf for stream files,strdfu option(5) for database files.
|
|
Memory and Processes | ||
free
|
wrkshrpool
|
This is for displaying the amount of built-in RAM. |
crontab -e at (scheduler)
|
wrkjobscde sbmjob wrkjobq qbatch
|
|
ps aux top
|
wrkactjob
|
|
Disk and I/O | ||
df
|
strsst
|
Access to precise disk space stats is available within system service tools only. |
iostat -x
|
wrkdsksts
|
|
Other Topics | ||
lpq
|
wrkoutq
|
Displays all configured printer queues and count of entries. |
mailx
|
dspmsg
|
Cron and at send mail if there was output. OS/400 sends messages and generates printer output (spooled file). |
cc
|
crtcmod
|
Create Object File from C-Source. |
ld
|
crtpgm
|
Create runnable Program from Object File. |
ping
|
ping
|
Surprise, command has same name! |
netstat
|
netstat
|
Surprise, command has same name! |
The table will be expanded over time.