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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
10-23-2007, 05:35 PM
|
#1
|
LQ Newbie
Registered: Oct 2007
Posts: 28
Rep:
|
HELP URGENT i have a few questions-thanks
1)Given the following entry in the /etc/passwd file:
unknown:*:99:99:unknown
user:/var/empty:/usr/bin/false
is this user a system user?
what does the * indicate?
what is the user's home directory?
what is the user's default shell?
2)Given rcc$>ls
fileA.tet fileB.txt
rcc$>
what command would i use to combine the two files together to produce fileC.txt
Given:
rcc$>more widget
#!/bin/sh
echo"this is a text file"
rcc$>
what is the#! called?
why is it there?
please reply ASAP.thanks
|
|
|
10-23-2007, 05:38 PM
|
#2
|
Member
Registered: Sep 2007
Location: UK
Distribution: Slackware 12
Posts: 62
Rep:
|
This looks like school homework
|
|
|
10-23-2007, 05:39 PM
|
#3
|
LQ Newbie
Registered: Oct 2007
Posts: 28
Original Poster
Rep:
|
it is that's why i'm asking for help >.>
|
|
|
10-23-2007, 05:40 PM
|
#4
|
Member
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299
Rep:
|
lol defo homework
I'll bite and give a start....the * means the password is elsewhere...now go find out where and why
|
|
|
10-23-2007, 05:46 PM
|
#5
|
LQ Newbie
Registered: Oct 2007
Posts: 28
Original Poster
Rep:
|
Lol,thanks you wanna help me with the others too? i'm a linux noobie still learning
|
|
|
10-23-2007, 06:04 PM
|
#6
|
Member
Registered: Nov 2004
Location: Washington
Distribution: Mint
Posts: 104
Rep:
|
Well, here's another tidbit: If you're attempting to find your user, or worse, root password, you're out of luck! Linux ain't that easy!
|
|
|
10-23-2007, 06:07 PM
|
#7
|
LQ Newbie
Registered: Oct 2007
Posts: 28
Original Poster
Rep:
|
can you help me?lol
|
|
|
10-23-2007, 06:18 PM
|
#8
|
Member
Registered: Nov 2004
Location: Washington
Distribution: Mint
Posts: 104
Rep:
|
Quote:
Originally Posted by mrryanthai
1)Given the following entry in the /etc/passwd file:
unknown:*:99:99:unknown
user:/var/empty:/usr/bin/false
is this user a system user?
what does the * indicate?
what is the user's home directory?
what is the user's default shell?
2)Given rcc$>ls
fileA.tet fileB.txt
rcc$>
what command would i use to combine the two files together to produce fileC.txt
Given:
rcc$>more widget
#!/bin/sh
echo"this is a text file"
rcc$>
what is the#! called?
why is it there?
please reply ASAP.thanks
|
OK. You know what the '*' means, so next would be user's home directory. All users get a profile in the /home directory. Looking at your $> prompt tells me your directory is in /home/rcc. If you add another user, like homer, homer will have a directory in /home; and so forth. This is to keep other users files and configurations separate from each other.
The default shell is the environment used by your distro when you start a console. Usually, it is BASH. OK so far?
|
|
|
10-23-2007, 06:23 PM
|
#9
|
LQ Newbie
Registered: Oct 2007
Posts: 28
Original Poster
Rep:
|
Thanks a lot man do you know how to install ubuntu on something that's not taking it?lol cause my dell e1505 with ati x1400 isn't taking it for some reason and i heard from some people that ubuntu doesn't like ati x1400
|
|
|
10-23-2007, 06:25 PM
|
#10
|
Member
Registered: Nov 2004
Location: Washington
Distribution: Mint
Posts: 104
Rep:
|
Well, I'm an openSuSE user, so I'm not all too familiar with the problem. However, when you say "not taking it" what exactly do you mean?
|
|
|
10-23-2007, 06:30 PM
|
#11
|
LQ Newbie
Registered: Oct 2007
Posts: 28
Original Poster
Rep:
|
it's not installing like when i get to the install screen i can run it then it says some kind of error i don't have my laptop with me atm so i can't tell you what it says. it's basically not letting me install it...you mind helping me with the other 3 questions i had?thanks man
|
|
|
10-23-2007, 06:44 PM
|
#12
|
Member
Registered: Nov 2004
Location: Washington
Distribution: Mint
Posts: 104
Rep:
|
OK, well when you get back to your laptop, maybe an ubuntu user will have chimed in with some answers. There are many drivers for the ATI chipset out on the internet; and I'm sure there's a work-around to get things going until then.
Now. Back to the other questions.
There are myriad ways to combine text files. One easy way is to open a file editor such as Kate, and simply merge the two files together. If your bent on using the console, not that that is a bad thing, then you can concatenate the files as lists; or use the merge command to combine two files into one. When you get to a linux box open a console and type "man merge" <enter>. That will instruct you how to do this. One thing, in UNIX based systems, which Linux is, you can find out the syntax of any command by typing "man <command>" <enter>. Man, here, is short for MANUAL. In other words, something you read when you don't know the answer; like how to operate your new cell phone. READ THE MANUAL.
Next question: What is the #! called? It's called a prompt. It is coming from BASH. No different than any other console prompt. It just announces who it is.
Why is it there? Because, I said so. Oh alright, look at the explanation above.
|
|
|
10-23-2007, 06:50 PM
|
#13
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
According to the LQ rules you aren't suppposed to post homework questions, so be prepared for a mod to close this thread
|
|
|
10-23-2007, 06:51 PM
|
#14
|
LQ Newbie
Registered: Oct 2007
Posts: 28
Original Poster
Rep:
|
thanks a lot man yeah hopefully someone will post something about my dell problem.
|
|
|
10-23-2007, 06:54 PM
|
#15
|
Member
Registered: Nov 2004
Location: Washington
Distribution: Mint
Posts: 104
Rep:
|
I thought I was helping someone. I was under the assumption that was what LQ was about. Sorry. Won't happen again. Ever.
|
|
|
All times are GMT -5. The time now is 04:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|