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!

 
Top Unix Systems Programming Solutions: 26 - 50 of 65
 
Dear experts, We wrote a C++ program to run on HP-UX 11.x. Since we want it to run only as a single instance, we implemented semaphores with sem_open(). However, one of my friends recommend...
quicly need a command to copy all files in a folder that ends with .dbf to an other  folder in a differetn mountpoint on the same server and also on a different unix server there are about 20...
I have to string variable in awk, I like to concatenate them to make one string. How do you do it in awk?
Hi, I am trying to create a script called argscript.sh that will prompt user for two arguments.  If the user enter something other than two arguments (for example no arguments, 1 argument, 3 ...
What does an underscore stands for when setting a range of characters?  I know the dash defines the range, but not sure on the underscore.  Logic tells me that the underscore is used as part o...
I am running a java program via a linux script. how can I make sure that only one instance of the program is running? Thanks in advance. Abdellah
Hi, Would you be able to tell me if this script is correct?  I am trying to write a script that checks to see if a person named Beth logged in or not. #!/bin/bash/ who | grep 'Beth' = $...
I'm trying to download multiple files VIA ftp with python.  I have most of the FTP stuff figured out except how to download multiple files based on a list.  I threw in a little pseudo code to ...
as in sql we have something like name not like %J% how can i pattern match something like in this in shell script using awk
I want to loop through a directory and get a list of file something like allfiles.xml and execfiles.xml. and process the file and redirect the output to another file names all_data.out and ...
I am try to pick up some lines with certain keyword. However the line that I did not pick it show as blank line.  How do I get rid of it?  
I want shell script to be used on Linux for checking that nfs Server is running or not.
for Site map generator I need to create url lists file.
I am running VISTA Home Premimum on my notebook.  I have been in computers for 44 years, supporting SCO UNIX for 15 of those years.  Lately I have been getting calls to reopen my business. ...
Hi, I have this script, but it does not work correctly. This is what I get when i run the script: You need to enter two arguments Usage argscript.sh arg1 arg2 $ two one               ...
Hi, I am using the K shell and I want o keep working on it, but will like my prompt to represent another shell (c shell).  How can i do this?
I am getting a context error in relation to my attempts to use variables in an awk call. I suspect it is because awk thinks I'm referring to fields rather than variables, but I don't know h...
I an trying to write a Unix Shell Script that will unload a select statement to a text file.  I have tried a couple of methods, both of which did not work. With method 1, I was getting an i...
Dear experts, We are writing a C++ module to run on HP-UX 11.X. We need to assign the output of uname -n command to a variable in C++. How can we achieve this without using a temporary file...
I just wonder is there anyway we can read in a nueric raher read in a string and then chnge it to integer
I need a way to use a script to take a file in a given directory (path will not change) and copy it to another directory but name the file the name of the other file and delete the old file.  ...
i am getting a file in comma separated file. I need to make sure the 3,4 and 6 fields are four alpha characters long or print error using bash and the fifth field is 4 char (only numbers) lon...
I have multiple files with the same name sales1, sales2, sales3 and I am trying to search for a string "Total" or "total" in the files.  How can I do it using wildcards in both pattern this is...
I want to get the list of rpm files in a directory and write them to a files test.sh but I want to be able to write each line to the test.sh file   with "rpm -q "  concatenated to each rpm nam...
I have loads of .vss files that I have collected over the years, and would love to find a good way to browse through them (the pics inside) without opening each one in Visio individually.  Doe...