9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Team,
we use below command to store the contents in a logfile.
cat a.txt > a.log
a.txt content is
123
345
Is there any options available to store the command used also?
for eg a.log may show as
cat a.txt
123
345 (5 Replies)
Discussion started by: sid2013
5 Replies
2. Shell Programming and Scripting
Hi,
I am not being able to open txt files with 'cat'. One thing to mention is, the filenames start with #. I guess one can have a unix filename that starts with a special/wildcard character. I have filenames starting with @ and they are opening perfectly with cat. (5 Replies)
Discussion started by: Subhasis
5 Replies
3. UNIX for Dummies Questions & Answers
I am trying to find all the files listed in a filelist.txt.
Why cant I use something like this
cat filelist.txt | xargs -n1 find $path (2 Replies)
Discussion started by: dragonpoint
2 Replies
4. Shell Programming and Scripting
cat & telnet
hello,
I need some help on using a file with the cat command. I want to set up a telnet connection with a network device with the ip-adress 10.3.0.1. Just executing the command 'telnet 10.3.0.1' gives a menu. For example, to show the help of the menu, you... (2 Replies)
Discussion started by: michealvh
2 Replies
5. Shell Programming and Scripting
I have a file with a single filename in it, which I want to assign to a BASH variable, so I've been trying:
c=$(head -1 somefile)
echo $c
which outputs correctly, but them when I do
...
somecommand $c
it says it can't find the file, is that because it's grabbing the whole line, and... (5 Replies)
Discussion started by: unclecameron
5 Replies
6. Shell Programming and Scripting
Hi there,
Can show some hit why i got this error?
For eg i have a.txt in which consist of contents as below
1|781494-0015|IV\|I||C|RECHARGE|Success\|V\|\||2007-12-04 02:33:13.000|
2|762405-0405|IV\|I||C|RECHARGE|Success\|V\|\||2007-12-04 02:33:17.000|
In fact , i want to perfrom to have... (2 Replies)
Discussion started by: rauphelhunter
2 Replies
7. Shell Programming and Scripting
The file country.txt contains
$ cat country.txt
|ORG MU|
|ORG OM|
WHen in script, I wrote this
for i in `cat $TEMP_DIR/country.txt`
It doesnot read the country file first line followed by next line
Instaed it reads as |ORG in first loop and then reads MU| in next loop
I want the for... (1 Reply)
Discussion started by: sureshg_sampat
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have a .txt file
Sample:
=====================
NEXT HOST
=====================
AEADBAS001
ip access-list extended BLA_Incoming_Filter
ip access-list extended BLA_Outgoing_Filter
access-list 1 permit xxxxxxxxxxxxxx
access-list 2 permit xxxxxxxxxxxxxx
=====================... (4 Replies)
Discussion started by: I-1
4 Replies
9. UNIX for Advanced & Expert Users
Greetings --
I'm curious as to an effective way for a user (not root) to set-up a supplemental rgb.txt file for personal use on an X11 system. It's easy
to set up the rgb.txt file (with only new colors) in my directory, but
how can I use it in addition to the standard rgb.txt file.
Thanks.... (0 Replies)
Discussion started by: slapshot_paulie
0 Replies