Linux - NewbieThis 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!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
c@CW8:~$ help alias
alias: alias [-p] [name[=value] ... ]
`alias' with no arguments or with the -p option prints the list
of aliases in the form alias NAME=VALUE on standard output.
Otherwise, an alias is defined for each NAME whose VALUE is given.
A trailing space in VALUE causes the next word to be checked for
alias substitution when the alias is expanded. Alias returns
true unless a NAME is given for which no alias has been defined.
c@CW8:~$ apropos alias | grep bash
alias  (1) - bash built-in commands, see bash(1)
unalias  (1) - bash built-in commands, see bash(1)
c@CW8:~$ man alias
No manual entry for alias
c@CW8:~$ man unalias
No manual entry for unalias
Yep. You can do "sudo su" to become root. To note, like some other non-ubuntu distros, you have to make a super user password and a user one. In Ubuntu, you only have one.
Here's an excerpt form the sudoers file:
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow members of group sudo to not need a password
# (Note that later entries override this, so you might need to move
# it further down)
# %sudo ALL=NOPASSWD: ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
When you try to become root via "su" you get an authentication failure. You can't login as root either.
(I leave nopasswd commented for protection, as is the defualt, so you do need a passwd unless you change it)
@ pixellany I love Ubuntu but I totally agree with you. Why make things harder?
Last edited by lupusarcanus; 02-25-2010 at 05:05 PM.