Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-01-2004, 09:29 AM   #1 (permalink)
 
Newb Techie

Join Date: Sep 2004

Posts: 12

kartook

Default basic linux commands

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 <space>

change permissions
chmod

change ownership
chown

create a new user
adduser

change password
passwd

make an ssh connection
ssh -l <username> <address>

use text browser
lynx <url>

switch users
su -u <username>

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 <username or ip>

check network config
linuxconf

find a file
find / -name <filename> -print (wildcards * can be used)

get info on a program
make a new directory
remove a directory
list all files in a directory
display file content
copy files
move files
search for a keyword
create a new text doc
start X client
stop a process
man <program name>
mkdir <directory name>
rmdir <directory name>
ls
cat <filename>
cp <filename>
mv <source file directory> <new file directory>
grep <keyword><filename>
pico or vi (if you are a newbie, use pico)
startx
kill <process number>
kartook is offline  
Old 12-01-2004, 04:12 PM   #2 (permalink)
 
Banned

Join Date: Oct 2004

Posts: 447

Pavlyk

Send a message via AIM to Pavlyk
Default

I think this should go into the tutorial section somewhere, but thanks anyways.
Pavlyk is offline  
Old 12-02-2004, 10:37 PM   #3 (permalink)
 
Newb Techie

Join Date: Sep 2004

Posts: 12

kartook

Default reply from this post

copied from other is correct but this is useful for all
tell me my friend

kartook
kartook is offline  
Old 12-04-2004, 05:47 AM   #4 (permalink)
 
Newb Techie

Join Date: Oct 2004

Posts: 35

Tuxthepenguin

Default

for ssh you can use this instead:
ssh <user>@<host>

If the mount point /mnt/cdrom isnt in your /etc/fstab file:
mount /dev/hdc /mnt/cdrom
--Assuming it isnt an SCSI drive...

anyway, i'm sleepy, ill post somemore corrections/clarifications later.
Tuxthepenguin is offline  
Old 12-04-2004, 12:45 PM   #5 (permalink)
 
Super Techie

Join Date: Sep 2004

Posts: 371

IAM_7154 is on a distinguished road

Default

cal (year)

calender for any year until 9999!
IAM_7154 is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On