»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 12-03-2003, 11:11 AM   #1 (permalink)
Registered User
 
crouse's Avatar
 
Join Date: Jun 2002
Location: Iowa
Posts: 2,527
crouse is on a distinguished road
Send a message via ICQ to crouse
Linux - command line commands.

I wrote these up a while back just for my own reference as I started out with Linux.

Here is a few of the more common commands. Feel free to add to the list Couldn't remember if this list was already posted or not. Didn't find anything on a search, so decided to post it.... hope it isn't a double post.

xkill Kills a running program
exit Exits the terminal
reboot Reboots the system
halt Shutsdown the computer
startx Starts xwindows from terminal
man man(command)shows help files
info info(command) shows help files
--help (command)--help shows help files
su Allow you to login as Super User

ls "Lists" the contents of the directory
pwd Displays "present working directory"
cd cd (name) change directory TOname)
mkdir mkdir (name) Makes new directory
rmdir rmdir (name) Removes directory
clear Clears the terminal window

date Displays current date and time
cal Displays a calander
uptime Displays time since last reboot
df Displays the disk usage on partitions
du Displays disk usage of directory

id Displays your identification to system
groups Displays groups of current user
ulimit -a Displays users limits
uname Displays name of machine logged into
who Displays "who" is logged on the system
w Similar to "who"

wall Sends message to all logged in users
top Displays cpu processes memory etc
ps Displays current running processes

----------------------
RPM's Mandrake and RedHat

Check if installed already
rpm -q

To Install the rpm
rpm -ih

To Update a program using an rpm
rpm -Uvh
----------------------

Bored try this:

apropos file List tons of file commands

-----------------------

Many of the commands listed above have
options that can be added to change the
output of that command. To see what they are
do a : man (command) and it will show you the
options.

__________________
The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners. --- Author Unknown.
crouse is offline   Reply With Quote
Old 12-03-2003, 01:23 PM   #2 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
Good stuff.
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 12-03-2003, 11:25 PM   #3 (permalink)
Registered User
 
Join Date: Aug 2002
Posts: 63
soulware is on a distinguished road
Quote:
ls -p /usr/bin /bin /sbin /usr/sbin/ | sort
You can find most system commands (utilities) by listing the contents of those directories, so this seems rather trite :P
soulware is offline   Reply With Quote
Old 12-04-2003, 02:41 AM   #4 (permalink)
Registered User
 
CMonster's Avatar
 
Join Date: Oct 2001
Location: Sunny, smogy Southern California
Posts: 5,350
CMonster is on a distinguished road
crouse -I keep getting a message your inbox is full here at TechIMO... can't return those PMs... hope you got my email
CMonster is offline   Reply With Quote
Old 12-04-2003, 12:05 PM   #5 (permalink)
Registered User
 
crouse's Avatar
 
Join Date: Jun 2002
Location: Iowa
Posts: 2,527
crouse is on a distinguished road
Send a message via ICQ to crouse
Got it

Thanks. Will be sending PM later..... inbox is empty(er) now
__________________
The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners. --- Author Unknown.
crouse is offline   Reply With Quote
Old 12-04-2003, 03:57 PM   #6 (permalink)
Registered User
 
samwichse's Avatar
 
Join Date: Oct 2001
Location: Sewanee, TN
Posts: 2,897
samwichse is on a distinguished road
Very nice, if you don't mind, I added it to my little list of plain english Linux tutorials here.

Full credit given of course
samwichse is offline   Reply With Quote
Old 12-04-2003, 04:25 PM   #7 (permalink)
Registered User
 
Join Date: Aug 2002
Location: midwest
Posts: 279
yclyde is on a distinguished road
Nice post for us "command illiterates".

And the Winner of the first " Page optomised for Opera" (that I know of) award goes to samwichse.

Nice work sam!
yclyde is offline   Reply With Quote
Old 12-04-2003, 04:57 PM   #8 (permalink)
Registered User
 
Join Date: Jul 2002
Posts: 10
Tuvok is on a distinguished road
Edited: I apologize for my comment. I don't know what made me post it at the time. It definitely wasn't funny or useful.

Last edited by Tuvok; 02-28-2008 at 06:43 PM. Reason: I've grown up
Tuvok is offline   Reply With Quote
Old 12-04-2003, 10:58 PM   #9 (permalink)
Registered User
 
crouse's Avatar
 
Join Date: Jun 2002
Location: Iowa
Posts: 2,527
crouse is on a distinguished road
Send a message via ICQ to crouse
Quote:
Originally posted by Tuvok ~~~~~ command was
REMOVED BY CROUSE

Tuvok ....... are you a natural A-hole or trying to be humorous ??? Because if some unsuspecting newbie runs this command...... your going to bork their entire system. Not a great way to start out on techimo fella.... Fragging some newbies linux install...

To ALL Those New to Linux : DO NOT RUN THAT COMMAND !!!!!. It erases the root directory and that's BAD...

I'll report the post to the mods..... hopefully they will erase your stupid frickin comment...... thanks for trashing my post dude.
__________________
The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners. --- Author Unknown.

Last edited by crouse; 12-04-2003 at 11:07 PM.
crouse is offline   Reply With Quote
Old 12-04-2003, 11:07 PM   #10 (permalink)
Guest
Guest
 
Posts: n/a
Great idea, by the way, Crouse. I didn't know half of those commands.
  Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 10:13 AM.