12-29-2012
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...!
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to learn UNIX, but I have a few questions. If anybody could help me out I'd greatly appreciate it.
First, I've decided I'm going to use Red Hat Linux and I've been told the only difference between 7.2 and the Professional (besides the price), is the tech support that you'll receive. Is... (2 Replies)
Discussion started by: paulSF
2 Replies
2. UNIX for Dummies Questions & Answers
Hey, you said this forum was for Dummies, so don't blame me for the following! :D
My whole "web building" life, I've had my sites hosted in one for or another. Lately, I've gotten into PHP and MySQL and, of course, those are also hosted for me. But lately, I've been thinking of using PHP and... (2 Replies)
Discussion started by: cap97
2 Replies
3. AIX
Hi all,
From Googling, I found that the basics used for troubleshooting UNIX/AIX performance issues are commands like vmstat, iostat and sar. I believe these are generic commands regardless of what UNIX flavour is in used, only difference being is the format of the output.
In a real case... (2 Replies)
Discussion started by: newbie_01
2 Replies
4. Shell Programming and Scripting
Hi UNIX Gurus,
I have a SQL utility which fires DML statements against DB2 tables. Logic is to identify DML statements, put it into a file ($dml) and execute the job.
DML file can have more than 1 DML statements....but all of 1 type at a time.....either all UPDATE or all DELETE.
Job first... (2 Replies)
Discussion started by: ustechie
2 Replies
5. UNIX for Dummies Questions & Answers
hello everyone
i have to start with unix as it is a part of my training programme and i have to do a self study, i dont know where to start from. i need some basic questions to be answerd like why we use unix ? what is a terminal? what is an editor? why we write commands inside terminal?
these... (4 Replies)
Discussion started by: aryancool
4 Replies
6. Shell Programming and Scripting
echo "Hi $username, guess what my favourite colour is!"
count=0
while ]
do
read colour
if
then
$count=1
echo "See ya later!"
elif
then
$count=1
echo "You guessed correctly! Great job!"... (6 Replies)
Discussion started by: solomonsnare
6 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am new to Unix.
can you explain in brief with examples what is variable, what is argument and what is parameter?
i searched a lot on other forums but not able to find a appropriate answer.
thanks in advance!! (3 Replies)
Discussion started by: 21laps
3 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I have 3-4 years of experience working on unix environment. I am not a beginner, but unix is not my primary skill set. I am very good at awk programming and doing many of my tasks very well, really very weak on basics. I moved to a new job recently and the settings there are driving me... (5 Replies)
Discussion started by: ysvsr1
5 Replies
LEARN ABOUT DEBIAN
ubuntu-build
UBUNTU-BUILD(1) General Commands Manual UBUNTU-BUILD(1)
NAME
ubuntu-build - command-line interface to Launchpad build operations
SYNOPSIS
ubuntu-build <srcpackage> <release> <operation>
DESCRIPTION
ubuntu-build provides a command line interface to the Launchpad build operations.
OPERATIONS
Listed below are the available operations for ubuntu-build:
status Outputs the build status of the package on Launchpad on all architectures.
retry Requests that the package has another attempt at rebuilding from source. This will only work if the package has Failed to build on
Launchpad.
rescore
Requests that the package's build priority be raised in the build queue. Only members of the Launchpad build administrators may
issue this operation, and it may only be performed on packages which Need building.
OPTIONS
Listed below are the command line options for ubuntu-build:
-h or --help
Display a help message and exit.
Retry and rescore options:
These options may only be used with the 'retry' and 'rescore' operations.
-a ARCHITECTURE, --arch=ARCHITECTURE Rebuild or rescore a specific architecture. Valid architectures include: amd64, sparc, powerpc,
i386, armel, armhf, ia64, lpia, hppa.
Batch processing:
These options and parameter ordering is only available in --batch mode. Usage: ubuntu-build --batch [options] <package>...
--batch Enable batch mode
--series=SERIES Selects the Ubuntu series to operate on (default: current development series)
--retry Retry builds (give-back).
--rescore=PRIORITY Rescore builds to <priority>.
--arch2=ARCHITECTURE Affect only 'architecture' (can be used several times). Valid architectures are: amd64, sparc, powerpc, i386,
armel, armhf, ia64, lpia, hppa.
AUTHORS
ubuntu-build was written by Martin Pitt <martin.pitt@canonical.com>, and this manual page was written by Jonathan Patrick Davies
<jpds@ubuntu.com>.
Both are released under the terms of the GNU General Public License, version 3 or (at your option) any later version.
ubuntu-dev-tools June 2010 UBUNTU-BUILD(1)