[Linux] Learn the basics of shell commands

1. What is a shell?

-One of the user interfaces such as Unix and Linux -Enter a text command in the terminal -Execute the command in the shell on the server side -Display processing results and error information on the terminal

2. Main functions of the shell

・ Start / switch / stop the program -File operations -Command input history and completion ・ Batch execution of a series of processes

3. Benefits of shell

・ Can be used only with keyboard and text screen ・ Remote access via network -The command history becomes the work procedure. Can be automated. ・ Many tools support shell commands

4. Linux commands

Command name Contents
cat -Commands used to output the contents of the file
cd ・ Move the directory
cp -Copy files and directories
echo ・ Display specified characters
history -Display command execution history
ls -Display file and directory information
ls -a ・ Show hidden files
ls -l -Display detailed information of the file
ls -al ・ Display hidden files and detailed information
mkdir -Create a directory
mv -Move or rename files and directories
pwd -Display where the folder (directory) that the shell is currently paying attention to is
rm -Delete files and directories
touch -Create a new empty file
vi -Create a new file and edit

Recommended Posts

[Linux] Learn the basics of shell commands
Learn the basics of Python ① Beginners
Learn the basics of Theano once again
Commands and files to check the version of CentOS Linux
Basic knowledge of Linux and basic commands
Review of the basics of Python (FizzBuzz)
List of frequently used Linux commands
About the basics list of Python basics
Linux commands
Linux commands
Shell script (Linux, macOS) that outputs the date of the last week
linux commands
Linux basics
Linux commands
Linux commands
[Understanding in 3 minutes] The beginning of Linux
[Linux] Review of frequently used basic commands 2
[Linux] Summary of middleware version confirmation commands
Learn the basics while touching python Variables
[Linux] List of Linux commands used in practice
A quick overview of the Linux kernel
I didn't know the basics of Python
[Linux setting series] Prompt setting of bash. / prompt / bash / shell
The basics of running NoxPlayer in Python
Understand the "temporary" part of UNIX / Linux
Summary of petit techniques for Linux commands
[Linux] Review of frequently used basic commands
Let the machine "learn" the rules of FizzBuzz
Intuitively learn the reshape of Python np
[Python3] Understand the basics of file operations
[Linux] Command to get a list of commands executed in the past
Learn the basics of document classification by natural language processing, topic model
[Linux] Review of commands for deploying on AWS
Shell script basics # 2
Network Linux commands
Verbalize Linux commands
The origin of Manjaro Linux is "Mount Kilimanjaro"
Linux user commands
Basics of Python ①
Basics of python ①
Linux [shell command]
New Linux commands! !!
Basic LINUX commands
Linux command basics
[Linux command] A memorandum of frequently used commands
Learn while implementing with Scipy Logistic regression and the basics of multi-layer perceptron
Various Linux commands
the shell review
Typical Linux commands (7)
I want to use Linux commands at the command prompt! Use Linux commands at the command prompt instead of Git Bash
[Linux] A list of Linux commands that beginners should know
Learn Nim with Python (from the beginning of the year).
Summary of Linux (UNIX) commands that appeared in Progate
The story of replacing Nvidia GTX 1650 with Linux Mint 20.1.
The story of building the fastest Linux environment in the world
Open Chrome version of LINE from the command line [Linux]
Let's break down the basics of TensorFlow Python code
[C language] [Linux] Get the value of environment variable
I want to fully understand the basics of Bokeh
Learn the design pattern "Chain of Responsibility" in Python
I checked the default OS and shell of docker-machine