Hi,
I have file 1.txt with following entries as shown:
0152364|134444|10.20.30.40|015236433
0233654|122555|10.20.30.50|023365433
**
**
**
In file 2.txt I have the following entries as shown:
0152364|134444|10.20.30.40|015236433
0233654|122555|10.20.30.50|023365433... (4 Replies)
I have a file that will sometimes contain a pattern. The pattern is this:
W/D FRM CHK 00
I want to find any lines with this pattern, delete those lines, and also delete the line above and the line below. (1 Reply)
I have a file that will sometimes contain a pattern. The pattern is this:
FRM CHK 0000
I want to find any lines with this pattern, delete those lines, and also delete the line above and the line below. (4 Replies)
Hi there!
I am really enjoying working with sed. I am trying to come up with a sed command to replace some occurrences (not all) in the same line, for instance:
I have a command which the output will be:
200.300.400.5 0A 0B 0C 01 02 03
being that the last 6 strings are actually one... (7 Replies)
Greatings all,
I am coming to seek your knowledge and some help on an issue I can not currently get over. I have been searching the boards but did not find anything close to this matter I am struggling with.
I am trying to clean a CSV file and make it loadable for my SQL*Loader. My problem... (1 Reply)
Need to remove rest of line after the equals sign on search pattern from the searchfile. Can anybody help. Couldn't find any similar example in the forum:
infile:
64_1535: Delm. = 86 var, aaga
64_1535: Fran. = 57 ex. ccc
64_1639: Feb. = 26 (link). def
64_1817: mar. = 3/4. drz ... (7 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I have file which has got the following content
sam 123 LD 41
sam 234 kp
sam LD 41
kam pu
sam LD 61
Now... (1 Reply)
here is what i want to achieve.. i have a file with below contents
cat fileName
blah blah blah
.
.DROP this
REJECT that
.
--sport 7800 -j REJECT --reject-with icmp-port-unreachable
--dport 7800 -j REJECT --reject-with icmp-port-unreachable
.
.
.
more blah blah blah
--dport 3306... (14 Replies)
I have a file
# cat /tmp/user_find.txt
/home/user/bad_link1
/home/user/www
/home/user/mail
/home/user/access_logs
/home/user/bad_link2
I need to delete lines where there are patterns /home/user/www, /home/user/mail and /home/user/access_logs. I used below method, but its throwing error... (8 Replies)
I have a line that I need to parse through and extract a pattern that occurs multiple times in it.
Example line:
getInfoCall: info received please proceed, getInfoCall: info received please proceed, getInfoCall: info received please proceed, getInfoCall: info received please proceed,... (4 Replies)
Discussion started by: Vidhyaprakash
4 Replies
LEARN ABOUT DEBIAN
cyclades-devices
cyclades-devices(5)cyclades-devices(5)NAME
cyclades-devices - tables for driving cyclades-serial-client
DESCRIPTION
The cyclades-devices file supplies all mapping between Unix device files (/dev/*) and the addresses of serial ports of Cyclades Terminal
Servers. It contains one entry for each serial port, with the following format:
device:rastype:rasname:physport:type:options
Note: A # character at beginning of line indicates a comment
The entry fields are:
devname
- A full pathname of the file that will be associated to the serial port. It must start with a "/dev/" preffix. Two naming schemes
may be used here: - devname does not exist, and will be linked to a free pseudo-tty. This is the default behavior of cyclades-ser-
cli. - devname is the name of a valid slave pseudo-tty. In this case, the '-t 1' option must be assigned in options field. (Note:
this option is not supported by this release).
rastype
- Terminal Server type: - prts, for Cyclades Pr302X/TS Terminal Servers. - path, for Cyclades PathRAS Terminal Server.
rasname
- Host Name or IP Address of the Terminal Server where the serial port resides.
physport
- Number of physical port in the Terminal Server. If treated as the IP address associated with this port, in a IP-based addressing
scheme.
type - Server type that will be contacted to handle the serial port: - rtelnet, for Remote Telnet Server - socket, for Socket Server
options
- Per-port specific options, passed to cyclades-ser-cli program.
EXAMPLES
1. Device on a PR3020/TS Terminal Server pr3k Port 1, accessed through /dev/ctty01 device file name, using telnet protocol (remote telnet
server)
/dev/ctty01:prts:pr3k:1:rtelnet:
2. The same device, but with an IP address pr3k_port1 associated to the serial port (IP-based port addressing)
/dev/ctty01:prts:pr3k_port1:0:rtelnet:
3. Device on a PathRAS Terminal Server pr3k Port 2, accessed through /dev/ctty02 device file name, using socket protocol (socket server)
/dev/ctty02:path:pr3k:2:socket:
FILES
/etc/cyclades-devices This file
SEE ALSO cyclades-serial-client(1), cyclades-ser-cli(1)cyclades-devices(5)