Search Results

Search: Posts Made By: bluejayek
3,803
Posted By bluejayek
Thanks. That did not entirely work, as in my...
Thanks.
That did not entirely work, as in my program it isn't always only numbers inside the pow call, often I'm working with variables as well. However, a very simple change fixed it to work for...
3,803
Posted By bluejayek
awk search and replace field
I am writing a c++ program that has many calls of pow(input,2). I now realize that this is slowing down the program and these all should be input * input for greater speed.

There should be a...
Forum: IP Networking 08-05-2010
16,069
Posted By bluejayek
The router passes off to an ethernet switch and...
The router passes off to an ethernet switch and then to my computer. This may be the problem, but I had thought the switch's only functionality was to split the internet connection, not to perform...
4,892
Posted By bluejayek
Apparently asort() sorts the array elements as...
Apparently asort() sorts the array elements as strings rather then integers.
Forum: IP Networking 08-05-2010
16,069
Posted By bluejayek
If all of the ports were closed wouldn't it block...
If all of the ports were closed wouldn't it block an ssh connection from another computer on my home network? I mentioned before that sshing around within my home network works fine, it's just coming...
1,666
Posted By bluejayek
gunzip abc.xyz.txt*.gz should work fine,...
gunzip abc.xyz.txt*.gz


should work fine, provided you dont have any other files in the directory named like abc.xyz.txt200.gz

In that case it might be best to do it like

gunzip...
Forum: IP Networking 08-05-2010
16,069
Posted By bluejayek
I did set up port forwarding on my router to send...
I did set up port forwarding on my router to send ports 175 and 22 to the ubuntu machine.

Also, I found out that sshd was not listening to port 175, so I fixed that. However, now I get the...
1
2,813
Posted By bluejayek
alias ne="nedit *." Is this what you were...
alias ne="nedit *."

Is this what you were looking for? This is bash syntax.
10,116
Posted By bluejayek
Usually I only use top. Top will display a...
Usually I only use top.
Top will display a chart that is updated frequently (every second by default on my machine).
It gives the CPU usage, % used by the user, % by the system, and % idle.

In...
74,077
Posted By bluejayek
du -hs /home 1.0K /home du by...
du -hs /home
1.0K /home


du by default displays all directories and subdirectories recursively, and displays a number of bytes. The -s option tells it to only display the total for the outer...
6,214
Posted By bluejayek
Have you tried simply putting the full path in...
Have you tried simply putting the full path in your bash script rather than changing the $PATH variable?
What I mean is, inside your script that creates the folders and such write


... make...
Forum: IP Networking 08-04-2010
16,069
Posted By bluejayek
ssh into home network
I am trying to ssh from my computer at work into my home PC. My work computer is running mac os x 10.6.3, home PC is running ubuntu.

At home I have multiple PC's hooked up through a router and...
Forum: Programming 06-29-2010
16,861
Posted By bluejayek
You really should look a bit on google before...
You really should look a bit on google before posting here, you could have found your answer with a very simple google search.

In any case, in C this is an example of file io

#include <stdio.h>...
Forum: Programming 06-29-2010
8,575
Posted By bluejayek
Thanks, That seems to work perfectly. I hadn't...
Thanks,
That seems to work perfectly. I hadn't known about the -t option, that seems to be the way to go.
Forum: Programming 06-28-2010
8,575
Posted By bluejayek
Library linking with GMP
I am trying to set up the gnu multiple precision arithmetic library for some c++ programming I have to do.
I am using a system with mac osx 10.6.3 and do NOT have root user access.
I'm trying to...
Showing results 1 to 15 of 15

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