LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-16-2012, 05:04 PM   #1
Fingerz
LQ Newbie
 
Registered: Feb 2012
Posts: 2

Rep: Reputation: Disabled
Nub ?'s about a few different issues.


1)When I tried logging as root user from GUI log in screen. It fails to autheticate. username as root tried Root also with pw and both fail. However when I log in as a regular user and use the su command in terminal everything is ok for authentication. Being my first install I used the same pw for everything. I know this is not good practice just wanted to get started with unix.

2)Installing programs: Been trying to get netbeans installed. Had grey hair but now Im bald . Can anyone shed some light on how the different file types are handled. .sh .bin and tar.bz2 ect... I am fimilar with the chmod command to change permissions, being su mode ect. The Java issue I believe is an issue with path variable, Ill tackle that in a minute. Just wonering about the different file types and how to handle them. Also should I tranfer the files out of the Download folders to a specific location or such.

3)man pages: for ls command

-C list entries by columns
--color[=WHEN] control whether color is used to distinguish file
types. WHEN may be `never', `always', or `auto'
-d, --directory list directory entries instead of contents,
and do not dereference symbolic links
Just playing around trying to get used to the options. How do you go about implementing the --color command. I read a great post from this forum about interpreting man pages, but it didnt cover an option like this one as far as -- before an option.


Thanks a bunch with any info you can provide
 
Old 02-16-2012, 05:20 PM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

it would be much easier for us and for you if you told us what distro you're using.

Quote:
Originally Posted by Fingerz View Post
1)When I tried logging as root user from GUI log in screen. It fails to autheticate.
Some distros don't allow the root user to login from the GUI, which makes sense. Basically, root should only log in in single-user maintenance mode or on a console for doing special tasks, but not in a desktop environment.

Quote:
Originally Posted by Fingerz View Post
2)Installing programs: Been trying to get netbeans installed. Had grey hair but now Im bald . Can anyone shed some light on how the different file types are handled. .sh .bin and tar.bz2 ect... I am fimilar with the chmod command to change permissions, being su mode ect. The Java issue I believe is an issue with path variable, Ill tackle that in a minute. Just wonering about the different file types and how to handle them. Also should I tranfer the files out of the Download folders to a specific location or such.
Your distro sure has a packet manager that handles installation of software. For Debian-based distros like Ubuntu, that's apt or aptitude, or Synaptic as a GUI front-end.

Quote:
Originally Posted by Fingerz View Post
-C list entries by columns
--color[=WHEN] control whether color is used to distinguish file
types. WHEN may be `never', `always', or `auto'
-d, --directory list directory entries instead of contents,
and do not dereference symbolic links
Just playing around trying to get used to the options. How do you go about implementing the --color command. I read a great post from this forum about interpreting man pages, but it didnt cover an option like this one as far as -- before an option.
In this context, 'WHEN' is a placeholder that can have one of the values 'never', 'always' or 'auto', which simply means to use colors never, or always, or automatically based on other conditions.

[X] Doc CPU
 
Old 02-16-2012, 05:31 PM   #3
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,845
Blog Entries: 36

Rep: Reputation: 453Reputation: 453Reputation: 453Reputation: 453Reputation: 453
For installing packages it's usually best to use the package manager of the distro you're using. If the software you need isn't in the package manager then it's usually best to install it either in /opt or /usr/local depending on how you want to go about organizing your local software. System integration is a different topic and usually differs depending on the distro you're using.

The $JAVA_HOME variable can be set for all users by editing /etc/profile.

Two dashes (--) is a different way of specifying an option. Usually a single dash (-) is used when the option is just a single letter or compounding options. Compounding options being using ls -lah instead of ls -l -a -h.

As far as using the ls option --color goes it's relatively easy and exactly how it's explained. Where brackets [] are usually optional to the specified arguments. This means both of the following switches work.

Code:
ls --color
ls --color=auto
ls --color=never
ls --color=always
 
  


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
Hi, I am a nub! m0nty55 LinuxQuestions.org Member Intro 4 02-28-2011 10:28 PM
nub question runo Linux - Newbie 1 05-19-2005 07:12 PM
Yes this is a NUB question... iz3r Mandriva 39 02-03-2005 10:17 AM
Not really a nub... but need quick help silverbullet Linux - Newbie 2 09-20-2004 11:09 PM
nub questions... ironz Linux - Newbie 16 07-01-2003 06:17 PM


All times are GMT -5. The time now is 09:13 PM.

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