✍ Kashif M
Trends

Sunday, 16 February 2014


Basic Linux commands


By on February 16, 2014



To Open Share folder in Linux:

1.       Hit on backslash
2.       Type sftp//:192.168.1.2

To Switch User in Linux
Su –
Password

To see the IP in Linux
Ifconfig
To see the file contant
cat filename

To edit file content
Vi filename
To save file after doing changes
:wq!

To see hostname
Hostname filename


To run RPM package

 RPM -ivh packagename

To View Package

 RPM -qa | grep -i packagename

To change Mode READ,WRIE and Executable

 chmode 777 directoryname/filename

 chmode 777 *.*     --- it will give full permissions for all files in that directory



to copy directory

cp -R dir1 dir2


here dir1 folder and subfolder will copy into dir2



Kashif
mkashu: Basic Linux commands
Review : Kashif | Kashif
Update: February 16, 2014 | Rating: 4.5

Comment for "Basic Linux commands"

0 comments

Post a Comment

Blog Archive