Search Results

Search: Posts Made By: raghav1982
2,766
Posted By raghav1982
Need to delete words in a file
Hi All,

I have an input file a.txt which contains the following ::


08-08-09 1:00 PM 763763762 f00_unix1_server.txt



i Just need to delete all the words which is before f

...
2,870
Posted By raghav1982
ftp -nv $HOST > log.txt << END_SCRIPT quote...
ftp -nv $HOST > log.txt << END_SCRIPT
quote USER $USER_show
quote PASS $PASSWD_show1
cd unix1
ls -ltr
quit
exit 0
grep unix_prg*.* log.txt > log1.txt
head -1 log1.txt > log2.txt
...
2,870
Posted By raghav1982
Thankyou!! i have tried couple of times, not able...
Thankyou!! i have tried couple of times, not able to get the condition which i need,

Can anyone help me on this ??

Thanks!
2,870
Posted By raghav1982
Shell Program , need help!!
Hi all,

I am trying to get a file from an ftp server and i have the list of files which needs to be get from the ftp server.

grep unix_prg*.* log.txt > log1.txt

log1.txt (which has the list...
Forum: Red Hat 07-08-2009
27,985
Posted By raghav1982
is there a way to get the files using FTP instead...
is there a way to get the files using FTP instead of SSH which is allowed inour source server ??

Thanks
8,955
Posted By raghav1982
more param.txt unix_dump more...
more param.txt
unix_dump


more temp.txt[[[ which is the input file ]]]
unix_core=a
unix: /var/temp/unixid/permissions


unix_dump=c
unix: /var/temp/unixid/permissions



Expected...
8,955
Posted By raghav1982
I tried to fix the code, but not able to get the...
I tried to fix the code, but not able to get the results. can anyone help me on this ???
8,955
Posted By raghav1982
i tried to use the same.. but didnot work...
i tried to use the same.. but didnot work according to my condition.

Thanks!
8,955
Posted By raghav1982
Need sed command with an exception
All,

I am currently using the below code to add a line /var/temp/'$input1'/permissions

Below is the shell ::

sed '
/Unix_command/ a\
unix: /var/temp/'$input1'/permissions' temp1.txt>...
2,237
Posted By raghav1982
Thanks Everyone!! I just wanted to replace...
Thanks Everyone!!

I just wanted to replace Failed which is associated with Machine .

Thanks!!
2,237
Posted By raghav1982
Issue with Sed Command
Hello ,

I am trying to replace a word :: complete to Failed .

work: complete

Sed command which i am using is given below ::

sed s/work: complete/Failed/g temp1.txt > temp2.txt (Sed...
9,720
Posted By raghav1982
Thanks .. But just need to confirm whether exit 0...
Thanks .. But just need to confirm whether exit 0 or exit 1 will work ..

I dont want to use exit 99 ..

Please let me know exit 0 or exit 1 will work instead of exit 99.

Thanks!!
9,720
Posted By raghav1982
Just need a quick info on this . if we need to...
Just need a quick info on this . if we need to break exit 1 or exit 0 will work instead of exit 99

Thanks!!
9,720
Posted By raghav1982
Can i add a Mailx option in it .. can you please...
Can i add a Mailx option in it .. can you please let me know the syntax in it ??

thanks
1,945
Posted By raghav1982
find . -name "hqr*" -type f -print -exec cp...
find . -name "hqr*" -type f -print -exec cp "hqr*" test1

i tried the above command and it doesnot work , how can i copy these files one i found those files . T
Thanks again for your help
1,945
Posted By raghav1982
Thanks for your reply , I am still having some...
Thanks for your reply , I am still having some issues .

I am able to find the files find . -name *.txt but i am not able to copy them into some other directory from there i need to FTP to a...
1,945
Posted By raghav1982
Hi Just to add on , i need to find all the...
Hi

Just to add on , i need to find all the a.txt from all the directories with the timestamp that it got created ..

Lets say the file got created oct10th 2008 then the file should be renamed...
1,945
Posted By raghav1982
If i donot have a Rcp enabled , is there a way to...
If i donot have a Rcp enabled , is there a way to copy through FTP ???
1,945
Posted By raghav1982
Need Help in Finding Files ::
Hi All ,

i am in progress of creating a script which should find a file a.txt , in a particular root directory . This should actually Search all the Sub directories and copy those files and FTP...
28,235
Posted By raghav1982
i tried to use su command and it was able to...
i tried to use su command and it was able to login to different user .. but there it stops and not able to execute the rest of my shell script ..

any thing you guys can suggest ???
28,235
Posted By raghav1982
How can i invoke SU command in shell script
Hi All ,

i am trying to switch user (from unix1 to unix 2 ) The user will give me the input and also the password . also how can i login into with the password . itried several attempts . no...
1,545
Posted By raghav1982
Need Help in assinging a value to a Variable !!
Hi all

i am writing a shell , which will get input from the user and then try to change the CASE to lower

echo "Please enter the unix server name ::"
read unix1
unix 2 =tr '[A-Z]' '[a-z]' <...
3,922
Posted By raghav1982
Thanks it worked !!!!
Thanks it worked !!!!
3,922
Posted By raghav1982
Great Thanks !!! Is there a way to call a...
Great Thanks !!!
Is there a way to call a executable by creating a link .. this is the problem which i am right now facing .. if any one help on me on this .. it would great .. because i created a...
3,922
Posted By raghav1982
Thankyou!!! both of my executable is located in...
Thankyou!!! both of my executable is located in the same server .. let say i installed the executable in on location , can it be accessed from a different path using links .. i tried the same but it...
Showing results 1 to 25 of 101

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