UNIX-User's Cheater Table: Difference between revisions
Jump to navigation
Jump to search
(Comment) |
(Compiler-Stuff) |
||
Line 65: | Line 65: | ||
|valign="top"|<code>dspmsg</code> | |valign="top"|<code>dspmsg</code> | ||
|valign="top"|Cron and at send mail if there was output. OS/400 sends ''messages'' and generates printer output (spooled file). | |valign="top"|Cron and at send mail if there was output. OS/400 sends ''messages'' and generates printer output (spooled file). | ||
|- | |||
|valign="top"|<code>cc</code> | |||
|valign="top"|<code>crtcmod</code> | |||
|valign="top"|Create Object File from C-Source. | |||
|- | |||
|valign="top"|<code>ld</code> | |||
|valign="top"|<code>crtpgm</code> | |||
|valign="top"|Create runnable Program from Object File. | |||
|} | |} | ||
Revision as of 01:25, 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.
|
|
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. |
The table will be expanded over time.