10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Need help on grep for a particular match.
cat testfile
xx.xx.xx.xx:/share4 /nfsshare15 nfs defaults yes no
xx.xx.xx.xx:/share5 /nfsshare15/sharedir1 nfs defaults 0 0
xx.xx.xx.xx:/share6 /nfsshare15/sharedir2 nfs defaults 0 0
Scenario... (6 Replies)
Discussion started by: sumanthupar
6 Replies
2. UNIX for Dummies Questions & Answers
Hi Guys,
can someone explain what is mask and effective right mask in setfacl and
getfacl command with example, unable to get it. (3 Replies)
Discussion started by: Jcpratap
3 Replies
3. Shell Programming and Scripting
Hello everyone!I have a problem with grep function in unix.I have two files.One like this one:File1(Code)>100_10_50 >100_10_56>10_45_345and the other one like this:File2(Code more... (1 Reply)
Discussion started by: giuliano
1 Replies
4. Red Hat
Hi Experts,
I'm using samba -3.6.1 on Red Hat Enterprise Linux ES release 4 (Nahant Update 8) ,all seems ok. The issue im facing is as follows.
When ever a user creates a file via windows explorer the permissions assgined to the file are as follows
-rw-rwxr--+ 1 tom group2 0 Mar 9... (1 Reply)
Discussion started by: maverick_here
1 Replies
5. Shell Programming and Scripting
root@localhost# echo 'server $serviceName -connectorType $connectorType -ipAddress $ipAddress -port $port -domain $domain' | cut -d "-" -f 1
O/P= server $serviceName
when i grep the o/p -v nothing is displayed
now how to output the all data by excluding the O/P (server $serviceName) from the... (5 Replies)
Discussion started by: kalyankalyan
5 Replies
6. Solaris
Hi
This time I'm trying to grep for an exact match
e.g
cat.dog.horse.cow.bird.pig
horse.dog.pig
pig.cat.horse.dog
horse
dog
dog
pig.dog
pig.dog.bird
how do I grep for dog only so that a wc -l would result 2 in above case.
Thanks in advance
---------- Post updated at 06:33 AM... (4 Replies)
Discussion started by: rob171171
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a file like following,
aaabb
aaavv
bbdddaaab
fgdgjhaa
bfd
12352aa
dgs1xaf
sdgsdyg4
How can i get the output below(mask off all the line that have "a") by using vim
#aaabb
#aaavv
#bbdddaaab
#fgdgjhaa
bfd
#12352aa (4 Replies)
Discussion started by: 793589
4 Replies
8. Shell Programming and Scripting
Here is the sample of my file address.txt
Address 1
1234 Drive way
New Orleans, LA
Zipcode :- 12345
Address 2
4567 Spring way
Chicago, IL
Zipcode :- 67890
I would like to grep for an Address title (Ex :- Address 2) , then get its zipcode and echo both in a single line. Ex :- ... (3 Replies)
Discussion started by: leo.maveriick
3 Replies
9. UNIX for Advanced & Expert Users
hey.....
i do have text where the contents are like as follows,
FILE_TYPE_NUM_01=FILE_TYPE=01|FILE_DESC=Periodic|FILE_SCHDL_TYPE=Daily|FILE_SCHDL=|FILE_SCHDL_TIME=9:00am|RESULTS=B
FILE_TYPE_NUM_02=FILE_TYPE=02|FILE_DESC=NCTO|FILE_SCHDL_TYPE=Daily|FILE_SCHDL=|FILE_SCHDL_TIME=9:00am|RESULTS=M... (2 Replies)
Discussion started by: manas_ranjan
2 Replies
10. UNIX for Dummies Questions & Answers
hi,
i'm having problem like this.
i wish to grep some keyword from certain files in one directory.
let's say i have a lot of files in my directory with the name of file.1 file.2 file.3 ...... file.500
i only wish to grep the keyword from file.20, file.21, file.23 .... file.50
i tried... (5 Replies)
Discussion started by: rei
5 Replies