Lounge How was your day? Anything goes but please keep it PG-13!

Unix / Linux users Welcome

Thread Tools
 
Search this Thread
 
Old 01-14-2009, 07:36 PM
  #1  
Contributors
Thread Starter
 
nigxdoof's Avatar
 
Join Date: Mar 2007
Location: NYC, Rego Park, Queens
Posts: 5,434
Likes: 0
Received 0 Likes on 0 Posts
My Ride: 2004 E60 530i, 2012 E70 X5 35i
Model Year: 2004
Default

Hey All,

I've got a meeting tomorrow and need to know some basic unix / linux commands. (mainly Red Hat Enterprise Linux)

I know more or less most of them, like grep, less, more, vi, cp, ls, mv, rm.


anyone have some tips or other commands I can learn and play around with to be prepared for tomorrow?


Thanks in advance.
Old 01-15-2009, 03:08 AM
  #2  
Senior Members
 
BetterMakeWay's Avatar
 
Join Date: May 2005
Location: Bucharest, Romania
Posts: 6,458
Likes: 0
Received 0 Likes on 0 Posts
Default

Here you go:

http://www.ss64.com/bash/
(assuming you're using the bash shell as Red Hat user)

http://articles.techrepublic.com.com/5100-...11-5827311.html

Will also post entire useful for everyday command lines when i get home from work.
Old 01-15-2009, 03:43 AM
  #3  
mja
Members
 
mja's Avatar
 
Join Date: Aug 2008
Location: UK
Posts: 50
Likes: 0
Received 0 Likes on 0 Posts
My Ride: Had: 530D 170kW Black 6MT
Default

su

That's the king of commands
Old 01-15-2009, 07:38 AM
  #4  
Contributors
 
tex_phil's Avatar
 
Join Date: May 2008
Location: San Antonio, TX
Posts: 5,895
Likes: 0
Received 0 Likes on 0 Posts
My Ride: 04 525i, 04 Dinan M3
Default

Heres a little list.

su - change to root
cd (dir path) change directory
chown (change ownership)
mv ( mv )
chmod (set file permissions)
awk
w (shows whos currently on the server)
last (shows last logins)
netstat -ntlp (shows what processes are listening)
ps awux shows processes
top shows processes
sar -r (memory load history) -u processor load
free -m
fdisk -l lists disks in server
lsusb
rpm -qa shows currently installed apps on redhat based system
| grep after a command can search

example
ps awux | grep httpd will show the apache processes

pstree

you can | grep processes to see how many are in the process tree

kill -9 Process id will kill the id
reboot (reboots server)
useradd adds user
groupadd adds group
userdel deletes user
crontab -e edits crontab

Lots more, list can go on.

That should get you started.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Trinity Autosport
Vendor Classifieds
20
09-22-2016 11:08 PM
CHRGRS_BMW
E60, E61 Parts, Accessories and Mods
38
09-01-2016 09:39 AM
timmay77
E61 Touring Discussion
7
09-24-2015 09:38 AM
timmay77
E61 Touring Discussion
2
09-23-2015 12:34 AM
Bank$hot530
E60, E61 Parts, Accessories and Mods
0
09-16-2015 01:28 PM



Quick Reply: Unix / Linux users Welcome



All times are GMT -8. The time now is 09:52 PM.