Tuesday, October 23, 2012

How to Check installed Version of Linux

The following are how to know the version of some popular Linux Distro: 
  • UBUNTU: "lsb_release -a" 
  • DEBIAN: "cat /etc/debian_version"
  • SLACKWARE: "cat /etc/slackware-version"
  • SUSE: "cat /etc/SuSE-release"
  • REDHAT: "cat /etc/redhat-release"
  • CENTOS: "cat /etc/redhat-release"
  • FEDORA: "cat /etc/fedora-release"
  • GENTOO: "cat /etc/gentoo-release"  
    Linux
    
    

Click Here for Details....

Friday, May 25, 2012

Basic Linux Command

Basic Linux Commands
cat Prints the contents of a file
cd Changes directories
chmod Changes file access permissions
cp Copies files
du Prints disk usage
emacs Edits text files
find Finds files by searching
gcc Compiles C/C++/Fortran programs
grep Searches for a string in input
less Filter for paging through output
ln Creates links between files
locate Finds files from an index
ls Lists files in the current directory
make Compiles and installs programs
man Displays manual pages for reading
mkdir Makes directories
mv Moves files
ps Lists processes
rm Deletes files and directories
ssh Connects to other machines using a secure shell connection
tail Prints the last lines of a file
top Prints resource usage
vim Edits text files
which Prints the location of a command
xargs Executes commands from its input

Click Here for Details....