Linux
Linux
Linux
touch abcd{1..9}-xyz
rm abcd* -- is to remove file
----------------------------------------------
Soft and Hard Links (ln)
-----------------------------------------------
cmd -- who, last, finger
these r the cmd to see who loggedin and when..
-----------------------------------------------
Types of Permissions
Read, Write, Execute -- RWX
cat IZYFile
hello hor r u
i am fine
-------------------------------------------------
CMD - *cat - these cmd is used to display the messages.
-------------------------------------------------------
head - these cmd will give first 2 line of messages.
-----------------------------------------------------------
tail - these cmd will give last to line of messages.
------------------------------------------------------------
cmd *Cut
cut --version - these cmd is for checking the verion of cut.
cut -c1 filename
cut -c1,2,4
cut -c1-2 filename
--------------------------------------------------------------
CMD *sort
these cmd is used to sort file in a alphabetic format e.g. abcdefg..
---------------------------------------------------------------
cmd *wc
wc cmd is uded to read the characters in messages or count the words in the
messages.
-------------------------------------------------------------------------
DIFF n CMP
-----------------------------------------------------------------------
vi editor
vi filename
Shift+i to insert
type message
Shift+esc to escape
shidt+zz to save n exit
then do cat to verify itSS
----------------------------------------------------------------
commands
su - username
sudo - command
-----------------------------------------------------------------------------------
What is Kernel??
A Kernel is a interface lies between hardware and a software.
What is a Shell??
A shell is a interface that lies between user and a kernel.