10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi. I m trying to figure out how to do this.
I have a directory full of files (100 files) and I want to be able to search for a string called "end" at the end of the files (last line or last 5 lines) and echo each file to say "incomplete" if not found.
This is what I have so far.
---... (4 Replies)
Discussion started by: jasonhawaii
4 Replies
2. Shell Programming and Scripting
Hi,
I have a requirement to send a mail with multiple files attached to it and along with the text message in the mail.
I am trying sumthing like below but it only sends me the text message and no files attached to the mail.
----------------------------------------
( uuencode file1... (1 Reply)
Discussion started by: sachinkl
1 Replies
3. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Hi All,
I am new to unix, my requirement is like need to find the files like DATA_FUNCTION* and put those... (1 Reply)
Discussion started by: madsongtel
1 Replies
4. Programming
I currently have two projects, one being a shared library and the other an application
The problem I am facing is that I need to compile and install the library then run an ldconfig before attempting to compile the application(dependency)
What would be the best practice for a one time... (0 Replies)
Discussion started by: james2432
0 Replies
5. Shell Programming and Scripting
Hi,
I need to move the XML files from the UNIX to the message queue. Please help me out to write the code..
Thanks,
Mohana Krishnan (0 Replies)
Discussion started by: krishnan_6015@y
0 Replies
6. UNIX for Dummies Questions & Answers
echo "$(date +'%m/%d/%Y %X')" >> LOGFILE1
echo "$(date +'%m/%d/%Y %X')" >> LOGFILE2
How can I put same message in two different log file? (2 Replies)
Discussion started by: JPalt
2 Replies
7. Shell Programming and Scripting
i have two files --file1 and file2--
how should i send both the contents of files as a message in the mail body
ali@unix.com
i have written the script
----------------------------
#!/bin/ksh
mail -s "the two files are" ali@unix.com < file1 < file2... (2 Replies)
Discussion started by: ali560045
2 Replies
8. Shell Programming and Scripting
there are a number of files under the folder myfolder:
myfolder:
a_file_1 a_file_2 a_file_3 ...
b_file_1 b_file_2 b_file_3 ...
....
how can I write a script to do following:
if the name of the file starts with a, append the content of this file to file Final;
if the name of... (9 Replies)
Discussion started by: fredao
9 Replies
9. Shell Programming and Scripting
Im transmiting thousands ftp files to a server, when type the command mput *, an error comes and say. args list to long. set to I. So ihave to transmit them in batch or blocks, but its too sloww. what shoul i do?. i need to do a program, or with a simple command i could solve the problem? (3 Replies)
Discussion started by: alexcol
3 Replies
10. Shell Programming and Scripting
I am having problems with running a make file from a different directory. Is there a way of doing this? (2 Replies)
Discussion started by: Dan Rooney
2 Replies