10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I am a newbie to shell scripting. I am getting the error on AIX machine
/tadfdc_setup_fed.sh: +: not found
Here tadfdc_setup_fed.sh is script which works fine on Linux Machine. But gives error on AIX (1 Reply)
Discussion started by: Anupam Kakade
1 Replies
2. UNIX for Dummies Questions & Answers
This should be extremely simple and someone will probably answer it in .5 seconds. I need to know what:
VARIABLE=${0##*/}
does? I do not have a shell handy to just try it in. I am reading through some scripts and need to understand this line. Any help is appreciated.
Many thanks!
-... (3 Replies)
Discussion started by: chrisgoetz
3 Replies
3. Shell Programming and Scripting
Hi everyone.
I am new to shell scripting and have been looking at quite a few web pages to try and figure this out, but to no avail.
What I am trying to do is get a value from a text file that contains a paragraph of information.. Something similar too:
Welcome to random script
You are... (1 Reply)
Discussion started by: elemenopee
1 Replies
4. Shell Programming and Scripting
Hi guys.
I have been lurking for quit some time attempting to learn on my own but I have reached an impasse.
I need to extract specific details from from a text file that I get and parse it out into separate files with the name of each individual and the date it was proccess. Then within... (2 Replies)
Discussion started by: lostpacket
2 Replies
5. UNIX for Dummies Questions & Answers
Hey!
This is my first post on this forum, nice to meet ya!
I've been using Linux for a good few years, I grew up using DOS and a few similar CLI-based OS's so I'm fairly okay with navigating my way around the terminal. Recently I decided I wanted to become a sysadmin so I've been teaching... (3 Replies)
Discussion started by: Tamachan87
3 Replies
6. Shell Programming and Scripting
Hi,
I am not able to figure out what the problem is:
getting the following error
sqltst.sh: 1: not found
here is the script
#!/bin/sh
. /home/dev1/.profile
. /home/dev1/.infenv
`sqlplus -s $REPDB_LOGON << EOF
SET SERVEROUT ON
SET FEEDBACK OFF
SET HEADING OFF
SET TRIMSPOOL... (4 Replies)
Discussion started by: svajhala
4 Replies
7. Shell Programming and Scripting
My first post here....
I have a few years exp with linux distros and some very basic Python..Ive been intent on learning shell scripting the last few weeks. Please excuse my crude efforts.
I am running a program that takes network data containing US city names in plain text. I am TRYING to... (7 Replies)
Discussion started by: dddkkk
7 Replies
8. Shell Programming and Scripting
Assume $x equals "".
If I try:
if test -n $x
I get the "Expression syntax" error.
It works in Linux but not in unix bash. In unix bourne I get "test: argument expected" (4 Replies)
Discussion started by: lumix
4 Replies
9. UNIX for Dummies Questions & Answers
I don't even know if this should go here but I just would like to know what this means:
d0e45878043844ffc41aac437e86b602
I know absolutely nothin' about UNIX, and I found this in a SQL table in a board I run.
Someone please tell me what that is in "normal" mode.
Pardon me for my... (4 Replies)
Discussion started by: daeglin
4 Replies
10. Shell Programming and Scripting
I know this is a total begginer question but what is wrong with this picture. My loop wont loop, it just drops me back to the prompt and gives the error "unary operator expected". Any help would be appreciated.
here it is,
#!/bin/sh
selection=
while
do
cat << MENU
1)List files in... (2 Replies)
Discussion started by: Fokus
2 Replies