Are you sure you have an open port in the firewall for it? IIRC, Frostwire randomly decides which port to use when it's first started up, so it may not be using the same port as it was in the...
Type: Posts; User: lloyd_b; Keyword(s):
Are you sure you have an open port in the firewall for it? IIRC, Frostwire randomly decides which port to use when it's first started up, so it may not be using the same port as it was in the...
This looks suspiciously like a homework problem, which we generally won't just provide code for. If you have something that sorta works, you can post that, and we'll be happy to point out any...
Looks suspiciously like a homework problem...
A hint - while Bash doesn't support two dimensional arrays, you can emulate one using a single dimension array and offsets. For example, "A" would be...
Frankly, you are, in my opinion, worrying about the wrong thing. The fact that someone can know what IP address you're connecting from doesn't give them a whole lot of information about you - at...
Take a look at this link - it contains decent instructions for setting up to develop stuff using SDL.
Lloyd B.
Not sure if this is a typo or not - there's a space between JAVA_HOME and the =, which is *not* allowed for scripting
JAVA_HOME =/usr/lib/jvm/java-1.6.0-openjdkshould be...
Use the "-L" option of 'stat' - this tells 'stat' to "dereference" the symbolic link (reporting the information on the file pointed to by the link, rather than the information on the link itself)....
What it looks like is that a previous user of that IP address was part of a P2P network such as Gnutella (used by Limewire and others). While they held that address, the IP/port combination they...
You're confusing copyright with patents. File formats can't be copyrighted - the specification document can, and the *contents* of a particular file (such as the mp3 of a particular song) can be,...
First off, it should *never* have worked the way you are expecting. From the su man page:
-m, -p, --preserve-environment
Preserve the current environment, except for:
...
sed's default behavior is to make the changes, and then send the output to "STDOUT" (the terminal, unless you've redirected it.
Two ways to change this:
1. Use the "-i" option of sed. This...
I'm not sure "shrinkage" is in fact shrinkage - rand() returns a value between 1 and MAX_INT (which on most machines is 4,294,967,296). With this calculation
shrinkage = 0.5 + rand()*0.0000030518;...
(FYI - Unix-type systems like Linux don't use the CR (carriage return) character to indicate the end of a line. Instead, they use a "newline" character ('^J'). But I'd recommend using '\n', as...
The problem with this is that many spammers create a new username, drop a load of spam on the forums, and then never use that username again. They *expect* to be banned, and are hoping that their...
First off, no shell script is required for this - you can accomplish the same thing just by using the options of the 'fortune' command:
fortune -sn 140will give you a "short" fortune, with short...
The easiest way to handle all files in subdirectories is to use 'find' as a front end for the sed command:
find /home/user -name "*.url" -exec sed -i "1,2 d" {} \;will search for *.url files in...
It probably is a dash vs bash issue, but I don't like your solution...
This might solve this particular problem, but it has the potential to create a lot of problems elsewhere in the system - if a...
It's a matter of "alignment". In this case, your prof wants everything aligned to a 32 bit boundary (i.e. all data addresses will be an even multiple of 4), which is reasonable for almost all modern...
The filename is the md5 hash of the URI (Uniform Resource Identifier) for the file. Basically the file name with full path, in the form:
file:///home/user/image.jpgYou can generate these from the...
That does *not* look good. You still have plenty of reserve (it's using close to 2Gb for buffers and such), but usage shouldn't have climbed from around 3Gb to 5Gb over that period of time.
...
Cool - haven't seen that construct before. Thanks for the new trick to add to my collection. :)
Lloyd B.
First off, let me state some assumptions (sorry, but you aren't completely clear on some things).
1. The file "/home/ubuntu/file" contains XML data, containing pairs of "key" and "value"...
Based on those numbers, you were actually using 3Gb of memory for programs at the time that was run. Which is higher than I've ever seen on typical desktop machines, but not too outrageous for some...
You're probably right about it wanting a different shell.
Could you post the contents of /opt/caplin/apps/caplin/Liberator/bin/rttpd so we can see what it's doing? It may be expecting csh or ksh,...
You're getting that error message because there's no "do" to match to that "done".
Are you trying to have that thing loop? If so, you want something like:
while true; do
echo "1. Do...