✍ Kashif M

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//:

To Switch User in Linux
Su –

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

To edit file content
Vi filename
To save file after doing changes

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

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

Comment for "Basic Linux commands"


Post a Comment

Blog Archive