Search Results

Search: Posts Made By: maskofzorro
2,505
Posted By maskofzorro
why not use mutt -a
why not use mutt -a
6,921
Posted By maskofzorro
Maybe use mutt instead mutt -a
Maybe use mutt instead mutt -a
5,509
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,094
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,305
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,981
Posted By maskofzorro
what do you want to do after you ssh?
what do you want to do after you ssh?
935
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
889
Posted By maskofzorro
try using " sed "s/day/$day_txt/"...
try using "
sed "s/day/$day_txt/" <elevation.xml >elevation1.xml
2,641
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,193
Posted By maskofzorro
try set scan = `cat /home/wera/etc/.scan`
try
set scan = `cat /home/wera/etc/.scan`
14,929
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,369
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,369
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,588
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 02:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy