pwd | Prints the working directory to the screen Prints the working directory to the screen, such as /home/manager |
whoami | Returns the username of the current user Returns the username of the current user, such as abc1 or annemary |
cat | Displays the content of a file |
cat manager.txt | Displays the content of the manager.txt file |
head | Displays just the beginning of a file, by default 10 lines |
head manager.txt | Displays only the first 10 lines of the manager.txt file |
head -n 5 manage.txt | Displays only the first five lines of the manage.txt file; the -n option allows users to specify the number of lines to return |
'Language 언어 > Computer 컴퓨터 용어' 카테고리의 다른 글
Cybersecurity Glossary Matching Quiz (0) | 2025.04.11 |
---|---|
Linux_Navigate the file system_1 (0) | 2024.12.08 |