Search Results

Search: Posts Made By: vivek d r
1,772
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"...
5,717
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' '...
1,117
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,365
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

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