[Basic] linux command

Command Description
ls Show files and directories in the current directory
ls -l Display file and directory details at the same time
ls -a Show all files and directories, including hidden files
ls−la Show details of all files and directories, including hidden files
-l long format
-d Show only specified directory information
cd change directory
cd ~/ Go to your home directory
cd .. Move to the next higher level file
cd filename go to file
pwd print working directory
touch filename empty file created
mkdir folder name An empty folder is created. (Make directory)
mv filename a/ move move file to a/with relative path
mv file a file b rename file a to file b
rm filename remove file
rm directory name delete directory and its contents
rm -f filename delete file without warning
rm -rf directory name delete directory and its contents without warning
cp Copy file
-p Preserve file attributes
-R Whole copy
-v Show copied file names
cat View the contents of a text file
man View manual
whatis Show a brief description of the command
which Find out where to save the command
type Find out where to save the command
apropos Search for commands by keyword
find File search *[find directory name-name file name]Search by
cal Calendar display Example) cal 11 2018
date date display

I referred to this article. https://qiita.com/ryouzi/items/f9dee1540a04a0bfb9a3

Recommended Posts

Linux command <Basic 2>
[Basic] linux command
Linux command <Basic 1>
Linux basic command memorandum
[Linux] Basic command summary
Linux command # 3
Linux command # 5
Linux command list
linux at command
[Linux] Search command
Linux [directory command]
Linux server command
Linux # Command Memo 1
Linux command [read]
Linux [shell command]
Basic LINUX commands
[Linux] Command / Knowledge
My linux command
Linux command collection
Linux mkdir command
Linux command basics
[Linux] Git command
Linux command (basic in basic) personal memo
Linux (command memory)
Linux operation for beginners Basic command summary
[Linux] Volume configuration command
Linux command cheat sheet
Linux command (sequential update)
Linux command [File operation]
Basic knowledge about Linux
Basic Python command memo
Linux command for self-collection
linux command error collection 1
Linux command line shortcut
linux sar command CPU usage
CLI and Linux basic terms
What is Linux? [Command list]
[Copy and paste OK] Basic Linux command collection [18 selections]
virtualenv Basic command usage memo
Easy df command on Linux
Linux
Linux tar xz command memo
Linux Command Dictionary (for myself)
linux: create original Terminal command
[Note] Useful linux command collection
Linux command memorandum [for beginners]
Linux PC spec check command
[Linux] User / group command summary
[Infrastructure] Linux command, shell script collection
Basic knowledge of Linux and basic commands
[Linux] OS recovery with restore command
Completion of docker command on Linux
[Linux convenient command] Try inserting csview
Permission and ownership change command [Linux]
LINUX command [wc edition] Usage example
Linux command [ldconfig] LPIC learning memo
[linux] kill command to kill the process
[Linux convenient command] Try inserting bat
Linux command 16 procedure manual folder (completed)
Linux Basic Education for Front-end Engineer
About Linux commands Super basic edition