Search Results

Search: Posts Made By: bobbasystem
1,114
Posted By bobbasystem
Thanks a lot kato!!!
Thanks a lot kato!!!
1,114
Posted By bobbasystem
Problem with format numbers
Hello Everyone!

I hope you can help me!!

I have this little problem:

I executed oracle query and the output of the result are in a text file called "DATAFILE.txt", and the value of file...
1,115
Posted By bobbasystem
Thank you so much bartus11 and Klashxx for the...
Thank you so much bartus11 and Klashxx for the help.
Was much more simple than I thought.

Thanks again!

;)
1,115
Posted By bobbasystem
Search parameters on file with AWK
Hello everyone!!

I need help with this please:

I have a file with this content:


56977964333 730030201857822 1
2
...
1,387
Posted By bobbasystem
Exactly...I will try this Thanks man!
Exactly...I will try this
Thanks man!
1,387
Posted By bobbasystem
Send traps from text file
Hello everyone!

I have a text file with the next content:

2010-04-15 15:21:15 Minor 15605325 1531 Alarm name = IAD Equipment In Service location=iad01.tecnac.camino.illapel,...
3,486
Posted By bobbasystem
I was referring to the console buffer...but with...
I was referring to the console buffer...but with your help my problem is resolved.
Many thanks!
3,486
Posted By bobbasystem
Empty buffer when is full
Hello everyone!

This is the situation:

I execute this command from a bash script:


telnet 10.99.246.14 6001 >> output.txt
The question is:
How I do to execute this command and empty the...
3,358
Posted By bobbasystem
Fixed: Like a root: chmod -R 770...
Fixed:

Like a root:

chmod -R 770 /usr/bin/


Then:

chmod 777 /usr/bin/telnet
chmod 635 /bin/ping
chmod u+s /bin/ping


and it works just like I want!

Thak's for all!
:b:
3,358
Posted By bobbasystem
I have Ubuntu Server 8.04 in the machine. I...
I have Ubuntu Server 8.04 in the machine.
I tried this but doesn't work:


1) Added a group : groupadd netadmins
2) Added a user : useradd admin1
3) Gave a password for admin1 : passwd admin1...
3,358
Posted By bobbasystem
Only execute telnet and ping for user
Hello for all!
This is the situation:

I must create many users that only can execute telnet and ping.
Create users is not a problem, but I donīt know how limit the users privileges, to only...
5,675
Posted By bobbasystem
Ok, Sorry. Thanks.
Ok, Sorry.
Thanks.
5,675
Posted By bobbasystem
scp problem in crontab
Hello there:

I hope you can help me.
I have this problem:

I have the next script:


#!/bin/bash

#copy all backuped files to main server
scp /root/opennms_etc_$fecha.tar.gz...
5,882
Posted By bobbasystem
thanks for your help pludi!
thanks for your help pludi!
5,882
Posted By bobbasystem
Change to user root without end the script
Hello there!
I need help:

I have this script:

#!/bin/bash

#chage to root user
sudo su

#Insert actual date
echo -n "Ingrese fecha actual: "

#Read the actual date
read fecha
...
1,452
Posted By bobbasystem
Thanks rdcwayx :b:
Thanks rdcwayx :b:
1,452
Posted By bobbasystem
Apply script to several archives in several Folders.
Hello. I'm here again.

I have a script in python and bash, and I need execute this script over all files in all folders.
Example:

Folder: CMDB
Subfolders: router1
router2
...
3,620
Posted By bobbasystem
Thanks for all!
Thanks for all!
3,620
Posted By bobbasystem
AWK Output to file.
I have this awk instructions:

#Interface with description
awk '/hostname/{a=$0} /interface/{b=$0} /address/{print a b $0}' informe-router.txt
awk '/interface/{b=$0} /address/{c=$0}...
1,771
Posted By bobbasystem
Sorry....it works...thanks!
Sorry....it works...thanks!
1,771
Posted By bobbasystem
Not exactly... I have this text in the file:...
Not exactly...

I have this text in the file:

interface
description
ip address

But I also have this text:

interface
ip address

then I want insert the word "no description" when no...
1,771
Posted By bobbasystem
Insert between lines.
Hello...I'm here again.
This is the situation

I want check if exist text between two lines:

Example:

interface
description --text to verify
ip adress

if not exists text between...
3,136
Posted By bobbasystem
Ok Thanks.
Ok Thanks.
3,136
Posted By bobbasystem
thanks, is what I need....but how write de output...
thanks, is what I need....but how write de output in a file?

the command awk .......> file_output did not work.
3,136
Posted By bobbasystem
With awk is this possible? I mean...something...
With awk is this possible?
I mean...something like this:

When find 'interface' put all lines with de 'interface word in the field $1, and
if find 'description' put all lines in the field $2,...
Showing results 1 to 25 of 34

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