Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: vivek d r
1,270
Posted By vivek d r
Here is the output for the printf and hexdump ...
Here is the output for the printf and hexdump



[root@ ~]# lineno=`grep "/root/.ssh/known_hosts:" /tmp/dateOutputError.txt | awk -F' ' '{print $4}' | cut -d':' -f2`
[root@ ~]# printf "[%s]\n"...
4,790
Posted By vivek d r
here is your code..(I fixed the bug :-) ) ...
here is your code..(I fixed the bug :-) )


datee="01/01/2011"
len=${#datee}
mm=${datee:0:2}
dd=${datee:3:2}
yy=${datee:6:4}
mydate=$(date -d 01/01/2011)
day=$( echo $mydate | awk -F' '...
833
Posted By vivek d r
here is your code :-) first=" " while...
here is your code :-)

first=" "
while read line
do
first2=$( echo $line | awk -F' ' '{print $1}' )
if [[ "$first" == "$first2" ]]
then
gg=$( echo...
1,066
Posted By vivek d r
actually am new to this shell scripting so after...
actually am new to this shell scripting so after taking an hour or so i wrote the below program.. phew :wall: :wall:.. its very lengthy though


#!/bin/sh
echo enter file1 name
read fname
...
Showing results 1 to 4 of 4

 

Featured Tech Videos

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