Search Results

Search: Posts Made By: smilesavvy
7,252
Posted By smilesavvy
grep "$( date +"%F" )" abc.log > $( date +"%F"...
grep "$( date +"%F" )" abc.log > $( date +"%F" ).log
1,533
Posted By smilesavvy
Yes Your Correct
Yes Your Correct
32,271
Posted By smilesavvy
Just debug the script find out where exactly it...
Just debug the script find out where exactly it is not processing as per our wish then we could try to resolve that one.
$$ gives last background job process id .
32,271
Posted By smilesavvy
Hi Rajesh, 1.Please try to give one filename...
Hi Rajesh,
1.Please try to give one filename instead of ./$1.txt
2.Please find out how long the query execution process takes time so that we need to set the Sleep time command.
3.Suspend the...
2,673
Posted By smilesavvy
Can u give some examples please??
Can u give some examples please??
32,271
Posted By smilesavvy
use sleep command to stop executing the script...
use sleep command to stop executing the script for a while so that output.txtwill be available to access.


done <./$1.txt
sleep 180 && echo " Waiting for the query execution..."
nawk '{if($2 ~...
32,271
Posted By smilesavvy
Now what you have to do??
Now what you have to do??
Forum: HP-UX 11-22-2011
6,530
Posted By smilesavvy
Show some of your efforts please.??
Show some of your efforts please.??
32,271
Posted By smilesavvy
Please help me to understand with some examples...
Please help me to understand with some examples of input files or anything??
1,274
Posted By smilesavvy
sed 's#.*\(/var/adm/messages\).*#\1 -A 90d -C 0...
sed 's#.*\(/var/adm/messages\).*#\1 -A 90d -C 0 -S 2g -p 1d -s 100m#g' myFile
6,565
Posted By smilesavvy
find /stage -maxdepth 3 -name "*.DAT"
find /stage -maxdepth 3 -name "*.DAT"
32,271
Posted By smilesavvy
awk '/OrdAcctCycChg/ {print...
awk '/OrdAcctCycChg/ {print $1,substr($3,length($3),1)}' inputfile | while read a b
do
echo $a #your first variable value
echo $b #your second variable value
done
1,315
Posted By smilesavvy
hi, can u enter below command and see what SHELL...
hi, can u enter below command and see what SHELL is showing ??

env | grep -i shell
23,639
Posted By smilesavvy
find ~ -empty or for i in * do if...
find ~ -empty

or

for i in *
do
if [ -s $i ]; then
echo "$i is a file and size is greater than zero."
else
echo "$i is an empty file and deleting now..."
rm -rf $i
fi
done
991
Posted By smilesavvy
P is used for Pasting the yanked lines. You can...
P is used for Pasting the yanked lines.
You can do :set nu to do numbering the lines so that you will come to know the current line number.
8,434
Posted By smilesavvy
sort -nru File1 File2
sort -nru File1 File2
875
Posted By smilesavvy
can you show us your Input file??
can you show us your Input file??
1,541
Posted By smilesavvy
Please try this and here we dont write scripts...
Please try this and here we dont write scripts for you. we will help you to write the script so next time onwards write us what have you tried to get the output.

DIR = "300,000 folder path"
cd...
5,329
Posted By smilesavvy
awk '{print $1,$3,$2}' filename
awk '{print $1,$3,$2}' filename
2,346
Posted By smilesavvy
use this awk '{print ($1/$2),$1, $2}' b.in |...
use this
awk '{print ($1/$2),$1, $2}' b.in | sort -n | head -2
22,079
Posted By smilesavvy
Thanks for correcting me Ahmed. The below one...
Thanks for correcting me Ahmed. The below one liners works for you.
1.Remove Tab space using SED:
sed 's/\t//g' filename

2.Remove Newline using SED:
sed 's/\n//g' filename
22,079
Posted By smilesavvy
1.Remove Tab space using SED: sed 's/\/t//g'...
1.Remove Tab space using SED: sed 's/\/t//g' filename
2.Remove Newline using SED: sed 's/\/n//g' filename
1,909
Posted By smilesavvy
To create a directory .ssh in /home/499633 ...
To create a directory .ssh in /home/499633

mkdir -p /home/499633/.ssh

To see hidden directories

ls -a | gerp "^d"
Video tutorial on how to use code tags in The UNIX and Linux Forums....
1,909
Posted By smilesavvy
It will be created in your home directory as a...
It will be created in your home directory as a hidden directory. ~ represents Home Directory here.
8,544
Posted By smilesavvy
I would suggest you to check the MAN page. ...
I would suggest you to check the MAN page.

sftp is an interactive file transfer program, similar to ftp, which performs all operations over an encrypted ssh transport. It may also use many...
Showing results 1 to 25 of 27

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