Search Results

Search: Posts Made By: Lakris
12,843
Posted By Lakris
Hi, I know You already have an answer, but the...
Hi, I know You already have an answer, but the following could be an alternative, insert where You have
***Some sort of sort function***
It's using the same idea but with other programs.
while...
2,643
Posted By Lakris
Hi! I hope this may help, for x in $(seq 1...
Hi!
I hope this may help,

for x in $(seq 1 ${#mystr}) do
eval "echo letter$x=${mystr:$((x-1)):1}"
done

It uses parameter substitution which is very handy when working with...
5,563
Posted By Lakris
Hi, I'm not sure about this one because I get...
Hi,
I'm not sure about this one because I get three lines in fileC instead of 2 as You state, but anyway, it may work as a hint:

>fileC
>fileD
while read a b c d date time; do
grep "$a $b $c...
Forum: IP Networking 10-22-2010
5,344
Posted By Lakris
Great, I ponder to much over my writing and there...
Great, I ponder to much over my writing and there You go finding it all out by Yourself ;)
Yes there's a server mode as well...
Good luck with copying!
/L
35,863
Posted By Lakris
Hi, what have You tried Yourself? I'm afraid...
Hi, what have You tried Yourself?

I'm afraid You can't do that with the dir command alone. Do You mean DOS or NT (command.exe or cmd.exe)?
But if You combine it with the "FOR /F" You can...
2,455
Posted By Lakris
Hi! This sounds very complicated. Or maybe I...
Hi!
This sounds very complicated. Or maybe I haven't understood the problem description. But You want to run it EVERY fourth saturday?
Wouldn't it help to:
1) Schedule a cron job to run every...
14,564
Posted By Lakris
Hi, an easier way to achieve (1) is: ls...
Hi, an easier way to achieve (1) is:

ls -S|head -1


i.e. list files sorted on size, and show the top entry.

As for (2), there is no program cc in Your search path for programs. Either the C...
Showing results 1 to 7 of 7

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