Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: javalee
92,570
Posted By javalee
echo "scale=600;1/7"|bc ...
echo "scale=600;1/7"|bc
.1428571428571428571428571428571428571428571428571428571428571428571\
42857142857142857142857142857142857142857142857142857142857142857142\...
3
awk
1,815
Posted By javalee
Re: awk
awk '{gsub(/^.*Address.[0-9]./,"");print $1,$NF}'
55,550
Posted By javalee
Re: Inserting new line after match of a fixed string
using awk:
awk '{gsub(/hellosunil/,"\nhellosunil");print}'
6,876
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,593
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
141,779
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 :...
5,927
Posted By javalee
Thanks for your help :)
Thanks for your help :)
Forum: Linux 04-03-2004
2,265
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
5,927
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,588
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...
12,235
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,270
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 ...
4,722
Posted By javalee
also try it: awk 'BEGIN{print...
also try it:
awk 'BEGIN{print 999999999999*100}'
1e+14
;)
1,284
Posted By javalee
hello everyone
hello everyone,I am javalee ,I come from china,I like shell,but,I can't speak English :( :sorry
1,866
Posted By javalee
Re: help in bc
verno=$(echo "$vernum+0.0"|bc)
Showing results 1 to 15 of 15

 

Featured Tech Videos

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