Introduction to terminal
Terminal and nano text editor
cd : (filename) change directory
rmdir : delete directories
touch: create new file such as text or pdf
rm : remove file
cd : return to home
cd .. : return to previous directories
pwd : out put the path of the directories
clear : clear all the screen content
man: describe a command meaning
help : see a list of all integrated
history : remind our type history
exit : close the terminal
info : manual pages
kill : terminate processes manually
what is : command line a keyword search
tree : list directories in the tree
grep : used to search for a text in the file
zip : used to compress files
unzip : used to decompress a .zip file
history :display the list of all command since started the session
df :shows the amount disk used and free space and files name and path
du :shows the amount disk used
file :out put file type
ln : create a short cut to a file
rename : rename files
uniq : clean shorted file from duplicate lines
who : detailed information on registered users
passwd : change user password
echo : use to display reflected
ifconfig : show network details and ip address
reboot : restart the system
shutdown : shutdown the system
su : (user name) : change user
users : display users information
id : display user id
watch free -h - display free space in the system
date : system time
more: display text files in the terminal
adduser : create user account
sudo : administrator rights
free : retrieve memory usage
uptime : retrieve system run time
tail : display last 10 lines
head : display first 10 lines
less : display text files in the terminal
more :display text file smaller range of functions
who : show who is logged on
ctrl+c : Display the position of the cursor
ctrl+k : cut text
ctrl+u: uncut text
ctrl+o : Write the current file to disk
ctrl+s :save file
ctrl+x : exits the editor
Comments
Post a Comment