10 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
For the command below, I need to understand what exactly the command does and provide an examples for which the output will be saved to file save2... From my understanding, if the file provides an error in the first half of the pipe, it'll save to save1 and will never give an error to save to... (2 Replies)
Discussion started by: ayz649
2 Replies
2. Shell Programming and Scripting
hello! why this works?
cd /home/user
cat * | ecasound -i stdin -o jack
and this doesn't?
cd /home/user/somedirectory
cat * | ecasound -i stdin -o jack
somedirectory are full with exe files which are the best source for this sort of noise thing (10 Replies)
Discussion started by: karlhungus
10 Replies
3. UNIX for Dummies Questions & Answers
Can we concatenate say,
I have a few files prefixing with 2009...
So now i want all the 2009 files into one single file..
Can this be achieved???? (4 Replies)
Discussion started by: saggiboy10
4 Replies
4. UNIX for Dummies Questions & Answers
What does the below statement means ?
cat "$1" > /tmp/file.$$ 2>/tmp/file0.$$
Please help. (3 Replies)
Discussion started by: csrohit
3 Replies
5. Shell Programming and Scripting
Can any one guide me how can i accomplish this by script
i continuously receive files via our ftp server into a certain folder is there a way i can take those files cat it to a new file by hour and create a new file when new hour starts? (4 Replies)
Discussion started by: shehzad_m
4 Replies
6. Shell Programming and Scripting
I am having problems getting a list of filenames that I want from a directory.
example: I have 3 files - filename.xxx.20110505.123030
filename.yyy.20110505.123030
filename.zzz.20110505.123030
There may be multiple xxx,... (3 Replies)
Discussion started by: Drenhead
3 Replies
7. OS X (Apple)
Hello,
I am trying to send text to a USB to serial adaptor and then to an external speech synthesizer. I tried using the cat and echo commands with no luck. I have gotten some audio output from my synthesizer using Kermit a terminal emulator, so I am pretty sure my synthesizer and my USB to serial... (1 Reply)
Discussion started by: jamesapp
1 Replies
8. Shell Programming and Scripting
Hello Friends,
I have a question, i am trying to write a shell script in the bash shell.
#!/bin/sh
NAWK=/bin/nawk
AWK=/bin/awk
FIX_XML_PATH=/home/administrator/testfix/fix/
Y=`ls $FIX_XML_PATH | grep xml`
echo $Y
cat $Y
in this case when i do the echo $Y command it gives me the... (11 Replies)
Discussion started by: asirohi
11 Replies
9. Shell Programming and Scripting
hi all
i have some script
echo $$ > process-id
d='cat process-id'
if test-s "TMP"$d then
echo "serv1"
else
echo "serv2"
fi
the variable d should contain the number of the process,
instead of that it contains 'cat process-id'
how shall i do that the d will contain only the number?... (6 Replies)
Discussion started by: naamas03
6 Replies
10. Shell Programming and Scripting
Good day.
I whant to put in a "readkey" function into my script. My script will be running in "real time". Basicaly I whant to add a eg. "Press X to exit" statement into my script. More or less like the read command, but I don't whant it to wait for the user to press enter. eg. Readkey. If no... (5 Replies)
Discussion started by: Blooper
5 Replies