Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: targzeta
7,297
Posted By targzeta
sed -n "s/.*/'&'/;1{h;d};H;\${x;s/\n/,/g;p;q}"...
sed -n "s/.*/'&'/;1{h;d};H;\${x;s/\n/,/g;p;q}" code_LIST.txtEmanuele
966
Posted By targzeta
cat list.txt | while read pattern; do find...
cat list.txt | while read pattern; do find sourcedir -name "*$pattern*" -exec mv '{}' destdir/ \;;doneEmanuele
15,151
Posted By targzeta
I think the problem is with daylight saving time....
I think the problem is with daylight saving time. But, see this:# 1) correct
$> perl date.pl -d 'now + 3 days'
2013-10-28 23:24:14
$> date -d 'now + 3 days'
Mon Oct 28 23:24:20 CET 2013

#2)...
15,151
Posted By targzeta
Ok, I'm using Linux Slackware64 but...perl...
Ok, I'm using Linux Slackware64 but...perl date.pl
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: /usr/local/lib64/perl5
/usr/local/share/perl5...
2,484
Posted By targzeta
Wath about the simpler:du /usr/ | sort -nr | head...
Wath about the simpler:du /usr/ | sort -nr | head -n11 | tail -n10 | while read size path; do echo $path $size;doneEmanuele

P.S. If you want consider also /usr dir (that obviously is the first...
Showing results 1 to 5 of 5

 

Featured Tech Videos

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