LightBlog

Saturday 19 January 2019

MAC Terminal Commands List with Examples

MAC-Terminal-Commands-List-with-Examples


MAC Terminal Commands List 


MAC OS Shortcut Keys


Ctrl + A
Ctrl + E
Ctrl + U
Ctrl + K
Ctrl + W
Ctrl + T 
Esc + T 
Ctrl + R
Ctrl + L 
Ctrl + C 
Ctrl + D 



cd 
cd [folder] 
cd ~
cd / 
ls   
ls -l 
ls -a 
ls -lh 
ls -R 
sudo [Command]- 
open (filename) 
open 
top   
nano [file name
pico [file name] 
q     
clear 

History 

Ctrl-r   
! [value] 
!!     

File Management

touch [file] 
pwd 
.. 
ls -l .. 
cd ../../ 
cat   
rm [file name] 
rm -i [file name]
rm -r [dir] 
rm -f [file] 
rm -i [file] 
cp [file name] [new file name]
cp [file] [dir]   
mv [file] [new file name] 

Directory Management

mkdir [dir] 
mkdir -p [dir]/[dir]   
rmdir [dir]   
rm -R [dir] 

Help 

[commands] -h 
[commands] --help
[commands] help 
reset
man [command] 
whatis [commands] 


Also Read:


No comments:

Post a Comment