LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2009, 06:52 PM   #46
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325

For shutdown:

shutdown -h now

rewboot:

shutdown -r now


h = halt, r = reboot

Haven't read through all the posts, but the RHEL manual is here:http://www.linuxtopia.org/online_boo...ion/index.html
Actually pretty well written. Some bits are described via the GUI, but most has the text version or it shows you that as well.
Incidentally, if you had put the gui on, you'd just open up some virtual xterms to get the cli anyway.
Similar to logging in via MSWin+Putty.

Also, these might be useful:
http://rute.2038bug.com/index.html.gz good general Linux tutorial, RH oriented. covers some stuff the RHEL manual won't.
http://linux.oneandoneis2.org/LNW.htm - short MS/Linux comparison; points out common issues mentally when trying to make the switch.

Last edited by chrism01; 07-06-2009 at 06:55 PM.
 
Old 07-06-2009, 08:11 PM   #47
rsciw
Member
 
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206

Rep: Reputation: 44
if it hasn't come up yet.
to get a user to have sudo rights, you need to be logged in as root and run

visudo
either uncomment the line out with the group 'wheel'
or add your user below the line where root is included
copy the line and replace root with your username,
though adding the user to the group wheel is probably better.

save and exit
(standard install I think uses vim for visudo.
--> http://www.tuxfiles.org/linuxhelp/vimcheat.html )

hit "insert" or "i" to get into edit mode, edit stuff, then hit "esc", then
:wq
to write and quite
then log onto your user and run a command for which su is needed with
sudo <command>
first time sudo, accept what's written there,
enter your password (not root's pw) and hit enter

also the standard install of centos has a crappy way of displaying bash paths imo,
[user@hostname currentdirectory]
this can be edited in your local .bashrc file
/home/youruser/.bashrc
(check around for couple pages online, not sure which one to recommend)
I personally prefer to have debian's style of bash display

user@hostname:directory/subdirectory/subsub/...$
so I know where I actually am

also helpful is to edit your PATH in the .bashrc file.
by default not much is set up, so you often end up with typing
/sbin/<command> or /bin/<command>
whereas I prefer to just type the command (such as shutdown, ifconfig, etc.)
have a look at the .bashrc for the PATH and add those too, maybe as well, if not included already
/usr/bin
/usr/sbin
 
Old 07-07-2009, 11:18 AM   #48
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
thanks guys. no, that part hadn't come up yet rsciw.
 
Old 07-08-2009, 08:48 AM   #49
dickgregory
Member
 
Registered: Oct 2002
Location: Houston
Distribution: Arch, PCLinuxOS, Mint
Posts: 257

Rep: Reputation: 34
There are 2 mistakes a lot of people make when coming from Windows into Linux:

1: Thinking that Linux is like Windows
2: Thinking that Linux is not like Windows

In other words there are may differences and many similarities. The similarities can make a person unconsciously think they are working in the familiar environment, and then the differences get very confusing. Here is an online book that helped me a great deal in sorting this out.

http://www.michaelhorowitz.com/Linux.vs.Windows.html


The author has tried to create an unbiased comparison between the two, and has avoided OS-bashing and fan-boy stuff.

Good luck
 
Old 07-08-2009, 09:20 AM   #50
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
thanks dickgregory, i'll check it out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Windows guy needs to learn Linux fast! help?!? rjo98 Linux - Enterprise 4 07-02-2009 08:54 PM
LXer: Linux Guy and Windows Guy Walk a Mile in Each Other's Shoes LXer Syndicated Linux News 0 01-13-2009 06:40 PM
Old DOS/Windows Guy darren1959 LinuxQuestions.org Member Intro 1 11-26-2008 06:53 PM
LXer: Windows Guy Tries Linux Mint: Part 2 Of Our Distro For Windows Converts Review LXer Syndicated Linux News 0 09-10-2008 08:12 PM
windows guy going linux... new_linux_goof Linux - Software 25 04-07-2002 08:24 PM


All times are GMT -5. The time now is 02:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration