IT/AS400

AS400에서 Command(파일 검색, 복사, 권한 변경 등) 사용(QSH)

GoInWater 2024. 9. 18. 16:48

AS400에서 qsh는 Qshell 명령 언어 인터프리터입니다.

아래는 Qshell에서 사용 가능한 기본 Command입니다.

Command Description
; Separates multiple commands to be run under the same Qshell interpreter shell
set Displays the names and values of all shell variables by specifying no options or arguments
pwd Displays the working directory on standard output
ls Lists directory contents
cd Changes the working directory
print Writes to standard output
export Sets the export attribute for variables (for example, export PATH=/usr/bin: will set the PATH variable to /usr/bin:)
cat Reads the specified files sequentially and writes them to standard output
chmod Changes the operating system data authorities for an object
cp Copies files
grep Searches a file for a pattern
print $JOBNAME Writes the current Qshell Interpreter qualified job name to standard output
getjobid Writes the child qualified job name and process ID for the specified process to standard output
jar Combines multiple files into one Java™ Archive file
java Runs Java programs
mkdir Creates directories
mv Moves files
pax Reads, writes, and lists the members of an archive file, and copies directory hierarchies
rm Removes files (for example, the command rm -r removes the directory and file contents)
s Starts a subshell of the Qshell command language interpreter
system Runs a CL command within Qshell interpreter
tar Reads, writes, and lists files from an archive file

 

아래는 실행 화면입니다.

QSH 실행

 

Qshell 화면

'IT > AS400' 카테고리의 다른 글

IBM i Access 7.1 Patch(SI60523) 설치  (0) 2025.01.14
AS400 Job Schedule(백업 시간 등) 시간 변경  (0) 2024.09.19