명령어
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- ~ : 홈디렉토리
- . : 현재 디렉토리
- .. : 부모 디렉토리