UNIX-User's Cheater Table

From Try-AS/400
Revision as of 01:27, 27 April 2019 by PoC (talk | contribs) (Network)
Jump to navigation Jump to search

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.
ping ping Surprise, command has same name!
netstat netstat Surprise, command has same name!

The table will be expanded over time.