Commands Used In Terminal

Commands :              usage


cd  :  used to change directory 
cd /  :  change to root directory
cd ..  :  change current directory to parent directory
cd -   : move one directory back from where you are now
cp -r  :  used to copy any directory [including hidden files]
cp -f  :  force copy by removing the destination files if needed 
mv -f  : force move by overwriting destination files without prompt
mv -v  :  to move any directory
mv [file1 name] [new file2 name]  :  To rename files file1 renames to file2
ls  :  list current folder contets
ls -l  :  list current folder contets
ls -a  : list all files including hidden files
ls -lh   :  it shows size of files in human readable format
ls -R   :  shows recursively list of sub-directories
cat [file]  :   to display file information
nano [file]  :  to display and edit files
chmod +x [file]  :  used to executable permission to a file
chmod +X * :  to give executable permission to all files
touch [file name]  :  to create a file ,like file.txt
mkdir [name]  :  used to create folder / directory 
wget   :  this command used to download any file from online source like github
rm [file]  : used to clone any repository from github
git clone [github url]   :  used to remove/Delete any file


apt search [qurey] :  to search any package
locate [query] : find all path names contains a pharse
du  : Display directory space usage
df  :  display disk usage.
cal : To display calender
whoami : it shows your login name
uname -a  :  used to Display kernal information
date  :  it shows the current date & time
uptime  : this command shows system current uptime
cat /proc/meminfo  :  it shows memory information
cat /proc/cpuinfo  :  it shows cpu information
cat /proc/version :  it shows information about Linux system

advance commands   

uptime  :  it shows the current date & time
free   : Display Memory & swap usage
kill [PID] : kill process by pid{process id}
ps  : It shows all running process on your Device
nano [file]  : Edit any file with nano text editor
zip name.zip [your file here to zip]  :  used to make a zip file
unzip [file.zip]  :  used to unzip any zip file
vi :   This is default text Editor
moonbuggy  :  Terminal game for Termux
rmdir [dir name] :  used to remove directory

Comments

Join us: t.me/Xpykerz

Share And Support