Linux Command Dictionary (for myself)

blkid Get the UUID of the device

$sudo blkid device name

cd

  1. Move to the above directory

$ cd ../       #Move to the next higher directory
$ cd ../../   #Move up two directories

chmod Change file directory permissions

r: Readable (= 4) w: Writable (= 2) x: feasible (= 1)

[option] -R Change all permissions under the specified directory

cp copy

$ cp [option]Copy source Copy destination
$ cp -r Copy source directory Copy destination directory

df Check disk capacity

[option] Display with -H unit

find

  1. Count the number of files (jpg file in the example)
$ find *.jpg | wc -l

mkdir [option] -p Create multi-level directories at once (multiple directories can be created at once)

mogrify

  1. Convert jpg to pdf
$ mogrify -format pdf *.jpg

mv Move, rename

  1. Move multiple files at once

$mv file1 file2 file3 file4 Copy destination directory
#Multiple files can be moved at once

rm Delete

[option] -r Delete all directories (including contents)

Recommended Posts

Linux Command Dictionary (for myself)
Linux command for self-collection
Linux command memorandum [for beginners]
[Note] [For myself] Django command
Linux command # 4
Linux command # 3
Linux command # 5
python [for myself]
Linux command list
linux at command
[Linux] Search command
Linux command <Basic 2>
[Linux command summary] Command list [Must-see for beginners]
Linux server command
Linux # Command Memo 1
Linux command [read]
Linux Command Summary
[Basic] linux command
Linux [shell command]
[Linux] Command / Knowledge
pyenv for linux
My linux command
Linux command <Basic 1>
Linux command collection
Linux mkdir command
Linux command basics
[Linux] Git command
Linux (command memory)
[Linux command] cp command option list [Must-see for beginners]
[Linux command] ls command option list [Must-see for beginners]
[Linux command] touch command option list [Must-see for beginners]
[Linux command] less command option list [Must-see for beginners]
[Linux command] cat command option list [Must-see for beginners]
[Linux command] pwd command option list [Must-see for beginners]
[Linux command] rm command option list [Must-see for beginners]
[Linux command] cd command option list [Must-see for beginners]
[Linux command] mv command option list [Must-see for beginners]
[Linux command] man command option list [Must-see for beginners]
How to create a shortcut command for LINUX
[Linux command] ssh command option list [Must-see for beginners]
[Linux command] mkdir command option list [Must-see for beginners]
[Linux] Volume configuration command
Linux command cheat sheet
Linux command (sequential update)
Linux basic command memorandum
Linux command [File operation]
[Linux] Basic command summary
What is Linux for?
linux command error collection 1
Linux command line shortcut
Freecad memorandum (for myself)
linux sar command CPU usage
Python memo (for myself): Array
[Linux] tar.gz compression / decompression command
Python list, for statement, dictionary
What is Linux? [Command list]
Linux Kernel Build for DE10nano
Search for large files on Linux from the command line
Linux distribution recommended for beginners
Python Tkinter notes (for myself)
Flutter platform channels for Linux