Summary: Hi All, I am talking about unix col(1) command used for some reverse line filtering etc. And I notice that the stdout of this command is line buffered...
Summary: use the java.lang.Runtime's exec() method. this is documented at; http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html As for redirecting ou...
Summary: Hey David, All I have so far are results from a google search, which can change .jpg files to .JPG, however, I need to truncate the names. i.e. if the...
Summary: I have never used the -k option with sort but in looking at the man page, it looks to me like your command should be: sort -o xxx -k 1.1,1.4 -k 2.10,2...
Summary: First off, you are going to have to split your date ranges into something like: YYYY MM DD YYYY MM DD This will avoid awk'ing the 2 input parameters t...
Summary: A neat capability of vi is to send a specified set of lines to some host command and replace those lines with the output of that host command (stdout ...
Summary: I answered my own question, sort of. I just rearranged the name_list test01 1112 staff Test Account Cr. 04/11/05 This is what I get. var1=test01 var2=...
Summary: hi everyone, 1)Please help. I am working in an HP machine using Unix 11.0 and have a User Interface that monitors about 40 independent processes rangi...
Summary: Hi, I have a problem with the command sleep(1) in a normal C program. In this program, it stops a (child) proces wich uses shared memory, after the s...
Summary: We could shorten the script and make it more efficient by taking out the foreach loops and changing the while loop to this: while(<IF>) { my @co...
Summary: Hi, I know ls will be displaying the timestamp instead of date for the files that are created with in the last 6 months. So, I changed my find command...
Summary: I must respectfully disagree with you. The perl solution that Fishmonger provided in the Programming forum definitely DOES work: perl -F',' -ane '$,=...
Summary: To include the date, change the printf statement to: printf "%11d %3s %2d %-5s %-s\n",\ $5,$6,$7,$8,subdir "/" $NF You can use it as a continued lin...
Summary: Here's a challenge. Write a script in c shell or perl that monitors disk space and displays a message when any filesystem goes over 85%. Exclude mntt...
Summary: man crontab crontab Entry Format A crontab file consists of lines of six fields each.The fields are separated by spaces or tabs. The first five are i...
Summary: The error is due the getty process in your /etc/inittab file which is still running and looking for ports.You can make the corresponding entry from re...
Summary: Place this into a file called "gime" and change the permissions to execute: #!/usr/local/bin/bash grep -A32 -B9 "$*" myfile Execute it as such: gime m...
Summary: Hi all, I am trying to display the contents of a file, the file that i want to display the contents of is a different file every day. When i use the ...
Summary: Finally I found a solution for my complicated problem. :) I got the answer from other forum (in www.tek-tips.com), but I'll put the solution in thi...
Summary: Hi, Need to change the following command to also purge the child directories after /data/tmp within one command (recursively check for X number of day...
Summary: Hi I am working on a script with a loop which calls a second script within the loop. If there is an error within the second script, I exit using 'exit...