Ash CLI 가이드

34의 명령어를 찾았습니다

cd
navigation
현재 디렉토리를 변경합니다.

예제:

$ cd [경로]
change
directory
move
ls
file
디렉토리의 파일과 폴더 목록을 표시합니다.

예제:

$ ls [옵션] [경로]
list
directory
files
cp
file
파일이나 디렉토리를 복사합니다.

예제:

$ cp [옵션] [원본] [대상]
copy
file
duplicate
mv
file
파일이나 디렉토리를 이동하거나 이름을 변경합니다.

예제:

$ mv [옵션] [원본] [대상]
move
rename
file
rm
file
파일이나 디렉토리를 삭제합니다.

예제:

$ rm [옵션] [파일/디렉토리]
remove
delete
file
mkdir
directory
새 디렉토리를 생성합니다.

예제:

$ mkdir [옵션] [디렉토리명]
create
directory
folder
rmdir
directory
빈 디렉토리를 삭제합니다.

예제:

$ rmdir [옵션] [디렉토리명]
remove
delete
directory
cat
file
파일의 내용을 표시합니다.

예제:

$ cat [옵션] [파일명]
view
content
file
grep
text
파일에서 패턴을 검색합니다.

예제:

$ grep [옵션] [패턴] [파일명]
search
pattern
text
chmod
permission
파일이나 디렉토리의 권한을 변경합니다.

예제:

$ chmod [옵션] [권한] [파일/디렉토리]
permission
access
mode
alias
shell
명령어 별칭 생성 및 관리

예제:

$ alias ll='ls -l' alias la='ls -la' alias
alias
shortcut
command
bg
process
백그라운드로 작업 실행

예제:

$ command & bg %1 bg %2
background
job
process
cd
filesystem
작업 디렉토리 변경

예제:

$ cd /path/to/dir cd .. cd ~
directory
navigation
path
echo
text
텍스트 출력

예제:

$ echo 'Hello World' echo $PATH echo -n 'No newline'
output
print
text
eval
shell
문자열을 명령어로 실행

예제:

$ eval 'ls -l' eval 'cd /tmp && pwd' eval 'echo $HOME'
evaluation
command
string
exec
process
현재 셸을 새로운 프로세스로 대체

예제:

$ exec ls exec bash exec /bin/sh
execute
replace
process
exit
shell
셸 종료

예제:

$ exit exit 0 exit 1
quit
terminate
shell
export
shell
환경 변수 설정

예제:

$ export PATH=/usr/bin export HOME=/home/user export
environment
variable
shell
fg
process
포그라운드로 작업 가져오기

예제:

$ fg %1 fg %2 fg
foreground
job
process
hash
shell
명령어 경로 해시 테이블 관리

예제:

$ hash hash -r hash command
path
command
cache
jobs
process
작업 목록 표시

예제:

$ jobs jobs -l jobs -p
job
process
list
pwd
filesystem
현재 작업 디렉토리 출력

예제:

$ pwd pwd -P pwd -L
directory
path
current
read
input
표준 입력에서 읽기

예제:

$ read variable read -p 'Prompt: ' variable read -s password
input
read
variable
readonly
shell
읽기 전용 변수 설정

예제:

$ readonly variable readonly PATH readonly
variable
constant
shell
set
shell
셸 옵션 설정

예제:

$ set -e set -x set +x
option
shell
setting
shift
shell
위치 매개변수 이동

예제:

$ shift shift 2 shift $1
parameter
argument
shell
test
shell
조건 평가

예제:

$ test -f file test -d dir test $var = value
condition
test
evaluation
times
shell
셸 및 셸의 자식 프로세스의 사용자 및 시스템 시간 출력

예제:

$ times
time
process
shell
trap
shell
시그널 처리 설정

예제:

$ trap 'echo Exit' EXIT trap - EXIT trap
signal
handler
shell
type
shell
명령어 타입 표시

예제:

$ type command type -a command type -t command
command
type
shell
ulimit
system
리소스 제한 설정

예제:

$ ulimit -a ulimit -n 1024 ulimit -u 1000
limit
resource
system
umask
filesystem
파일 생성 권한 마스크 설정

예제:

$ umask umask 022 umask -S
permission
mask
file
unset
shell
변수 제거

예제:

$ unset variable unset PATH unset -f function
variable
remove
shell
wait
process
백그라운드 작업 완료 대기

예제:

$ wait wait %1 wait $!
wait
job
process