Show Menu
Cheatography

IBM i Commands - SysAdmin Cheat Sheet by

Main IBM i commands for system admins

IFS

GO CMDLNK
Go to Link Commands
WRKLNK
Work with Links
DEL
Remove Link
MOV
Move Object
RNM
Remove Object

QShell

QSH
Start QSH

Library List

ADDLIBLE
Add library to the library list
RMVLIBLE
Remove library to the library list
DSPLIBLE
Display library list
EDTLIBL
Edit library list
CHGLIBL
Change library list
CHGSYSLIBL
Change System Library List
CHGCURLIB
Change current library

Objects and Libraries

CRTLIB
Create library
DLTLIB
Delete library
DSPLIB
Display library
DSPLIBD
Display library descri­ption
CHGLIB
Change library
WRKLIB
Work with libraries
DSPOBJD
Display object descri­ption
CHGOBJD
Change object descri­ption
CRTDUPOBJ
Create duplicated object
WRKOBJ
Work with objects

Database

RUNSQL
Run SQL sentence
STRSQL
Start SQL intera­ctive session
STRQM
Start Query Manager
WRKQRY
Work with queries
DSPPFM
Display physical file member
CRTPF
Create physical file
DLTF
Delete file
WRKRDB­EDIRE
Work with Relational Database Directory Entries
STRDBMON
Start database monitor

Back-up and Recovery

RST
Restore IFS Object
SAV
Save IFS Object
SAVOBJ
Save Object
SAVLIB
Save Library
RSTOBJ
Restore Object
RSTLIB
Restore Library
CRTSAVF
Create Save File
GO SAVE - Opc 21
Full System Back-up
EDTRCYAP
Edit recovery for access paths

Back-up and Recovery with BRMS

GO BRMS
Go to BRMS menu
GO CMDBRM
Go to BRMS commands
SAVBRM
Save IFS object
SAVOBJBRM
Save Object
SAVLIBBRM
Save library
SAVSYSBRM
Save System LIC and QSYS
STRBKUBRM
Start Back-up Group
RSTBRM
Restore IFS object
RSTOBJBRM
Restore object
RSTLIBBRM
Restore library
STRRCYBRM
Start Recovery
DSPLOGBRM
Display BRMS log
WRKMEDBRM
Work with Media
WRKCTLGBRM
Work with Control Groups
WRKPCYBRM
Work with Policies
STRMNTBRM
Start BRMS mainte­nance

Commun­ica­tions

NETSTAT
Work with TCP/IP network status
CFGTCP
Configure TCP/IP menu
CFGTCPAPP
Configure TCP/IP applic­ation menu
STRTCPSVR
Start TCP Server
ENDTCPSVR
End TCP Server
FTP
Start FTP transfer
PING
Verify TCP/IP connection
TRACEROUTE
Trace TCP/IP route

Job management

WRKACTJOB
Work with active jobs (display, hold, release, cancel, etc.)
WRKUSRJOB
Work with jobs for a given user
SBMJOB
Submit job
TFRJOB
Transfer job
WRKJOBSCDE
Work with job schedule entries
WRKJVM
Work with Java Virtual Machine jobs
WRKSBS
Work with subsystems
WRKSBSD
Work with subsystem descri­ptions
WRKJOBQ
Work with job queues
WRKJOBD
Work with job descri­ptions
WRKCLS
Work with class

System resources

WRKSHRPOOL
Work with shared storage pools
WRKSYSSTS
Work with system status
WRKSYSACT
Work with system activity
STRPFRT
Start perfor­mance tools

System logs

DSPLOG
Display log
DSPJOBLOG
Display job log
DSPMSG QSYSOPR
Display system operator message queue
NETSTAT *CNN
Work with IPv4 connec­tions status

Printing and spooling

WRKSPLF
Work with spool files
SNDTCPSPLF
Send spool file via TCPIP
WRKOUTQ
Work with output queues
STRPRTWTR
Start printer writer
STRRMTWTR
Start remote writer
ENDWTR
End writer
WRKDEVD *PRT
Work with printer devices

Author­ities

DSPAUT
Display IFS object authority
CHGAUT
Change IFS object authority
CHGOWN
Change IFS object owner
DSPOBJAUT
Display object authority
CHGOBJAUT
Change object authority
GRTOBJAUT
Grant object authority
RVKOBJAUT
Revoke object authority
CHGOBJOWN
Change object owner
WRKAUTL
Work with author­ization lists

User admin

WRKUSRPRF
Work with user profiles
DSPUSRPRF OPTION­(*G­RPMBR)
Display user profile (group member­ship)
WRKDIRE
Work with directory entries
DSPUSRPMN
Display user permis­sions (email)
GRTUSRPMN
Grant user permis­sions (email)
RVKUSRPMN
Revoke user permis­sions (email)

Auditing

CHGAUD
Change auditing value
CHGOBJAUD
Change object auditing
CHGSECAUD
Change security auditing
DSPSECAUD
Display security auditing
CHGUSRAUD
Change user auditing
DSPAUDJRNE
Display audit journal entry
CPYAUDJRNE
Copy audit journal entry

Security tools

GO SECTOOLS
Go to security tools menu
   
       
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Linux Command Line Cheat Sheet
          mod_rewrite Cheat Sheet
          Subversion Cheat Sheet