** All Linix is represented as a file **
In other words, of course, documents and images are also saved as files.
The entire system is also made up of files.
The Linux kernel, hardware, and keyboard all input and output are assigned to files, and devices can be operated through those files.
/bin ** List the most important commands required for Linux operation **
/dev Directory for storing device files. A special file that allows the hardware to be treated as a file
/etc A directory that stores files that describe various applications and the settings of Linux itself.
/home Home directory assigned to each Linux user.
/sbin The directory where the executable file is placed.
A command to display the current directory.
$ pwd
/home/Mac
$ ls
bin home games ....
$ ls / /home =>You can also specify multiple directories
$cd .. =>Go up one level
$ cd ho
Tab key here
$ cd home
$ cd home/local
And the path name can be completed.
$ cd
List of files starting with ho
$ ls *ho
home homeground hoge
$ ls *.html
index.html hoge.html
Find a file that starts with ho and is 4 characters long
$ ho??
home
$ ls -l =>Display file attributes
$ ls -a =>Show hidden files
Options can be combined and connected for writing.
Recommended Posts