10-19-2009
Scrutinizer,
Your detailed explanation helps me a lot. Thanks
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I wanted to list all the files in the current directory which contains the pattern "error". I tried the following grep command
grep -i 'error' *.*
but i got the error message "ksh: /usr/bin/grep: 0403-027 The parameter list is too long."
Any idea why the grep didn't work?
Note:... (3 Replies)
Discussion started by: mona
3 Replies
2. 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
3. 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
4. Shell Programming and Scripting
Hi linux experts,
I am using ftp command as :
ftp hostname
but it says unable to connect,
if i am using the same in sftp it is working :
sftp hostname
it works.
so please help me how should i use ftp command. (8 Replies)
Discussion started by: salil2012
8 Replies
5. 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
6. Shell Programming and Scripting
which one is correct
chmod 777 file.txt or chmod 777 / file.txt
what is difference in these two commands?
thanx in advance (2 Replies)
Discussion started by: Himanshu_soni
2 Replies
7. Shell Programming and Scripting
Hi,
I almost always use back quotes in scripts to assigin output of a command to a variable.
eg: file=`basename a/b/c/d/file`
year_mon=`date +%Y%m`
But the same can be achieved like:
file=$(basename a/b/c/d/file)
year_mon=$(date +%Y%m)
I would like to know if there is... (3 Replies)
Discussion started by: wanderingmind16
3 Replies
8. 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
9. UNIX for Advanced & Expert Users
My understanding is that "setserial" command is used to change the attributes of
serial device files (ttyS) managed by the linux serial driver(serial module).
My doubt is, using setserial command is it possible to change the attributes of other serial device files managed by a different driver... (2 Replies)
Discussion started by: Kesavan
2 Replies
10. Shell Programming and Scripting
hi all,
I would need to add the description in the below syntax. let me know the below syntaxt how it can be changed to add the description in the below.
ps -ef | grep "server" | mailx -s "servers currently which are running" operational@acel.com
Server 62 -> Used for User acessing.... (14 Replies)
Discussion started by: arun888
14 Replies
LEARN ABOUT OPENDARWIN
end_of_function