Search Results

Search: Posts Made By: andrewust
Forum: OS X (Apple) 04-07-2011
2,708
Posted By andrewust
I am the only user of this machine. So I guess I...
I am the only user of this machine. So I guess I will choose (1).
Could you give me an example? I would like to create a ram disk when system starts up, so that I can use it as a temp folder. The...
13,067
Posted By andrewust
What is the difference between GCC and CC?
Can anyone briefly tell me the difference between CC and GCC? Thanks!
Forum: OS X (Apple) 03-26-2011
2,708
Posted By andrewust
I want to create a ram disk when the system...
I want to create a ram disk when the system boots. The following is the command:
diskutil erasevolume HFS+ 'ramdisk' `hdiutil attach -nomount ram://262144`
Everytime I want to create a ram disk, I...
Forum: OS X (Apple) 03-25-2011
2,708
Posted By andrewust
How to execute a command when system boots?
Hi all,

I want to execute a command when system boots. I tried to edit /etc/rc.common and add my command at the end of rc.common, but it does not work!
Anyone knows how to do it?
Thanks :)
Forum: OS X (Apple) 02-27-2011
2,472
Posted By andrewust
thanks you guys, I've fixed the problem.
thanks you guys, I've fixed the problem.
Forum: OS X (Apple) 02-25-2011
2,472
Posted By andrewust
Sorry, I am new to MAC, I don't quite understand...
Sorry, I am new to MAC, I don't quite understand this. How to check whether I have a dynamic address or not?
Forum: OS X (Apple) 02-25-2011
2,472
Posted By andrewust
I am sure this mac address is the only authorized...
I am sure this mac address is the only authorized one for that cable, it's fixed
Forum: OS X (Apple) 02-25-2011
2,472
Posted By andrewust
ethernet mac spoofing
I tried to use the command
sudo ifconfig en0 ether xx:xx:xx:xx:xx:xx
to do mac spoofing for internet connection in my office. It works only for 5 minutes. Every time after about 5mins, the...
Forum: OS X (Apple) 01-14-2011
7,342
Posted By andrewust
How to make a new terminal tab open in the same directory the current one?
I want to press "apple + T" to open a new terminal tab. This terminal tab must be in the same directory as the current one. Anyone knows how to do that?

Thanks a lot!
Forum: OS X (Apple) 12-29-2010
14,106
Posted By andrewust
Move read-only-file
I downloaded a hexeditor.dmg file and then open it from command line
>>hdiutil attach hexeditor.dmg
then
>> cd /Volumns/hexeditor
I see a folder named "hexeditor.app"
I want to use 'mv...
Forum: OS X (Apple) 11-28-2010
24,181
Posted By andrewust
How to start a new terminal from command line?
Dear All,

Anyone knows how to start a new bash terminal from command line?

Another question: when I use "open" command (open test.pdf) to open a pdf file, the PDF reader will start up, but...
39,514
Posted By andrewust
Many thanks~~
Many thanks~~
39,514
Posted By andrewust
I see. Thanks a lot. Is there any other command...
I see. Thanks a lot.
Is there any other command which does not accept input from pipe?
39,514
Posted By andrewust
echo: write error: Broken pipe ??
I want to try the unix pipe, the command is like this:
echo new | find .

the standard output of the echo should be "new", then I guess find command will use this output as input to find the file...
Forum: OS X (Apple) 11-25-2010
2,284
Posted By andrewust
I see. I was using "export" to add a new path to...
I see. I was using "export" to add a new path to use the "git" tool. But I didn't create any new profile file. After restarting my mac, found that I can still use git. And I checked /etc/paths,...
Forum: OS X (Apple) 11-25-2010
2,284
Posted By andrewust
Thanks a lot. I found it. So if I use export...
Thanks a lot. I found it.
So if I use export command to change the $path, it's only temporarily effective, right?
Forum: OS X (Apple) 11-25-2010
2,284
Posted By andrewust
PATH in OS X
When I "echo $PATH" in terminal, I can see the PATH information.
And if I use export command to add a new path into $PATH, it also works.
I was just wondering, is there any file in MAC OS X, which...
9,056
Posted By andrewust
How to search a file in bash terminal?
Hi all,
I am new to unix. Anyone knows how to search a file in bash terminal, please kindly tell me.
For example, I want to search file named "myfile" in the entire machine...

Thanks a lot:)
Forum: IP Networking 11-13-2010
3,504
Posted By andrewust
:)This is a course project, the requirement is...
:)This is a course project, the requirement is we'd better do something to change the protocol like congestion control, although multiple connection is obviously a very good way. But anyway, thanks a...
Forum: IP Networking 11-13-2010
3,504
Posted By andrewust
How to improve throughput?
I have a 10Gbps network link connecting two machines A and B. I want to transfer 20GB data from A to B using TCP. With default setting, I can use 50% bandwidth. How to improve the throughput? Is...
Showing results 1 to 20 of 20

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