10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm on Ubuntu 14.04 and I manually updated my coreutils so that "tee" is now on version 8.27
I was running a script using bash where there is some write to pipe error at some point causing the tee command to exit abruptly while the script continues to run. The newer version of tee seems to prevent... (2 Replies)
Discussion started by: stompadon
2 Replies
2. UNIX for Dummies Questions & Answers
Hello all,
i am trying to use cut or awk to make my below lines to
From
$ ps -ef|grep tns|grep -v grep |grep LISTENER_TEST|awk '{print $9}'
/oracle/ORAHOME/test/112/bin/tnslsnr
to
/oracle/ORAHOME/test/112
how can this be achieved ? so basically anything before "/bin" (3 Replies)
Discussion started by: abdul.irfan2
3 Replies
3. UNIX for Dummies Questions & Answers
Please, help me
Please, I want to decompress a file firmware
for a 2000 SAT HD Please note that I use Version ubuntu 10.04 lts
file name :
..................
NxpRom.bin
..................
Or
How do I use and is... (0 Replies)
Discussion started by: samy2012
0 Replies
4. Shell Programming and Scripting
Hi Guys,
I want to put or insert #!/bin/bash to my output file named outputfile.sh. Please need some help.
inputfile.txt
1111111111
2222222222
3333333333
script:
awk -f script.awk inputfile.txt > outputfile.sh
DESIRED OUTPUT: (1 Reply)
Discussion started by: pinpe
1 Replies
5. UNIX for Dummies Questions & Answers
what if the difference between
#!/bin/sh
and
#!/bin/bash
I wrote a script with the second heading now when i change my heading to the first one ...the script is not executing well....im not getting the required output....any solution to this problem...or do i have to start the... (3 Replies)
Discussion started by: xerox
3 Replies
6. Shell Programming and Scripting
In shell Programming, we know it should begin with "#! /bin/sh", it means use /bin/sh to interpreter the following command in the shell script.
But today I saw "#! /bin/sh -", it saied using "-" follow "#! /bin/sh " can avoid spoofing attack.
Anyone could explain that for me?
What is... (1 Reply)
Discussion started by: cqlouis
1 Replies
7. Infrastructure Monitoring
I am trying to install net-snmp on an HPUX box. I am getting the fallowing error message when I try to run the snmpconf file. I installed the fallowing version of
net-snmp
net-snmp-5.0.10.2-HP-UX_B.11.11_9000_800.tar and my
HPUX box is version
HP-UX commnms B.11.11 U 9000/800... (2 Replies)
Discussion started by: krisarmstrong
2 Replies
8. Shell Programming and Scripting
Hi,
Could someone pls help me on the below command:
if
then
------------------
------------
fi
if
then
-------------
-------------------
-------------------
fi
What does this signify?
Thanks,
.. (4 Replies)
Discussion started by: ww26683
4 Replies
9. UNIX for Dummies Questions & Answers
I need to take a string (stringA) check it for spaces and replace any spaces found with an equal (=) sign.
This is not working. There are spaces between each component:
$StringA | tr "" ""
The error returned is:
test: Specify a parameter with this command
Can you help? (3 Replies)
Discussion started by: by_tg
3 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
Can somebody tell me the difference between /bin, /usr/bin, /sbin ?
Thanx in advance,
Saneesh Joseph (3 Replies)
Discussion started by: saneeshjose
3 Replies