UNIX-User's Cheater Table: Difference between revisions

From Try-AS/400
Jump to navigation Jump to search
(Expansion)
(More)
Line 7: Line 7:
|-
|-
|colspan="3"|'''Files and File System'''
|colspan="3"|'''Files and File System'''
|-
|valign="top"|<code>cat</code>
|valign="top"|<code>cpyf</code>
|valign="top"|&nbsp;
|-
|-
|valign="top"|<code>cd</code>
|valign="top"|<code>cd</code>
|valign="top"|<code>chgcurlib</code>
|valign="top"|<code>chgcurlib</code>
|valign="top"|&nbsp;
|-
|valign="top"|<code>cp</code>
|valign="top"|<code>crtdupobj</code>
|valign="top"|&nbsp;
|valign="top"|&nbsp;
|-
|-
Line 15: Line 23:
|valign="top"|<code>wrklib</code><br /><code>wrkobj</code>
|valign="top"|<code>wrklib</code><br /><code>wrkobj</code>
|valign="top"|Shows a scrollable list of selected objects, helps in modifying access rights.
|valign="top"|Shows a scrollable list of selected objects, helps in modifying access rights.
|-
|valign="top"|<code>mv</code>
|valign="top"|<code>rnmobj</code><br /><code>movobj</code>
|valign="top"|&nbsp;
|-
|-
|valign="top"|<code>vi</code>
|valign="top"|<code>vi</code>

Revision as of 01:22, 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  
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).

The table will be expanded over time.