What do you think about Windows 7? Write a review or a how-to about Microsoft's newest product and earn unlimited points!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested Unix Systems Programming Solutions: 76 - 100 of 764
 
I'm using this little script to update my HTML files. The script works OK except when I want to delete certain blank lines. Let's say there is a blank line just below </form> I want to dele...
I need shell script to upload file from a UNIX box to Mainframe using NDM. Any direction for this will be usefull.
hi . I am well known with gerenal shell scripts . I want to use "for" loop widly . for example : set lines = `cat file | wc -l` for ($i=0 ; $i <= $lines ; @ i += 1) # you can see ...
Hi Experts, I want to prepare JRE Java runtime for arm linux(kernel 2.6.22) target board at9sam9263. with ARM processor target i tried to get blackdown.org but it failed with error libjava....
In a korn shell script I have a directory name in a variable $TARGET_DIR e.g. "/home/username" or "/home/username/" I want to ensure that the string is in the second format (with the tra...
Hello, I have numerous commands in my notes like: find . -type f | grep xml |  tar -cf - -T - | gzip > myzip.tar.gz etc. However these seem to only work on Redhat and not Sol...
I have a large named.conf file and I want to be able to comment out an entry using a sed command.  I can successfully comment out the first line of the entry but need to be able to comment the...
Looking for a UNIX shell script bash that will auto login to a remote ip with a passed token of a username and associated password. Then execute another predifined shell script on the remote ...
Hi Experts, I'd like to write a case statement in tcsh which deals with multiple cases to perform the same statements.  I would have expected something like this to work: switch ( $1 ) ...
I have a Makefile that compiles Java files. Because Sun JDK 1.1.8 on Windows requires backward slashes in the file name, I need to replace each forward slash in the filename with 2 backslas...
I would like to use the unix command trap with cat and rm: cat contents of several files before removing them when the program terminates. Files are temporary and they may or may not exist. ...
The following command gives me all the java processes that belong to wspsoft: ps -ef | grep java | grep wspsoft I only want to see the PID and last word in the output for each process, w...
Hello all I'm new in Unix, i'd like to write my own simple shell. It presents a command prompt and accepts and performs simple commands. Commands should be performed by child processes, creat...
I am porting code from IRIX 5.3 to Solaris 2.4.  The code compiles and works fine on IRIX, but I have had some problems with flock (and now lockf) on the Solaris system. The first problem I ha...
Hi, I need to calculate a date based on an input date with the format YYYYMMDD minus 1 day. For example if the input is 20030301 the result should be 20030228. Thanks
I'm using a variable in a shell script for todays date such as date=`date '+%Y%m%d'` so get a output of 20070708 I'm trying to find a way to turn that into a variable that is todays d...
Does anyone know how I can set the baud rate for a serial port under linux?
I need to use the "GREP" and "WC" commands on a single line to find out how many accounts are in the same group   /etc/passwd (My own server)...what is the proper syntax to use?
How do i skip first line and last line in Unix.(i shoud not use sed command). assume that filename is file.txt
I have a multi-thread program. I want to catch the BROKEN PIPE signal (SIGPIPE). But I can not catch it. I test it in a sigle thread program, it OK. I use the following function to catch: sign...
When I ran my ksh script, I could get email without error. But when I setup to run the script in crontab file, it had following error. stty: : No such device or address
Hello all, How would I use regular expressions to match this range of IP addresses: 192.168.0.10 - 192.168.0.25 I tried this: 192.168.0.[10-25]+ but it did not work! This is for cisc...
I am creating now a shell script for non skilled users to monitor the CPU usage of SUN machine with solaris 8 using sar, and here is my command:  sar 1 5|awk '{print "CPU usage at "$1" ïs"100...
Hi.... I am trying to commit the following but I get an error that it says corret first, yeees, but how do I correct this???????/ cvs commit XML-Production.pl cvs commit: sticky tag `1....
Hi, I have 3 processes which I need to start on AIX 4.3 (K-shell). I have to start them in the background and leave the session, which means that when I log out the processes should still b...