Shift from file operations to Linux commands to improve your engineering skills. I briefly summarized the basic knowledge and basic commands.
Open source OS. One of Unix-like OS. Since the 2010s, it has been widely used as an OS for servers.
The shell is software that provides an interface for interacting with the OS.
Image quote: CORE CONCEPT TECHNOLOGY INC. Blog: [Maybe in 10 minutes] What is a shell?
From the terminal, check with the following command.
$ echo $SHELL
shell | Explanation |
---|---|
sh | An old shell. AT&Developed by Steven Bourne of T-Bell Labs, it is called the Bourne shell after the developer. |
csh | It is called the C shell because it has a syntax similar to C language. Compared to the Bourne shell, it has more convenient functions (history function, job control, alias, etc.) for interactive use. |
bash | Based on the Bourne shell and expanded its functionality. |
tcsh | A C shell with Tenex functionality built into it. Tenex is a system that has a command line (command input part) editing function and a file name and command interpolation function. |
zsh | It takes advantage of other shell features such as bash and tcsh, and implements its own extensions. |
command | Explanation |
---|---|
cd <path> | |
pwd | Show current directory(print working directory) |
mkdir <new folder> | New folder<new folder>Create(make directory) |
touch <new file> | New file<new file>Create |
ls | List files and folders in the current directory(list) |
rm <file> | <file>Delete |
rm -r <folder> | <folder>Delete |
Recommended Posts