blkid Get the UUID of the device
$sudo blkid device name
cd
$ 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
$ find *.jpg | wc -l
mkdir [option] -p Create multi-level directories at once (multiple directories can be created at once)
mogrify
$ mogrify -format pdf *.jpg
mv Move, rename
$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