Search Results

Search: Posts Made By: Chanakya.m
3,068
Posted By Chanakya.m
Hi mick, I am not sure about the...
Hi mick,
I am not sure about the restrictions on commands but I have below script that suits your requirement I believe.

/usr/bin/ftp -v -n "$SERVER" << cmd
user "$USER" "$PASSWD"...
21,807
Posted By Chanakya.m
Hi Olivia, If it is always first 10...
Hi Olivia,
If it is always first 10 characters to be ignore while printing, below command may help you. List them first and using "cut" command print them from 11th character till end of...
23,122
Posted By Chanakya.m
Call C Program From Shell Script
Hi,
Could anybody please let me know how to call a C_Program
from shell script. I know through command "system" we can call
shell script from C program.

Awaiting response.

Thanks and...
38,670
Posted By Chanakya.m
Porter, I mean it worked with the code...
Porter,
I mean it worked with the code posted by you.

-Chanakya
38,670
Posted By Chanakya.m
Thanks a lor porter .... it WORKED !!!!!!!!! but...
Thanks a lor porter .... it WORKED !!!!!!!!! but here i just want to know why you asked me to check for "ls -ld status" ..

Sanjay,
I have already mentioned that status has execution...
38,670
Posted By Chanakya.m
Hi Porter, Thanks for your quick reply...
Hi Porter,
Thanks for your quick reply but after adding #!/bin/bash also same error..
38,670
Posted By Chanakya.m
Calling SHELL script from C program
Hi,
I just tried to call a simple script from a pretty simple C program. I could not succeed :-( a message was thrown saying

"sh: line 1: "Script name with path": Permission denied"
...
4,853
Posted By Chanakya.m
Redirecting OUTPUT
Hi,
I want to move the output of a command/script to a file as well as to to be displayed on stdout.

Can anybody help me in this. Thanks in advace ..

-Chanakya M
13,241
Posted By Chanakya.m
Apply `chmod` for multiple files through FTP
Hi all,
Can you please help me in this aspect. I devoloped a FTP script to copy a directory to remote server. Now i got stuck-up in changing the file permissions for all the files in...
2,486
Posted By Chanakya.m
hi Inquirer, To confirm you there are...
hi Inquirer,
To confirm you there are no spaces in user name and the "#" in the script is not there in actual script. AS i informed in earlier the directory is created in the server but...
2,486
Posted By Chanakya.m
hi , Sorry for delayed response. ...
hi ,
Sorry for delayed response.

Sysgate:

Logged user have permission in that server to create a folder and for your infomation the folder got created also.

Jambesh :

I tried...
2,486
Posted By Chanakya.m
Error in ftping script
Hi all ,
Can u please help me in this. I tried to just login server through the below script

SERVER="Server_NAME"
USER="i am user"
PASSWD="mypassword"

ftp -in $SERVER<<EOF
user...
2,682
Posted By Chanakya.m
thank you aigles .. i got it
thank you aigles .. i got it
2,682
Posted By Chanakya.m
hi aigles, thank you.. I got the...
hi aigles,
thank you.. I got the required output. Can u explain me what is wrong in

echo 123 abc | sed 's/\([a-z].*\)/& &/' and if possible explain ur command also echo "123 abc" | sed...
2,682
Posted By Chanakya.m
Thank you blowtorch .. Expecting the same i...
Thank you blowtorch ..
Expecting the same i tried

echo 123 abc | sed 's/*[a-z]/& &/' to get 123 abc abc as output but i could not ..can u guide me how to get the desired output
2,682
Posted By Chanakya.m
Small Help on SED
Hi All,
I have come across a command

echo "123 abc" | sed 's/[0-9]*/& &/'

output is

123 123 abc

then i tried in different ways to get 123 abc abc as output.

Can u please...
2,053
Posted By Chanakya.m
why %% is required? I tried without %%, hot an...
why %% is required? I tried without %%, hot an error. Can u explain :-(

-Chanakya
2,399
Posted By Chanakya.m
Thanks Madan now i got it..
Thanks Madan now i got it..
2,399
Posted By Chanakya.m
Hi Reborg, i too tried ur commands...
Hi Reborg,
i too tried ur commands but can you just tell me why we need that single quote .. it has not worked without those..

-Chanakya
2,340
Posted By Chanakya.m
ok that's fine. how to get?
ok that's fine. how to get?
2,340
Posted By Chanakya.m
How to get all the links of a file?
Hi all,
I have several links to a file. Is there any command or anyway to get all those links.

Thanks in advance

-Chanakya
13,721
Posted By Chanakya.m
Thanks Grial .. now i got it thanks a lot.. ...
Thanks Grial .. now i got it thanks a lot..

-Chanakya
13,721
Posted By Chanakya.m
Klashxx, every where { } are used...
Klashxx,

every where { } are used is there any specific reason .. i tried the script with no {} i got error

line 1: var: command not found

can u explain me

--Chanakya
29,371
Posted By Chanakya.m
I got the solution. can be done with the...
I got the solution. can be done with the statement

%s/\\n/\\r\\n/g

Thanks
29,371
Posted By Chanakya.m
I need to change \n to \r\n in all the satements...
I need to change \n to \r\n in all the satements of file ..

Ex : printf("\nLINUX\n"); to be converted to printf("\r\nLINUX\r\n");
Showing results 1 to 25 of 57

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