Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-06-2009, 06:52 PM   #46
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,699

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494

For shutdown:

shutdown -h now


shutdown -r now

h = halt, r = reboot

Haven't read through all the posts, but the RHEL manual is here:
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: good general Linux tutorial, RH oriented. covers some stuff the RHEL manual won't. - 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
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

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.
--> )

hit "insert" or "i" to get into edit mode, edit stuff, then hit "esc", then
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
(check around for couple pages online, not sure which one to recommend)
I personally prefer to have debian's style of bash display

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
Old 07-07-2009, 11:18 AM   #48
Senior Member
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,784

Original Poster
Rep: Reputation: 49
thanks guys. no, that part hadn't come up yet rsciw.
Old 07-08-2009, 08:48 AM   #49
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.

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
Senior Member
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,784

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


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 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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:47 AM.

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