It's been a few months since I started learning, but I'll write the commands I've used so far instead of the output, so I hope it will be useful for people who are just starting to learn. This time I will write about folder operations. File operations are written on a separate page.
$ pwd
$ ls
You can optionally set details such as listing files and arranging them in order of modification time.
ls -l List files (details) ls -t Arrange the list in order of file modification time ls -r Sort the list in descending order ls -ltr Sort file list in descending order of update time
You have now created a file called aaa.
$ mkdir aaa
cd (no destination specified) Move to home directory cd. Change to the current directory cd .. Move up one directory
You can delete directories, but you cannot delete directories that are not empty.
$ rmdir aaa
Recommended Posts