명령어
date
출력
2024년 09월 3일 화 오후 11:04:56
명령어
ls
출력
AppData/
Apple/
'Application Data'@
Contacts/
Cookies@
...
명령어
clear
출력
명령어
passwd
출력
Changing password for user ec2-user.
Current password:
명령어
man date
출력
DATE(1) User Commands DATE(1)
NAME
date - print or set the system date and time
SYNOPSIS
date [OPTION]... [+FORMAT]
date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]
DESCRIPTION
Display the current time in the given FORMAT, or set the system date.
Mandatory arguments to long options are mandatory for short options too.
명령어
pwd
출력
/home/ec2-user
명령어
mkdir hello
출력
$ ls
hello
명령어
cd hello
출력
$ pwd
/home/ec2-user/hello
명령어
ls -s
출력
total 4
4 hello.txt
명령어
ls -a
출력
. .. hello.txt
명령어
ls -l
출력
total 4
-rw-r--r--. 1 root root 13 Sep 3 14:20 hello.txt
- ~ : 홈디렉토리
- . : 현재 디렉토리
- .. : 부모 디렉토리