Unix/Linux Go Back    

UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

UNIX Basics

UNIX for Dummies Questions & Answers

Thread Tools Search this Thread Display Modes
Old Unix and Linux 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


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
Old Unix and Linux 12-30-2012
RudiC RudiC is offline Forum Staff  
Join Date: Jul 2012
Last Activity: 22 October 2016, 4:18 PM EDT
Location: Aachen, Germany
Posts: 9,595
Thanks: 191
Thanked 2,830 Times in 2,644 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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:54 AM.