Showcase your knowledge about Apple's newest OS. Write a how-to or share a tip or trick about Snow Leopard 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: 126 - 150 of 762
 
Can anyone give me a tutorial on how to write a linux daemon?
I know this should be easy, but I am just struggling with this. I have a file that has time entries in military time. I am required to roll the hour back one. I know this has to be done in ...
Hi all, I'm quite new to UNIX shell scripting and need some explanation of an error I'm getting. I've got quite a good grasp of vbScript within Windows but I can't see what's wrong here. ...
Dear sir,   I used to develop application in Solaris.  However, I am new to HP-UX.  Therefore, I don't know what the debugger name in HP-UX.  In solaris, the debugger name is dbx or debugger,...
I'm looking for a good GUI - Crontab application to manage and monitor the Unix Crontab something like below link : http://3d2f.com/programs/4-187-nncron-download.shtml The process that I ...
I am using the following cut command to display just the hours and minutes from the date command, it displays the hour and minutes, but it does not return a prompt back.  What is it missing? ...
Hi, How can i redirect the out of scp command to a file. Since iam copying large number of files (say 2000), I would like to  monitor the progress of the copy. I redirected the o/p of scp i...
hi, I am trying to increment a variable in a for loop as below for i in *.* do s=`expr $s+1` echo $s j=$i$j mv $i $j   done   but when i echo s the values are like this +1 +1+1 +1...
at the end of each line in a file there is a \n character. I want to replace this with <BR> so i can open the file in cgi. i tried tr "\\n" "\<BR\>" and sed -e "s/\\n/\<br\>/g" but noth...
Hope this is a simple answer :-) - What I need to do is to sum up file sizes for a set of files, for example - if I did an ls -l *20090604_1* it might return no files or a lot of files - what...
Using ksh, I  need the date format of 2000-02-05 (+%Y-%m-%d), except for yesterday. i.e. today's date, minus one.  How would I go about this syntactically?   Thanks.
How to use a Logical operators (AND,OR) in 'ifeq' statement? -thanks
Question part A)I am currentrly trying to add a logic to my Ksh-script to sort files by date and time. I am using `ls -l *.* | awk '{print $6}, {print $7}'` to read  $6-Month, $7-day and $8-Ti...
I would like to add a certain directory to my classpath so that I can run my code.This directory is /home/aswa/example when I do an echo $CLASSPATH, I don't see the /home/aswa/example dir. ...
I need to mulitply an integer with a decimal number. It seems that `expr` won't allow this or atleast I can't figure out a way to do it. Also, I'd rather not use the bc/dc program to accomplis...
I would like to use below in an acocunt .profile and then run a shell that would restart tomcat using tomcat.stop and tomcat.start under the account: alias ll='ls -Alrt' alias tomcat.start...
I am writing a echo server/client program in Unix. I have executed the following statement to send and receive a UDP packet. while (1) { sendto(outFd, data, dataLength, 0, (struct sockadd...
When i am logged in as root, can i use a command line command to broadcast a message instantly to all users logged in.  For example to inform them that the system is shutting down in a few min...
Does anyone know if C compilers come preinstalled on AIX 4.3.3? I need to install Samba on it and I'm not sure if it has the appropriate C compiler. If not, then what version of C is compat...
Now I'm tired of having to experiment for hours before I get these excellent tools running. - How do I learn to use them, with regualr expressions and stuff? Where do I find the best tutorial?
hello all , i need to know the free port to bind .using sockets . workingon unix ( solaris 2.6 ) .. how to get that info .. regards , Aggarwal
I want to be able to view control characters in vi. When I run a script created in vi, I get the following message "Bad Interpreter". I believe that it is possible to have the ^M character in ...
Hi, I am getting bad substitution for this. var1=value value_user=finalvalue echo ${${var1}_user} this is giving me the error. Please help me how to do nested variable substitu...
Hi, I don't know much about shell programming. I really need to modify a script at work to send email attachments using sendmail. I need to send image attachment. Here's the script that som...
HI All,          this is my code template                              sed -e s/AAA/aaa/ -e s/BBB/bbb/ -e s/CCC/cccc/ inputfile > outputfile.$$                               RC=$?       ...