10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a simple task to replace unix line feed end of line characters with carriage returns.
When I run the following “change file in place” sed instruction from the command line all the Line feeds are successfully replaced with Carriage returns.
sed -i 's/$/\r/' lf_file.txt
But that same... (1 Reply)
Discussion started by: hawkman2k
1 Replies
2. Shell Programming and Scripting
howdy,
so I'm make a plugin work for Nagios, and the commandline is:
/usr/lib/nagios/plugins/check_mssql -H MySQLServerName -u MySqlAccountName -p MyPassword(#XXXXX -d MyDatabaseName
it is barfing with:
bash: syntax error near unexpected token `('
Thoughts?
Do I have to wrap something... (2 Replies)
Discussion started by: rgouette
2 Replies
3. Shell Programming and Scripting
Hi All,
I am not able to access an oracle table even if the table is present. After initial analysis, found that there is a password warning for the specified oracle user. Can you please help me in ignoring the password expiry and access the oracle table ? However, the log file does not store the... (4 Replies)
Discussion started by: tapan8984
4 Replies
4. Shell Programming and Scripting
Hello,
I have a bunch of strings of the following format:
11.22.33.44.in-addr.arpa x.y.z.
What I want to do is format each string in this way:
44.33.22.11 x.y.z
i.e. the string conists of two columns, where delimiter is space. I need to output modified first column (delimiter inside... (7 Replies)
Discussion started by: zerorange
7 Replies
5. Shell Programming and Scripting
i have an expect script that runs like this:
/usr/bin/expect -f /home/skysmart/commandstoexecute.sh host2.net b$4aff Skysmart
when i run this command, and i do a ps -ef and egrep for expect, i see the exact line in the process table and it shows my password for the world to see.
how can i... (2 Replies)
Discussion started by: SkySmart
2 Replies
6. UNIX for Dummies Questions & Answers
hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies
7. Shell Programming and Scripting
Asking for a Linux command line to
convert all files in current folder from UTF8 to ANSI, name unchanged.
Best Regards
Pei (3 Replies)
Discussion started by: jiapei100
3 Replies
8. Shell Programming and Scripting
Hi,
I have to use ksh on HP-UX for some scripting.
I usually use "set -e -u" in scripts to stop if errors occur or a typo is in a variable name.
Now I try to use "$@" to pass the arguments unchanged to another function, which works without problems - unless I try to call the script without... (7 Replies)
Discussion started by: michas
7 Replies
9. UNIX and Linux Applications
Hi Oracle & Unix expert,
Could you tell me how to encrypt oracle table ? Thanks. (1 Reply)
Discussion started by: olaris
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I am trying to compress a file using the following command:
compress user_list
But i am getting the following error.
user_list: -- file unchanged
Please note that file is not empty (1 Reply)
Discussion started by: funnie
1 Replies