Summary: Is there a way to update the contents of a file (this file contains a list of sqls) without piping it to a new file using a shell script ? I have 15 p...
Summary: hi guru,s fo unix! help me out to find the complete/full path of a file present in any directory.I am actually trying to create a script which moves a...
Summary: There's a good thought. If no one answers your homework question immediately, post it 10 or 15 more times under different names. Hope that works out f...
Summary: Would really appreciate someone's help on this: I have a requirement to have a script go through a directory tree and look for files in that tree. If...
Summary: You're right, "tail -f" of course will wait until CTRL-C Just "tail" is what you need indeed But, coming back to the opening post, this should work: ...
Summary: hi all I need some help and i hope someone can help me.. In /etc/group file I need to append usernames at the end of a group record so that these use...
Summary: Hi, I want to know the size of a group of files. Files with some conditions. For example, files which name start with VAL. ls -la VAL* VAL200601 VAL20...
Summary: Hi folks, Using sed and/or awk, how would I insert a text string (from a korn script) after a string that's at the end of a file. I'm having trouble ...
Summary: Hawkeye: This should get you started: from the current directory, find all files within the past 24 hours named serial.txt; Use the xargs command to ...
Summary: Sir, I have 1 assignment need to do the following task:- Write a script that finds each line in a file that contains a specified substring (not a regr...
Summary: I want to redirect the output of a PL/SQL procedure to a log file. In this file I want to have all the output of the execution, the results of every s...
Summary: hi, i would like to count the occurence of a character in a string using sed, any idea? e.g. count the no of ';' in 'abc;def;ghi;jkl' returns 3. Than...
Summary: Any way of getting the modified timestamp of a file in the format I want, say dd/mm/yyyy hh24:mi:ss format, irrespective of when the file is last modi...
Summary: Hi, When i read two rows of records and concatenate into a file, i only get one row of record. I realise i cant see the end of line for the second rec...
Summary: Further, a 64-bit OS can run both 32-bit programs and 64-bit programs. To determine if "oracle" is 32-bit or 64-bit, you can: file oracle oracle: PA-...
Summary: Hi, I'm a newbie to scripting in Unix and I need help with the following. I want to write a script that would retrieve the creation date/time of a fil...
Summary: Hi All, Thanks in Advance. My requirement is there are some data files to be updated(some times new files get created) regularly in server A, these fi...
Summary: How do i delete first line of a file. The file starts with page break ^L. The first line contains the page break ^L. The file may have multiple pagebr...
Summary: ghostdog that's a neat trick. I'll take a shot at explaining it: awk 'FNR==NR{_[++d]=$0;next}{print _[FNR],$4,$5}' file1 file2 First, two definitions:...
Summary: The script is not dependent on the content of /tmp/timestamp. The touch command will either create an empty file or update the timestamp of a file bas...
Summary: I need help with some script lines that will enable me to get some values which are inside a file. An example would be something like this: % pwd > F...
Summary: Dear Jim, I really can't imagine that you provided me that full and clear explanation! Especially the exception case! What I can say is really th...