10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am new to this forum. I have a script which randomly throws error.Following are steps followed in this script:
Generate Term file
Remove previous term and rpt files from utility directory.
copy term file to utility directory
call sql to generate rpt file using term file as input
copy the... (4 Replies)
Discussion started by: ann15
4 Replies
2. UNIX for Dummies Questions & Answers
Why when I use this command do I get "E123"?
echo NCE123 | sed -n 's/\(.*\)\(\{1,\}\{1,5\}\)\(.*\)/\2/p'
But when I used this command, I get NCE123?
echo NCE123 | sed -n 's/\(.*\)\(\{3\}\{1,5\}\)\(.*\)/\2/p'
I thought \{1,\} would mean any number of characters and \{1,5\ would mean 1-5... (1 Reply)
Discussion started by: newbie2010
1 Replies
3. Shell Programming and Scripting
Hi again, have a script that I would like run, but before I can run it I need to strip out the windows \r end of lines.
I have put the command into a text file and set the command to run every 10 seconds the coomand I use to do this is
while sleep 10; do... (15 Replies)
Discussion started by: Paul Walker
15 Replies
4. UNIX for Dummies Questions & Answers
Hello.
I have a question as to why my grep command does not seem to be working.
grep -c '^?*' ~
grep -c '^.*' ~
I wanted to count the number of files starting with the letter K and have some letters after that. I have such files in my home directory. However, the output is 0. So, I have no... (2 Replies)
Discussion started by: FUTURE_EINSTEIN
2 Replies
5. Shell Programming and Scripting
Hi,
We have two Linux box (Machine A and Machine B). Standalone application(ITIM) running on Machine A. Target file to copy is available on Machine B.
SSH Handshaking done between Machine A and Machine B using normal user "ssh".
Standalone application running on Machine A under user... (2 Replies)
Discussion started by: satish_gauns
2 Replies
6. UNIX for Dummies Questions & Answers
I need to be able to look up a file system with the inode number 214743 and, get its absolute reference in a single line...
I have tried..
"find / -inum 214743 -print" (1 Reply)
Discussion started by: blankets3
1 Replies
7. UNIX for Dummies Questions & Answers
at command does not work with graphic programs like firefox, evolution, etc
It works with other commands
for example:
at now
shutdown -h now
OK
but
at now
firefox
does not work
Anyone knows if its possible to open a firefox window at a scheduled time?
Thanks
Jose (0 Replies)
Discussion started by: otilesoj
0 Replies
8. UNIX for Dummies Questions & Answers
Command works but not in SH
At terminal if i type:
scp test.tar.gz user1@server2:/home/user
Everything run smoothly (keyed, no password need)
At script , test.sh
#!/bin/sh
scp test.tar.gz user1@server2:/home/user
Nothing happen and clue ? ? ? ? ? (3 Replies)
Discussion started by: cititester
3 Replies
9. HP-UX
Good Day
I mistakely renamed the dld.sl file in the /usr/lib directory. When i try to ls/ftp into the box i get this error :eek:
crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002
I have tried to rename it back from the renamed file to the original file name, but it gives me the... (2 Replies)
Discussion started by: shawnbishop
2 Replies
10. AIX
hello !
can so help me ? here is my problem :
a same command, using find command works on a server, but doesn't on another. I've been told, that it could be because of the file systems ... it's amazing ! can so explain, please ?
thank you for your answer (1 Reply)
Discussion started by: chocolate
1 Replies