Search Results

Search: Posts Made By: simusphere
Forum: Red Hat 01-22-2011
1,482
Posted By simusphere
I would throw a live CD in like knoppix or...
I would throw a live CD in like knoppix or SystemRescueCD to see if your adapter works from there. Is it a wireless ethernet adapter or just a regular wired one?

The SystemRescueCD 2.0 will...
Forum: Red Hat 01-22-2011
29,116
Posted By simusphere
Please post the ip addr, netmask, and default...
Please post the ip addr, netmask, and default gateway for each computer on your local network. It's impossible to see whats going on unless all the networking information is available to...
2,428
Posted By simusphere
I think you would get more help if you provided...
I think you would get more help if you provided more parts of the text you are trying to process and example results of what you are trying to achieve. You have to follow certain rules in programing...
2,428
Posted By simusphere
From bash's man page: ...
From bash's man page:


VAR='string!string!string!'
or
VAR=string\!string\!string\!
2,239
Posted By simusphere
You mean like the pause command in windows batch...
You mean like the pause command in windows batch files?

Check Howto add pause prompt in a shell script ( bash pause command ) (http://www.cyberciti.biz/tips/linux-unix-pause-command.html)
1,931
Posted By simusphere
Why on earth would you even want a filename with...
Why on earth would you even want a filename with two consecutive spaces in them? Plus isn't that supposed to be -printf instead of the printf you have in your awk command?
6,010
Posted By simusphere
Your mixing csh keywords like endif with bash...
Your mixing csh keywords like endif with bash keywords which should be fi in your case. Plus your using set instead of yyyy="$1" etc...

The script might actually work just by changing the shell...
9,512
Posted By simusphere
Ah, so you did have the simple version of what...
Ah, so you did have the simple version of what you were asking. So all the media on the usb drives is the same. Excellent!, glad you got it working the way you wanted.
9,512
Posted By simusphere
Are these sansa devices physically labeled in a...
Are these sansa devices physically labeled in a unique way? Is the data files on each one different? Just trying to understand the problem at hand. If the data is the same on each device then it...
9,512
Posted By simusphere
Instead of doing a massive delete of all the...
Instead of doing a massive delete of all the files just use rsync to prune the one's that are different from the source in /home/


rsync -a --delete \
--exclude /home/whateveryouwant \...
1,595
Posted By simusphere
Most awsome post mr ludwig. I have been having...
Most awsome post mr ludwig. I have been having trouble with understanding what exactly eval was good for. Now I know too.

I would be interested in an example of a situation where this doesn't...
2,573
Posted By simusphere
Example in Pro Bash Programming book problem
I am going through the examples in the book "Pro Bash Programing" which is quite a good book on bash programing. Just a word of warning about the example script called sa that simply shows command...
10,254
Posted By simusphere
Any idea how to get this to work with a secure...
Any idea how to get this to work with a secure https:// site?
1,690
Posted By simusphere
Very good points there Scottn. When first...
Very good points there Scottn. When first learning bash or any other shell programing its easy to get focused on just making the code work. There are a lot of gothcha's that can be avoided with a...
1,690
Posted By simusphere
Uh, there is something wrong with that first line...
Uh, there is something wrong with that first line of code. No need to examine the contents of any files with cat, plus you can't cat a directory.
cat dir
cat: dir: Is a directory

Plus this...
121,723
Posted By simusphere
I put your two lines of output into a file called...
I put your two lines of output into a file called OUT and joined them with sed:
sed 'N;s/\n/,/' OUT
Results in:

15,01,11,14:06,235
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 11:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy