Techno World Inc - The Best Technical Encyclopedia Online!

THE TECHNO CLUB [ TECHNOWORLDINC.COM ] => Linux => Topic started by: Mark David on February 21, 2008, 12:19:59 PM



Title: A few basic linux commands u need to know to actually use linux
Post by: Mark David on February 21, 2008, 12:19:59 PM
A few basic linux commands u need to know to actually use linux

The following is a non-comprehensive list of commands that I use regularly and had some difficulty finding when I first started with Linux. These commands are the fundamentals -- absolute basics.

execute a program
./

Change directory
cd

Go to home dir
cd

Change permissions
chmod

Change ownership
chown

Create a new user
adduser

Change password
passwd

Make an ssh connection
ssh -l


Use text browser
lynx

Switch users
su -u

Remote root login
su -u root (after regular connection is made)

Create multiple screens
screen

Check connections
netstat

Access a cd
mount /mnt/cdrom

Eject a cd
umount /mnt/cdrom eject

Access irc channel
irc (assuming it is in a directory that is included in your env path)

Access your ipchains or iptables
./ipchains or ipchains (may have to be in directory depending on env path)

Check your location
pwd

Send network message
talk

Check network config
linuxconf

Find a file
find / -name -print (wildcards * can be used)

Get info on a program : man
Make a new directory : mkdir

Remove a directory : rmdir

List all files in a directory : ls

Display file content : cat

Copy files : cp

Move files : mv

Search for a keyword : grep

Create a new text doc : pico or vi (if you are a newbie, use pico)

Start X client : startx

Stop a process : kill

Via: Techmaestro (http://techmaestros.blogspot.com/search/label/Hacks)