Search Results

Search: Posts Made By: pathanjalireddy
2,835
Posted By pathanjalireddy
Hi, I am not clear with variables u have...
Hi,

I am not clear with variables u have used in the shell script.

emdc_value, emdc.table, $emdc
2,835
Posted By pathanjalireddy
searching for filenames with search strings in another file
Hi,

I have 5 files in a directory.

emp1_usage.txt
emp2_usage.txt
emp3_usage.txt
emp4_usage.txt
emp5_usage.txt

I am using sqlldr to get the contents of the above 5 files and store it in a...
22,569
Posted By pathanjalireddy
searching for filenames with specific string in a file
Hi,

I have 5 files in a directory.

emp1_usage.txt
emp2_usage.txt
emp3_usage.txt
emp4_usage.txt
emp5_usage.txt

I am using sqlldr to get the contents of the...
2,005
Posted By pathanjalireddy
Shell Scripting - GREP
Hi,

I have a file called A.txt having the contents

MANI
REDDY
SANTOSH

I have another file called B.txt having the contents

KIRTHI
MANI
GIRI
REDDY
GAUTAM
MAHESH
MANJU
SANTOSH
...
10,920
Posted By pathanjalireddy
Hi, Thanx. What should I do if want the...
Hi,

Thanx. What should I do if want the first and last line of Mani.txt
I have a file called Log.txt. The contents of the file are...
10,920
Posted By pathanjalireddy
hi, in sed -e '/^My Name/!d mani.txt >...
hi,
in sed -e '/^My Name/!d mani.txt > output.txt- where to close the quote
10,920
Posted By pathanjalireddy
Cutting specific lines from a file
Hi,

I have a file named Mani.txt. The contents are like this

cat Mani.txt
--------------------------------------------------------
Hi there how r u

My Name is Mani

Bye...
22,569
Posted By pathanjalireddy
Thanks Again !!!!!
Thanks Vino.........

This one worked perfectly fine......
22,569
Posted By pathanjalireddy
Any way to remove .txt before the date field
Hi Vino,

I got the .txt twice but for my problem i think it should be fine.

If you have any way to remove the .txt before the date let me know.

I can adjust with the code sent by...
22,569
Posted By pathanjalireddy
Thanks !!!!!!!!!!!!
Thanks Vino.

It worked.
22,569
Posted By pathanjalireddy
copying files and Renaming them + shell script
Hi,

I have a problem.

I have some text files in a folder. The names can be like:

emp.txt
emp1.txt
emp3.txt
32emp4.txt

What i need is i have to copy all...
2,775
Posted By pathanjalireddy
Status of shell scripts
Thanx,
It is ok if u I am executing the scripts within the script. What if I run the scripts independently and not within a single script

sh a.sh

sh b.sh

sh c.sh

What is the possible way...
2,775
Posted By pathanjalireddy
Staus of Executed Scripts
Hi There,

I have 3 scripts that have to be run one after the other. All 3 scripts are dependent of the other. Now, If I am about to run the second script, assuming that the first script has...
1,745
Posted By pathanjalireddy
Cronjob in Unix
Hi There,

I want to run a shell script as a cronjob. I dont want to go to the cronfile and give the details. Is their any way of running the script as a cronjob from within the script.I just...
12,533
Posted By pathanjalireddy
Single Instance of a Shell Script
Hi,

I have a shell script. What should I do to allow only single instance of the script to be run by a user at a time. That is, Only one user can run that script at a given point of time.
...
5,915
Posted By pathanjalireddy
Counting Number of times a File is accessed
Hi,

I need to count the number of times a script is accessed from within the script. Is it possible ?

Example: I have a script called lo.sh and i execute the script for the first time,...
9,592
Posted By pathanjalireddy
Purpose of this Script
Hi,

This is the purpose of this script.


Everyday, many times i need to log on to a local unix machine first, then use telnet to connect to remote unix machine using the desired...
9,592
Posted By pathanjalireddy
Reply with code
Please reply me with the modified code if possible !!!!!!!!!
9,592
Posted By pathanjalireddy
Telnet Session
{
sleep 2
echo "$user"
sleep 2
echo "$password"
sleep 2
echo " ls"
sleep 10
echo "exit"
}| telnet $server ...
2
1,411
Posted By pathanjalireddy
Script
Hi,

I need a script which when executed on a local unix machine should connect to another unix machine and log-in automatically.

The IP-Address, Username, Password of the remote...
Showing results 1 to 20 of 20

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