Search Results

Search: Posts Made By: venkidhadha
895
Posted By venkidhadha
Automating su ( sudo ) login
Hi,

I am planning to automate a deployment process and the below are the steps


Connect from windows to Unix server
Login with user name : admin and password
After logging in , switch...
472
Posted By venkidhadha
Hi Rudic, Actually the input...
Hi Rudic,
Actually the input file[input.txt] had tags other than <test></test1>

ex :
<test>12312 njh</test1>
<tag1>apple</tag1>
<tag2>orange</tag2>
<test>abcdedfg
hijklmno...
472
Posted By venkidhadha
Command to read between patterns in a while
I am currently working on a requirement in a file wher I have to filter the characters between two specific fields/patters and get the count of total no of characters between the two fields.

...
631
Posted By venkidhadha
Inserting values into database from an excel
Hi,


I have a requirement where I have an excel sheet with the below values

COL1 COL2 COL3
Germany URGENT NORMAL

I want to cut the values of this excel in...
460
Posted By venkidhadha
Assigning value to a variable
Unable to get the value to a variable.

set -x
cd $HOME
echo "Enter the server name"
read a
echo $a
i=4
j=1
k = ps -ef | awk '/server1/{ print $4 }' | tail -$i | head -$j`
echo $k
...
1,665
Posted By venkidhadha
Find command alternatives
Hi is there an alternative other than the find command to get the size of files which are 10 days older ? I already use a script with find command

find . -mtime +10.

However would want to...
2,166
Posted By venkidhadha
Grep pattern and display all lines below
Hi I need to grep for a patter and display all lines below the pattern.

For ex: say my file has the below lines

file1
file2
file3
file4
file5

I NEED to grep for patter file3 and...
4,753
Posted By venkidhadha
Is this not compatible with cshell? If not it...
Is this not compatible with cshell? If not it would be great if you let me know on what exactly is the reason.

---------- Post updated at 01:25 PM ---------- Previous update was at 01:17 PM...
4,753
Posted By venkidhadha
Mine is a /bin/csh - cshell..
Mine is a /bin/csh - cshell..
4,753
Posted By venkidhadha
<< terminator not found error
I am using the following script. I am basically trying to enter data to my database using a storeprocedure.

PFB MY script.
#!/bin/csh -f
foreach FF (`cat ADDUSERS`)
isql -VENKIDB -U gloss -P...
2,133
Posted By venkidhadha
Thanks , I am now able to retreive the exact...
Thanks , I am now able to retreive the exact data...
2,133
Posted By venkidhadha
Find Command
Hello I need to search for pattern in my direcotry which are not of format *.out.

I tried using ! for the not option.

The below command of mine did not work.

find . -name \!*.out -print...
2,173
Posted By venkidhadha
Remote desktop
Hello,

We are currently monitoring a server which sometimes does not allow people to login to it using RDP. Though the server is rechable we are not able to remotely login to it. Hence we...
1,313
Posted By venkidhadha
Hello, had to get back to this echo -e...
Hello,

had to get back to this echo -e after a long time. I am using the general discussed below.

however my output has the -e options in it. Not sure of the reason.

cut -f6 -d '/'...
1,313
Posted By venkidhadha
Thanks that really worked well. small syntax...
Thanks that really worked well. small syntax making a large diff :)

---------- Post updated at 01:53 AM ---------- Previous update was at 01:52 AM ----------

Also can you let me know what do i...
1,313
Posted By venkidhadha
\n option in script
I have a series of around 20 files as my program output. The final line of my script gets the no of files and the file list for the present day. The no of files shoudl be printed first and the files...
Forum: Solaris 06-12-2009
2,724
Posted By venkidhadha
Excel sheet
Hello,

I have an information of about 100 odd file names which i have in my server. I need to attach this information in an excel sheet and sent to the concerned team.

I use uuencode for...
1,512
Posted By venkidhadha
Actually that was just to test the values i get....
Actually that was just to test the values i get. But even afte i remove that the error remains the same.

if you see the same script works while running manually but is is not in the case while...
1,512
Posted By venkidhadha
issue while configuring a script in the cronjob
Hi all,

I have written the following script which will try pinging to almost 24 nodes and when the connectivity is down it sends me an alert saying the node is down. It also gets me a trace route...
3,400
Posted By venkidhadha
Uuencode
Hi All,

I have a queryin the uuencode option. Actually i need to attach two files in a single mail.
I am aware of attaching a single file using the command below.

(echo " The first file...
10,233
Posted By venkidhadha
Thanks a lot actually i have sorted that issue...
Thanks a lot actually i have sorted that issue out. i am using a grep option and from that i am retreiving the data. Also now i need to know how do i remotely logg off my telnet seession with a...
10,233
Posted By venkidhadha
Hi , Two things which i wanted clarify The...
Hi , Two things which i wanted clarify

The reason behind the implementation is that we have multiple connections to various nodes through which files move in and out. so we are monitoring the ip...
10,233
Posted By venkidhadha
Here is the code snippet which i am using ....
Here is the code snippet which i am using . actually wheen it tries to ping a node it pings it and then ig et a message sayng " Time exceeded" then it doesent come outside of the loop, which...
10,233
Posted By venkidhadha
Break command
have a query on this break. I am using a program where I am using a while loop to execute it. It will get into a file take the first file and then ping it and if the ip is reachable then it will...
17,422
Posted By venkidhadha
I have a query on this break. I am using a...
I have a query on this break. I am using a program where I am using a while loop to execute it. It will get into a file take the first file and then ping it and if the ip is reachable then it will...
Showing results 1 to 25 of 33

 

Featured Tech Videos

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