Search Results

Search: Posts Made By: venkitesh
3,366
Posted By venkitesh
Hi Padow1 when i use backticks i am getting...
Hi Padow1

when i use backticks i am getting the below error.

-bash: echo password: command not found

Also its appending on server A not B.

Kindly help
3,366
Posted By venkitesh
Appending crontab using ssh and sudo without root credentials
Hi,

i have two servers say server A and server B. i have a sudo user say user1 with full privilges on server A and B. i am trying to append the crontab entry of root from server A of server B with...
1,954
Posted By venkitesh
Hi Ravinder, Thanks for providing the 3...
Hi Ravinder,

Thanks for providing the 3 approaches.

But the output what i am getting in test1 is

Hostname oe:value test.test.com

what i am looking for is hostname=test.test.com

and...
1,954
Posted By venkitesh
Hi Ravinder, Thanks for your reply. But...
Hi Ravinder,

Thanks for your reply.

But this solution wont help for me.

as i mentioned in the question, there are six keywors present in this examplle (Gateway, Hostname,...
1,954
Posted By venkitesh
Bash append values if keywords are present in the file
Hi Team,

i have a web ui where user will be passing values and the output will be saved to a file say test with the following contents .

These below mentioned values will change according to...
1,648
Posted By venkitesh
awk appending values inside a for loop
Hi

i have a 2 files say test1 and test2 with the following data.

cat file
test
test1

i want to append the output from a awk one liner to both the files.

for i in cat file;do awk...
664
Posted By venkitesh
Thanks rudi worked like a charm
Thanks rudi

worked like a charm
664
Posted By venkitesh
Hi RudiC, worked like a charm for the...
Hi RudiC,

worked like a charm for the mentioned input. Thanks

can you please help me for this as well.

Modified Input

[groups]

test_read = apple,orange
write = grapes,mango
[TEST:/]...
664
Posted By venkitesh
Bash script appending data after comma
Hi ,

i have a file say test with following contents.

[groups]

test_read = apple,orange
write = grapes,mango

i need to add raspberry on all the fields under groups section like this.
...
947
Posted By venkitesh
Hi i am writing a bash script and...
Hi

i am writing a bash script and redirecting the output in a file say test.

The output of test file has four columns.

vserver share-name path acl.

Issue is the values in acl...
947
Posted By venkitesh
Hi , sorry for not mentioning enough input. ...
Hi ,

sorry for not mentioning enough input.

i have attached a notepad with expected and actual results.

Kindly help

Regards
venkitesh
947
Posted By venkitesh
awk new line rightmost
Hi All

i have a file say test with the following output


vserver share-name path acl
test test test...
642
Posted By venkitesh
HI RudiC An .xls (= binary) file with HTML...
HI RudiC

An .xls (= binary) file with HTML headers? "sendmail to outlook"? Hmmmm...

Seems like some miscommunication happened here.

i attached the excel sheet just to show the expected...
642
Posted By venkitesh
Help with awk and html
Hi

i have a file say test with the following output

server share-name path acl ...
Forum: Programming 01-07-2017
1,233
Posted By venkitesh
Hi, Got the answer finally. select ...
Hi,

Got the answer finally.

select
assettype,
sum(status = 'In Stock') In_stock,
sum(status = 'Allocated') Allocated,
sum(status = 'Decommisioned') Decommisioned,
location
from...
Forum: Programming 01-07-2017
1,233
Posted By venkitesh
Need help in mysql query
Hi All,

i have a table in mysql with the following data


Table name Test

Assettype Serial_No Status location
Mouse 123456 In Stock ...
6,794
Posted By venkitesh
hi all worked perfectly thanks
hi all

worked perfectly

thanks
6,794
Posted By venkitesh
Hi Ravinder, works like a charm in the...
Hi Ravinder,

works like a charm in the terminal.

But i am converting this in html and sending via sendmail

this is what i am getting in outlook.

[31mLun01 2TB 1.99TB 99.6% [0m ...
6,794
Posted By venkitesh
hi sorry its test1.txt. reordering is...
hi

sorry its test1.txt.

reordering is not required.

just highlighting of red color is enough
6,794
Posted By venkitesh
Help with awk color codes based on condition
HI

i have two files say test and test1

Test.txt

Code:
Lun01 2TB 1.99TB 99.6%
Lun02 2TB 1.99TB 99.5%
Lun03 2TB 1.99TB 99.5%
Lun04 2TB 1.55TB 89.6%
Code:
Test1.txt
...
1,543
Posted By venkitesh
Hi can you please suggest how to create this in...
Hi
can you please suggest how to create this in html format
1,543
Posted By venkitesh
Help needed in sending file content with colors and borders
HI

i am running a shell script in cron and storing the output of that script in a file say test.then i am copying the content of test to test1 and i will send the output of test to some email ids...
1,727
Posted By venkitesh
HI Ravinder worked as expected thanks...
HI Ravinder

worked as expected

thanks a ton for your help
1,727
Posted By venkitesh
HI ravinder, please find the output what i...
HI ravinder,

please find the output what i am getting

original file content

/test/test1/test1 200GB 192.7GB

after applying awk command to this file output comes like this
...
1,727
Posted By venkitesh
HI ravinder, is there any way we can keep tb...
HI ravinder,

is there any way we can keep tb and gb as it is instead of converting all to gb's

as some are coming like this 50.010.01GB.

Thanks
Please use CODE tags when displaying sample...
Showing results 1 to 25 of 27

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