10-14-2009
Edit your last post and add code tags as already asked for.
Please post the error you get; maybe add a set -x in the head of your script for more verbose output.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
How does the PATH and MANPATH environment variable get set?
I want to add "/opt/SUNWspro/bin" to the search path for all the users. Where can I access this variable.
I know in my home directory, depend on which shell I use, there are files such as .profile and .cshrc which I can edit to... (3 Replies)
Discussion started by: vtran4270
3 Replies
2. Shell Programming and Scripting
Hi.....
I'm kind of new to c programming in Unix...need help here.
Supposed to write a source code to support Path environment variable for my programming assignment for Spring semester.
but i'm kind of stuck. Could anyone out there assist me?
prompt> /bin/ls
My program could output... (3 Replies)
Discussion started by: tancy
3 Replies
3. Shell Programming and Scripting
whats the meaning of ::
colon in PATH environment?
/usr/local/bin:/usr/bin:/usr/local/gnu/bin::.:/usr/local/bin:/usr/bin:/usr/local/gnu/bin:/usr/local/bin
and whats the meaning of // in PATH ? (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies
4. Shell Programming and Scripting
hi all
i have joined new to the group.
i have set an variable in my bashrc file.
.bashrc
PROGHOME=/home/braf/braf/prog
export PROGHOME
but while using it in my shell script its path is not taken and i had to explicitly give the export command to set the path.
in my script... (8 Replies)
Discussion started by: krithika
8 Replies
5. UNIX for Dummies Questions & Answers
How do we change path environment? (2 Replies)
Discussion started by: mehmetned
2 Replies
6. Shell Programming and Scripting
Hi,
Could anyone help me in writing a single line code by either using (sed, awk, perl or whatever) to extract a specific path from the PATH environment variable?
for eg: suppose the PATH is being set as follows
PATH=/usr/bin/:/usr/local/bin:/bin:/usr/sbin:/usr/bin/java:/usr/bin/perl3.4
... (2 Replies)
Discussion started by: royalibrahim
2 Replies
7. Shell Programming and Scripting
Hello Folks,
I want to append a path in user's PATH variable which should be available in current session.
Background
Numerous persons will run a utility.
Aim is to add the absolute path of the utility the first time it runs so that next runs have the PATH in env & users can directly run... (6 Replies)
Discussion started by: vibhor_agarwali
6 Replies
8. Shell Programming and Scripting
Hi I'm trying to select text between two lines, I'm using sed to to this, but I need to pass variables to it. For example
start="BEGIN /home/mavkoup/data"
end="END"
sed -n -e '/${start}/,/${end}/g' doesn't work. I've tried double quotes as well. I think there's a problem with the / in the... (4 Replies)
Discussion started by: mavkoup
4 Replies
9. Ubuntu
PATH is an environment variable.
When I open a terminal say terminal 1 and set some path in PATH variable it gets set which I can see using ech $PATH.
But when I open a new terminal say terminal 2 and fire echo $PATH why cannot I see the same output as seen in terminal terminal 1?
Why the path... (4 Replies)
Discussion started by: rupeshkp728
4 Replies
10. Shell Programming and Scripting
Hello,
From the URL
https://www.unix.com/shell-programming-scripting/121303-remove-path-path-environment-variable-2.html
I got a function to remove the directories from a path. but looks like this isnt quite working.. i am also not able to post the comments in the thread as it is closed.
... (6 Replies)
Discussion started by: satishkumar432
6 Replies
LEARN ABOUT DEBIAN
nzbget
NZBGET(1) User Commands NZBGET(1)
NAME
nzbget - binary news file grabber
DESCRIPTION
Usage:
nzbget [switches]
Switches:
-h, --help
Print this help-message
-v, --version
Print version and exit
-c, --configfile <file>
Filename of configuration-file
-n, --noconfigfile
Prevent loading of configuration-file (required options must be passed with --option)
-p, --printconfig
Print configuration and exit
-o, --option <name=value> Set or override option in configuration-file
-s, --server
Start nzbget as a server in console-mode
-D, --daemon
Start nzbget as a server in daemon-mode
-V, --serverversion
Print server's version and exit
-Q, --quit
Shutdown server
-A, --append <nzb-file>
Send file to server's download queue
-C, --connect
Attach client to server
-L, --list
[F|G|O|S|H] Request list of downloads from server
F list individual files and server status (default)
G list groups (nzb-files) and server status
O list post-processor-queue
H list history
S print only server status
-P, --pause
[D|D2|O|S] Pause server:
D pause download queue (default)
D2 pause download queue via second pause-register
O pause post-processor queue
S pause scan of incoming nzb-directory
-U, --unpause [D|D2|O|S]
Unpause server:
D unpause download queue (default)
D2 unpause download queue via second pause-register
O unpause post-processor queue
S unpause scan of incoming nzb-directory
-R, --rate <speed>
Set download rate on server, in KB/s
-T, --top
Add file to the top (beginning) of queue (for using with switch --append)
-K, --category <name>
Assign category to nzb-file (for using with switch --append)
-G, --log <lines>
Request last <lines> lines from server's screen-log
-W, --write <D|I|W|E|G> "Text" Send text to server's log
-S, --scan
Scan incoming nzb-directory on server
-E, --edit [G|O|H] <action> <IDs> Edit items on server
G Affect all files in the group (same nzb-file)
O Edit post-processor-queue
H Edit history
<action> is one of:
<+offset|-offset>
Move file(s)/group(s)/post-job in queue relative to current position, offset is an integer value
T Move file(s)/group(s)/post-job to top of queue
B Move file(s)/group(s)/post-job to bottom of queue
P Pause file(s)/group(s)/ Postprocess history-item(s) again
U Resume (unpause) file(s)/group(s)
A Pause all pars (for groups)
R Pause extra pars (for groups)/ Return history-item(s) back to download queue
D Delete file(s)/group(s)/post-job(s)/history-item(s)
K <name>
Set category (for groups)
N <name>
Rename (for groups)
M Merge (for groups)
O <name>=<value>
Set post-process parameter (for groups)
I <priority>
Set priority (signed integer) for file(s)/group(s)
<IDs> Comma-separated list of file-ids or ranges of file-ids, e. g.: 1-5,3,10-22
nzbget version: 0.7.0 May 2011 NZBGET(1)