10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
dear users and experts,
i am stuck withis command and i am unable to understand what is it doing??
ls -d * (7 Replies)
Discussion started by: seshank
7 Replies
2. Shell Programming and Scripting
Hi,
i have a doubt. i am using .netrc file for login to a ftp server.
ftp abc.ftp.com
suppose i have 2 userid and password for the same server as shown below. which one is it going to read from the .netrc file?
cat .netrc
machine abc.ftp.com login admin1 password pass1
machine... (13 Replies)
Discussion started by: Little
13 Replies
3. Shell Programming and Scripting
Hi,
What is the difference in capitalizing the option 'i' of xargs command, (i.e) xargs -i and xargs -I?
Also, what is the difference between the below 2 commands?
output_from_cmd | xargs -I {} grep '{}' file
output_from_cmd | xargs -I grep '{}' file
Any efficiency or performance... (4 Replies)
Discussion started by: royalibrahim
4 Replies
4. Shell Programming and Scripting
i have input files like this
SFE_DOC_DATE (SFE_DOC_DATE:UniChar.:): "04/18/20"
SFE_PSTNG_DATE (SFE_PSTNG_DATE:UniChar.:): "04/18/20"
SFE_CREATEDON (SFE_CREATEDON:UniChar.:): "05/31/20"
SFE_CLEAR_DATE (SFE_CLEAR_DATE:UniChar.:): "(NULL)"
SFE_CLR_DOC_NO... (3 Replies)
Discussion started by: Gopal_Engg
3 Replies
5. Shell Programming and Scripting
hello,
I am using banner command in my shell.I used :-
The problem is that the output is printed in 3 separate lines.I want to display it in a single line.If the size is not enough then at least 2 words should come in the same line. Can you tell me what is the option in banner that would help... (4 Replies)
Discussion started by: nsharath
4 Replies
6. Shell Programming and Scripting
Hello
i am new shell scripting.
I have a file like this,
$ cat myfile
;/abc/abc.cpp@@/main/1;xyz
;/abc/abc.cpp@@/main/2;usr2
;/abc/abc.cpp@@/main/1;abc
;/abc/abc.cpp@@/main/2;usr2
;/abc/abc.cpp@@/main/1;usr1
when i grep the file.
$ grep "abc" myfile... (8 Replies)
Discussion started by: tsaravanan
8 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am trying to understand a script and found a line as follows:
tr '\211\233\240' '\040' < $IN_FILE | tr -cd '\11\12\15\40-\176' > $TEMP_FILE
Can any one explain the above line .. What are they trying to translate using the tr command.. I have not used tr command.. so feeling little bit... (2 Replies)
Discussion started by: risshanth
2 Replies
8. UNIX for Advanced & Expert Users
PLEASE EXPLANIN ME...
sed 's~\(.*\)\(<name>\)\(.*\)\(</name>\)\(.*\)~\2\3\4~'
this is the format
<start><name>123<\name><addr>BAC<\addr><loc>sfo<\loc></start> (1 Reply)
Discussion started by: gksenthilkumar
1 Replies
9. AIX
I am new to unix...
How to get all the saturdays of a specific year?
for a specific month, i tried as below..
cal 02 2006 | awk '{print $7}'
but it is not giving all saturdays....
can anyone help me with this?
Thanks in advance,
Sumi (9 Replies)
Discussion started by: sumi
9 Replies
10. Shell Programming and Scripting
Will the file permissions change when a file is ftp'd from a diferent server to my box.
(eg). In the vendor site, the file has 666 permissions and i just get the file. I dont change the permission in the ftp process. my directory has the follwoing permissions - drwxrwsr-x. Will there be any... (0 Replies)
Discussion started by: ranj@chn
0 Replies