Search Results

Search: Posts Made By: maskofzorro
2,409
Posted By maskofzorro
why not use mutt -a
why not use mutt -a
6,898
Posted By maskofzorro
Maybe use mutt instead mutt -a
Maybe use mutt instead mutt -a
5,425
Posted By maskofzorro
how about: #!/bin/bash lines=`wc -l...
how about:

#!/bin/bash
lines=`wc -l doc.txt|awk '{ print $1 }'`
if [ $lines -ge 10 ];
then
split -d -l 10 doc.txt wcount.
fi
exit
2,015
Posted By maskofzorro
echo "pwwn = 0x50012482009cd7a7...
echo "pwwn = 0x50012482009cd7a7 nwwn=0x50012482009cd7a6 port_id = 0x280200" | awk '{ print $3 }'| sed -e 's/^0x//g' -e 's/../&:/g' -e 's/:$//'
2,282
Posted By maskofzorro
this is messy but i think it works awk...
this is messy but i think it works
awk -F'SUESTART' '{ print $1" " $2" "$3 }' rules.txt | sed 's/SUEEND.*//g'
Forum: Linux 08-05-2011
4,938
Posted By maskofzorro
what do you want to do after you ssh?
what do you want to do after you ssh?
918
Posted By maskofzorro
try for i in `cat /tmp/1.txt`; do cat $i |mailx...
try
for i in `cat /tmp/1.txt`; do cat $i |mailx -s $i me@company.com; done
881
Posted By maskofzorro
try using " sed "s/day/$day_txt/"...
try using "
sed "s/day/$day_txt/" <elevation.xml >elevation1.xml
2,604
Posted By maskofzorro
Yu could try this: Where i have a text file...
Yu could try this:

Where i have a text file called hours.txt with:

CCR20110720011501.CTRD
CCR20110720012001.CTRD
CCR20110720012501.CTRD
CCR20110720021001.CTRD
CCR20110720021501.CTRD...
1,173
Posted By maskofzorro
try set scan = `cat /home/wera/etc/.scan`
try
set scan = `cat /home/wera/etc/.scan`
14,766
Posted By maskofzorro
cat books | sed...
cat books | sed 's/\(books.amazon=\)\(.*\)/\1NOTFOUND/'

books.amazon= is stored in \1
'Let me read' is stored in \2
2,341
Posted By maskofzorro
#!/bin/bash filename=/home/file.txt ...
#!/bin/bash

filename=/home/file.txt
pid=`ps -ef|grep file.txt|grep -v grep |awk '{ print $2}'`

echo "Pid of file $filename is $pid"

if [ -z "$pid" ]
then
echo "File is closed"
else
echo...
2,341
Posted By maskofzorro
Use fuser or lsof commands to check if the file...
Use fuser or lsof commands to check if the file is open by another program
1,566
Posted By maskofzorro
Got this so far, not completely what u want i...
Got this so far, not completely what u want i think

#!/usr/bin/perl
use warnings;

my $str = "hello worlds";
my @newstr=split(/ /,$str);

foreach $line (@newstr) {
...
Showing results 1 to 14 of 14

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