Basic Linux Commands


pwd - show path of present working dir
ls - list directory contents
cd - change to a directory
rm - to delete files
nano - text editor to open file
su - run the shell of another user
sudo - execute a command with temporary root privileges
cat - display file contents
echo - display msg on screen
free - to display memory usage
fsck - to check disk
kwrite - to launch a GUI text editor
grep - to search for files with given string
chmod - change privileges for a file
init - switch between run levels
/etc/init.d/gdm stop - to stop the gnome desktop manager & enter shell mode
/etc/init.d/kdm stop - to stop kde desktop manager
ifconfig - configure network adapter
iwconfig - configure a wireless card
man - gives manual, entire details for a command
sudo dpkg -i to install a Debian .deb package

0 comments:

Post a Comment