Search Results

Search: Posts Made By: javalee
95,133
Posted By javalee
echo "scale=600;1/7"|bc ...
echo "scale=600;1/7"|bc
.1428571428571428571428571428571428571428571428571428571428571428571\
42857142857142857142857142857142857142857142857142857142857142857142\...
3
awk
2,029
Posted By javalee
Re: awk
awk '{gsub(/^.*Address.[0-9]./,"");print $1,$NF}'
59,180
Posted By javalee
Re: Inserting new line after match of a fixed string
using awk:
awk '{gsub(/hellosunil/,"\nhellosunil");print}'
7,140
Posted By javalee
Re: script for listing files of today's time stamp
first:
$_date=$(date +%Y-%m-%d)
second:
$ls --full-time|awk '/'$_date'/{print $NF}'
by the way:i can't express it,sorry :)
1,712
Posted By javalee
Use sed: $echo "abc'def'ghijk"|sed "s/'/\\ ...
Use sed:
$echo "abc'def'ghijk"|sed "s/'/\\
=>/g"
abc
def
ghijk
Use awk:
$echo "abc'def'ghijk"|awk '{gsub(/\047/,"\n");print}'
abc
def
ghijk
btw:=> is PS2
Forum: SuSE 04-03-2004
155,764
Posted By javalee
cat /proc/cpuinfo processor : 0 ...
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Celeron (Coppermine)
stepping : 10
cpu MHz :...
6,331
Posted By javalee
Thanks for your help :)
Thanks for your help :)
Forum: Linux 04-03-2004
2,451
Posted By javalee
Re: Hello!new linux user!I come from china!
Hi~~~,nice to meet you ;) I come from china,too. welcome to visit www.linuxsir.rog
6,331
Posted By javalee
I need some example of Co-Processes
I want to know how to work the Co-Processes in kornshell scripts. So, I very need some script about Co-Processes!
thanks ...:)
1,890
Posted By javalee
my script :)
#!/bin/ksh
#scriptname:locktty
#writed by :javalee
#email:javalee@tom.com
#homepage:www.linuxsir.org
#script start...
reset;clear
info="System will be locked!!! Press Waitting....."
print...
15,969
Posted By javalee
a=1.4 b=1.6 awk 'BEGIN{if('$a'>'$b')print...
a=1.4
b=1.6
awk 'BEGIN{if('$a'>'$b')print '$a'" is max";else print '$b'" is max"}'
2,451
Posted By javalee
Re: lilo.conf | bash
2)
#/etc/crontab
......
#m h d mo w u c
30 6 * * * root /root/msh/daily_update__bakup.sh
1 6 1 * * root /root/msh/monthly_base_bakup.sh
......

#/root/msh/monthly_base_bakup.sh ...
5,355
Posted By javalee
also try it: awk 'BEGIN{print...
also try it:
awk 'BEGIN{print 999999999999*100}'
1e+14
;)
1,568
Posted By javalee
hello everyone
hello everyone,I am javalee ,I come from china,I like shell,but,I can't speak English :( :sorry
2,078
Posted By javalee
Re: help in bc
verno=$(echo "$vernum+0.0"|bc)
Showing results 1 to 15 of 15

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