Search Results

Search: Posts Made By: jaiseaugustine
9,752
Posted By MadeInGermany
Further, the -exec file {} \; -exec rm -i {} \;...
Further, the -exec file {} \; -exec rm -i {} \; is tailored for interactive use,
while -type f -exec rm -f {} \; is tailored for scripts.

BTW -delete is a new option in new find versions. Would...
9,752
Posted By rbatte1
Oh dear, I'm classing myself as a geek. Well, if...
Oh dear, I'm classing myself as a geek. Well, if the name fits, ......

The way you have tried, the shell will expand *.back before trying to run the command. If you happend to have a file at the...
3,111
Posted By frappa
hi, have a look at man usermod, the section...
hi,
have a look at man usermod, the section OPTIONS, option -p.

perform tests on a test account

see ya
fra
3,599
Posted By Corona688
That is a useless use of cat...
That is a useless use of cat (http://partmaps.org/era/unix/award.html) and useless use of backticks (http://partmaps.org/era/unix/award.html#backticks), inherently dangerous because any file too long...
10,983
Posted By jlliagre
Pludi's code works fine under bash while I guess...
Pludi's code works fine under bash while I guess you are running ksh which doesn't implement a sub second sleep builtin.

I would slightly modify two lines of your script:bal=`ls -lrt *.txt |wc...
10,983
Posted By kshji
This works with ksh, bash and dash cnt=0 ...
This works with ksh, bash and dash

cnt=0
# if you need only files which names are *.txt, then no need ls+awk
for file in *.txt ...
Showing results 1 to 6 of 6

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