Sponsored Content
Full Discussion: doubt in tr command
Top Forums UNIX for Dummies Questions & Answers doubt in tr command Post 302170336 by risshanth on Monday 25th of February 2008 09:20:27 AM
Old 02-25-2008
Hi Jim

The explanation for the first tr is clear. But in the second tr "tr -cd '\11\12\15\40-\176' " , you have mentioned that it will delete the occurances of 11 , 12 .. But what does that that -\176 mens ??
I guess \11 , \12 are again octal form of representation .. Is that right ??
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Doubt in find command

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. UNIX for Advanced & Expert Users

Doubt in SED command

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

3. Shell Programming and Scripting

doubt in banner command !!!

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

4. Shell Programming and Scripting

locate command doubt !!!

Hello, I want to search for a file/directory named "abc" which is located anywhere in the given unix system. I am using the command :- But the problem is that this is giving me all combinations of files with have 'abc' in their name. But can I know the option to be used to get the location... (5 Replies)
Discussion started by: nsharath
5 Replies

5. Shell Programming and Scripting

Doubt with ftp command

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

6. Shell Programming and Scripting

command substitution doubt

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

7. UNIX for Dummies Questions & Answers

Doubt in ls command

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

8. UNIX for Advanced & Expert Users

Doubt on setserial command

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

9. Shell Programming and Scripting

Mailx command doubt

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

10. Shell Programming and Scripting

Grep command doubt

Hi all, I need to find the line by using grep command with the two occurence of word in the same line. I tried the below example it prints the word choice. cat nohup.out Dictionary utl is completed. file is completed. Dictionary file is completed. grep 'Dictionary\|file'... (0 Replies)
Discussion started by: arun888
0 Replies
MRINFO(8)						      System Manager's Manual							 MRINFO(8)

NAME
mrinfo - Displays configuration info from a multicast router SYNOPSIS
/usr/sbin/mrinfo [ -d debug_level ] [ -r retry_count ] [ -t timeout_count ] multicast_router DESCRIPTION
mrinfo attempts to display the configuration information from the multicast router multicast_router. mrinfo uses the ASK_NEIGHBORS IGMP message to the specified multicast router. If this multicast router responds, the version number and a list of their neighboring multicast router addresses is part of that response. If the responding router has a recent multicast version num- ber, then mrinfo requests additional information such as metrics, thresholds, and flags from the multicast router. Once the specified mul- ticast router responds, the configuration is displayed to the standard output. INVOCATION
"-d" option sets the debug level. When the debug level is greater than the default value of 0, addition debugging messages are printed. Regardless of the debug level, an error condition, will always write an error message and will cause mrinfo to terminate. Non-zero debug levels have the following effects: level 1 packet warnings are printed to stderr. level 2 all level 1 messages plus notifications down networks are printed to stderr. level 3 all level 2 messages plus notifications of all packet timeouts are printed to stderr. "-r retry_count" sets the neighbor query retry limit. Default is 3 retry. "-t timeout_count" sets the number of seconds to wait for a neighbor query reply. Default timeout is 4 seconds. SAMPLE OUTPUT
mrinfo mbone.phony.dom.net 127.148.176.10 (mbone.phony.dom.net) [version 3.3]: 127.148.176.10 - 0.0.0.0 (?) [1/1/querier] 127.148.176.10 - 127.0.8.4 (mbone2.phony.dom.net) [1/45/tunnel] 127.148.176.10 - 105.1.41.9 (momoney.com) [1/32/tunnel/down] 127.148.176.10 - 143.192.152.119 (mbone.dipu.edu) [1/32/tunnel] For each neighbor of the queried multicast router, the IP of the queried router is displayed, followed by the IP and name of the neighbor. In square brackets the metric (cost of connection), the threshold (multicast ttl) is displayed. If the queried multicast router has a newer version number, the type (tunnel, srcrt) and status (disabled, down) of the connection is displayed. IMPORTANT NOTE
mrinfo must be run as root. SEE ALSO
mrouted(8), map-mbone(8), mtrace(8) AUTHOR
Van Jacobson 4.2 Berkeley Distribution MRINFO(8)
All times are GMT -4. The time now is 08:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy