UNIX Basics | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

UNIX Basics

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-29-2012
Iwn Iwn is offline
Registered User
 
Join Date: Dec 2012
Last Activity: 29 December 2012, 7:22 AM EST
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
UNIX Basics

Hello,

1) I am trying to get involved in UNIX for educational purposes so I have installed the latest Ubuntu edition 12.04. Do you know another package that I could use it instead for educational purposes?

2)What is the difference between "~$" and "/$" (it comes with cd / and cd ~) .The latter "/$" should mean the root user?

3) I also get the root user by using "sudo -s" and I get "root@ubuntu: /#" which I think stands for the root user.I have created some new users with command "adduser".The commands "useradd" and "groupadd" which are morejust don't work (why?).Eventhough I have created the new users when Ι am as "root@ubuntu: /#" Ι can't see the new users? Also when I am connected as "y@ubuntu: /$" ( y is my name) and I type users I only get "y y" who are these users and I why I take them double? Why is that?The same happens when I put "y@ubuntu: ~$".What should I do to see the users?

Thanks for your time...!
Sponsored Links
    #2  
Old 12-30-2012
RudiC RudiC is online now Forum Advisor  
Registered User
 
Join Date: Jul 2012
Last Activity: 1 September 2014, 3:39 AM EDT
Location: Aachen, Germany
Posts: 4,152
Thanks: 67
Thanked 992 Times in 940 Posts
1) fine
2) ~: home directory; /: root directory (file system root, not user "root"). $ is the prompt for non-root users ususally used, can be modified.
3) I don't understand. Adding users creates accounts so they can log in. The users command lists users actually logged in (as does who ). So y y indicates you are logged in twice, and nobody else.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Just started using UNIX, im at the basics and my scripts broken. solomonsnare Shell Programming and Scripting 6 11-08-2012 11:10 AM
Need inputs on UNIX script basics ustechie Shell Programming and Scripting 2 01-13-2011 03:43 AM
UNIX/AIX Performance Tuning = some basics please newbie_01 AIX 2 09-18-2010 01:11 AM
Unix Basics cap97 UNIX for Dummies Questions & Answers 2 10-14-2003 09:08 PM
UNIX Basics paulSF UNIX for Dummies Questions & Answers 2 03-22-2002 01:45 AM



All times are GMT -4. The time now is 03:39 AM.