10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Greetings!
I'm trying to get dpkg to just completely extract a multi-part *.deb archive set into a single folder called "output". Simple?
Hmmmm....
dpkg --noforce --unpack *.deb /output/Console after ops:
However, "--noforce" is taken directly from the helpfile Options listing as furnished... (8 Replies)
Discussion started by: LinQ
8 Replies
2. Shell Programming and Scripting
Hello all. Need a bit of help...
I have :
previous_tmp0=`cat tmp0.txt`
previous_tmp1=`cat tmp1.txt`
previous_tmp2=`cat tmp2.txt`
previous_tmp3=`cat tmp3.txt`
previous_tmp4=`cat tmp4.txt`
previous_tmp5=`cat tmp5.txt`
previous_tmp6=`cat tmp6.txt`
previous_tmp7=`cat tmp7.txt`
Now I... (5 Replies)
Discussion started by: Junaid Subhani
5 Replies
3. Shell Programming and Scripting
I'm running mysql in a bash script
mysql <<EOF
query
EOF
one query is like this:
UPDATE $dbname.$prefix"config" SET value = $var WHERE "$prefix"config.name = 'table colname';
with variable
but it's giving an error
i'm not sure what to put for
"$prefix"config.name
the table... (3 Replies)
Discussion started by: vanessafan99
3 Replies
4. Shell Programming and Scripting
Close please.
Refer to following thread:
Sub Menu issues (2 Replies)
Discussion started by: Banned
2 Replies
5. UNIX for Dummies Questions & Answers
Hi, issue with my prompt, other gets their name, my comes with command number. Why?
{118} /home/markb > echo $SHELL
/bin/tcsh
{119} /home/markb > echo $SHELL
/bin/tcsh
{120} /home/markb >
my .cshrc has this....
set prompt="%{\0330;%n@%M : %~%L \007%} `pwd` >%{\033
... (3 Replies)
Discussion started by: samnyc
3 Replies
6. Shell Programming and Scripting
Hi,
I am facing issues in my shell script while trying to add two variables. Look at the snippet below for details:
# Initially variable SAMPLE1 and SAMPLE2 are set from different sources. Have trucated decimal to avoid numeric errors in expr
SAMPLE1=`/usr/bin/top -n 1 | head -3 | tail -1... (3 Replies)
Discussion started by: animesh303
3 Replies
7. Shell Programming and Scripting
So I am new to unix, and actually anything outside drag and drop with the mouse (been learning for about a week so far) . I have been using the foreach command in tcsh because I am working on a group of files. Basically what I need is to insert part of the filename as the first line in the file.... (0 Replies)
Discussion started by: thepolypore
0 Replies
8. Shell Programming and Scripting
Hello
I have tried to my best ability to work around this script tht will reference my m-names.txt which contains the format of:
168.16.0.0/16
169.56.0.0/16
132.2.0.0/16
122.5.0.0/16
Then I call a cli named getzoneprof that will set the $subnet from each of the lines in the... (6 Replies)
Discussion started by: richsark
6 Replies
9. Shell Programming and Scripting
Hi i as you may already know i am creating a menu driven program. I have chosen to take the approach of implementing each interface individually, after adding another interface and attempting to run the program i am faced with the following error:
./Assigntest: line 32: syntax error near... (6 Replies)
Discussion started by: warlock129
6 Replies
10. Shell Programming and Scripting
Hi all,
I am struck with syntax for long time,
Need to purge some lines from given file
Not able to use value of $x
Example of ksh script...
Facing some syntax issue.
Have Tried ‘with single , double ,backtick “” ` and \ escape character , doesn't seem to work.
<line 1> echo $x #... (2 Replies)
Discussion started by: manav666
2 Replies