Summary: Hi, I am trying to grep for the text matches of the following in our source codes. ADD CBP ADD CBV WRITE CBP WRITE CBV The source components may end ...
Summary: there is a txt doc that i have. i have to find a string which is in middle of the line and if it finds that string then my script sshould output the w...
Summary: Hi, I'm trying to use AWK to find a line in a file equal to 2 different variables and write it to another variable. I can find the values individuall...
Summary: Hi , Can any one of you tell me how to find the 5 characters after the 5th occurance of a ","(comma) in a data file for all the rows of the file. As ...
Summary: Please help... I found the following command at ask.com and it seems useful to find whether a script is currently executing. However, I have no clue h...
Summary: I am attempting to find a particualr line in a file and then replace it. Unfortunatly i can only guaruntee the content of the line prior to the one i...
Summary: How do you find files, then copy the files into an existing directory. I am to find files starting with N which is not more than 10 days old, then cop...
Summary: The short story is I want to find a string in a file and change it. Here are the details. I'm looking for a way to change every occurence of $source...
Summary: That's exactly what I'm trying to do. I need to go into each subdirectory, see if there is a file named 'text'. If there is, then execute the awk pr...
Summary: Can any one tell me how to find in which unix shell i am present using a shell script. I want it to find it programatically. Thanks in advance.. Da...
Summary: If these strings are defined as variables its pretty easy: lets start out with these variables a=1 b=1 c=1 d=2 If we do: #!/bin/ksh if [[ $a -ne $b ]]...
Summary: As I recall, AIX find does not include -cmin? man find to check. If find(1) includes "newer" and touch(1) supports -B, you could use this to hack. per...
Summary: Hi, I am trying to find out the file which over 1 hour ( or 30 min, or 30 seconds) I know how to find out the files by day using mtime find . -mtime ...
Summary: Hi Folks, I am working on Oracle APPS and new to shell script. I need to write a shell script to find the oldest file (based on naming convention dat...
Summary: Hi, I have this problem: I work in a Unix network (running on HP Unix) with several pc terminals that are emulating, and each terminal has a printer. ...
Summary: I found zombie process runnig on my workstation. But How I can find the root cause for these processes? Is it writes any log file? I know this is becu...
Summary: Sun sparc: what's the command to find a file say oratav, that would search in all directories and subdirectories from my home directory, thanks in...
Summary: How to find CPU Usage , RAM, Hard Disk space. This should be on " DEC OSF/1 " I need to write these details into log file for every 10 min. sar comman...
Summary: Hey all, I am trying to add a string at the end of the line. and that line should start w/ /view/ so for exaple. if you have file and the line should ...
Summary: I want to find out the week number of the day in a month. (Didn't get it? - example, if today is the saturday then whether it is first saturday or se...
Summary: The following will fail in a korn shell script: print "----------------" Currently I have been using "echo" to perform this function: echo "----------...
Summary: Hi All, I need to write a script to find out if a specific file is older than an hour, if it is then the script has to email me to alert me. Does a...
Summary: Hi, Depends a bit on the definition of free disk space. The df or bdf commands will display only the space information about a filesystems. The files...