Search Results

Search: Posts Made By: ProFiction
2,861
Posted By ProFiction
Wow thank you very much.
Wow thank you very much.
2,861
Posted By ProFiction
Trouble with Nested Ifs
What I thought was going to be very simple has turned out to be really lame, and so I come to you for help.


mountedon=`df -k /synctest | awk 'NR == 2 {print $1}'`
if [ $mountedon -ne...
2,274
Posted By ProFiction
Hey, thanks a lot for your response. I...
Hey, thanks a lot for your response.

I figured out another way of doing it in less lines after reading your suggestion, check it out for your future reference as well.

while [ $hour -ne "07" ]...
2,274
Posted By ProFiction
Piping / Executing
I've got a file with lots of commands I want to run in it. They're formatted like so:

cp /path/to/file /path/to/new/file
and on and on and on.

Hundreds of them.

Anyways, I'd like to...
6,071
Posted By ProFiction
Line by line file reading... and more!
Hello,

I've got a lot of this file replication script written, but I'm having trouble finishing it off. What I need to do at the moment is run through a file one line at a time, execute the line,...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy