Search Results

Search: Posts Made By: Serious Sam
3,306
Posted By Serious Sam
Try this : tail -f <<log_file_name>> ...
Try this :



tail -f <<log_file_name>>



Thanks,
Sam
1,829
Posted By Serious Sam
Find Files
Hi,

Can any one help me how can we find the files which is greater than 1 GB and files between 500MB to 1GB starting from root?

Thanks,
Sam
2,778
Posted By Serious Sam
Cutting Columns and Moving in to a file
Guys,

Can any one tell me how can we cut the columns and move each column in to a separate file using awk?

I have a tab delimited file as shown below,
1213 wattt werree
2345 ...
9,595
Posted By Serious Sam
Try this cp X.log /backup/X.log1 ...
Try this



cp X.log /backup/X.log1
string X.log > X.log



Thanks,
Sam
64,946
Posted By Serious Sam
Try giving differnt ID in ur CC List. ...
Try giving differnt ID in ur CC List.

Thanks,
Sam
75,485
Posted By Serious Sam
Hi All - I have used the below code.., ...
Hi All -

I have used the below code..,



sed 's/,/<<press tab>>/g' test.txt > output.txt



And that did the click!!! Thank u all 4 helping :)
75,485
Posted By Serious Sam
Fazil - that dint work..,
Fazil -

that dint work..,
75,485
Posted By Serious Sam
Hi - i have used double quotes.., but, it...
Hi -

i have used double quotes.., but, it dint work.
75,485
Posted By Serious Sam
Replacing Comma by Tab
Hi All,

i have a file test.txt as shown below,

1,test,test111
2,rest,rest222

i want to replace the commas by tab delimiter..,

it should be like,

1 test test111
2 rest ...
31,445
Posted By Serious Sam
Gaurav - If you want a simple way to...
Gaurav -

If you want a simple way to display the date as the format you want, You can go with this..,



DATE=`date +%d-%b-%Y`
echo $DATE

31-Aug-2007



Thanks..,

Sam.,
65,600
Posted By Serious Sam
Try this code tr '\015' '\n' < input_file...
Try this code


tr '\015' '\n' < input_file > output_file


Thanks,
Sam..,
6,142
Posted By Serious Sam
Try this.., Currentdate=`date +%Y%d%m`...
Try this..,



Currentdate=`date +%Y%d%m`
echo $Currentdate

sar -u 1 10 > $Currentdate.sar.txt
vmstat 1 10 > $Currentdate.vmstat.txt
iostat 1 10 > $Currentdate.iostat.txt
3,701
Posted By Serious Sam
Colors in Ksh Script
Hi All,

is it poosible to Print the error messages in colors.., i am using KSH...,

i have tried the following,

echo "\033[34m Hi This is Sam!!! \033[0m"
Hi This is Sam!!!

But, when i...
Forum: AIX 08-20-2007
17,896
Posted By Serious Sam
Try this Code... ls /temp/tempusr/P*.* |...
Try this Code...


ls /temp/tempusr/P*.* | awk 'BEGIN {FS="/"}{print $4}'


Thanks
Sam..,
Showing results 1 to 14 of 14

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