Computing desk | ||
---|---|---|
< August 29 | << Jul | August | Sep >> | August 31 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
So, I prefer using Mozilla as my web browser for various reasons. But one thing that drives me crazy is that, if I suddenly need to end a session, or if my browser closes unexpectedly (which happens often with this old work cpu I'm stuck with), when I try to open up the browser, it wants to "retrieve" my previous sessions...and I really don't need it to...and it often slows things down greatly, when I could just start a new session and manually reload my e-mail, or whatever I need. So, is there a way to stop it from constantly trying to "retrieve" my previous sessions? Quinn ❀ BEAUTIFUL DAY 00:05, 30 August 2011 (UTC)
Okay so I am running Ubuntu 11.04 and I am trying to edit the .bashrc file so that if I open up a terminal window and type in matlab then MATLAB should run and if I type in mathematica, then Mathematica should run. I opened up the file and added at the end of the file the line
export PATH=$PATH:$Home/Mathematica/Executables:$HOME/MATLAB/bin
When I type in matlab, it opens up fine but for mathematica it says command not found. The location for mathematica is indeed $Home/Mathematica/Executables/mathematica because when I type this whole thing into the terminal, Mathematica opens up fine. I am not familiar with linux at all so I don't know what am I doing wrong. What is the right way to do this? Thanks! 128.138.138.122 ( talk) 01:21, 30 August 2011 (UTC)
.exe
in the name on a Unix system. It certainly is .bashrc
; however, the rules for bash's init files are relatively complicated and sometimes you want .bash_login
or the environment variable $BASH_ENV
. If the command isn't running at all, it may need to be moved. --
Tardis (
talk) 02:56, 30 August 2011 (UTC)$Home
instead of $HOME
. --
Tardis (
talk) 02:56, 30 August 2011 (UTC)Perfect Tardis, that's exactly what it was. Thanks 128.138.138.122 ( talk) 20:20, 30 August 2011 (UTC)
Let's say I wanted to mirror the entire Wikipedia site, images and all, locally on my home network for private use. I know how to download the wikipedia database dumps and use them offline with various software packages, but these dumps don't include images. Furthermore, I want my mirror to be accessible through a web browser when I point it at a certain IP on my network.
So how would I go about doing this? 209.182.121.46 ( talk) 07:40, 30 August 2011 (UTC)
In a fit of almost Faustian curiosity, I decided to create a few 1-byte files in a temp directory. Where "a few" means about 9 million. The script for doing so, incidentally, is here. On my rather old Linux box (2.6.38, ext3) this is impressively speedy, creating about 5 million files per hour. So that's super then. Now all I have to do is to delete those files. rm wasn't making much impact (even to measure progress I had to write my own "ls|wc" program, which fyi is here). So I've written a custom remover, which does nothing more than a readdir/unlink loop - that's here. But its performance is much slower than creation (by a factor of 30 or so) meaning it'll take about 36 hours to delete all the files. My guess is that each unlink operation involves a seek between the directory inode and the file inode. So:
Thanks. -- Finlay McWalter ☻ Talk 13:40, 30 August 2011 (UTC)
This doesn't answer your question and isn't helpful to your current situation, but you might find it useful or interesting; I've had similar problems deleting thousands of files on Windows 7. My solution is to use a virtual hard disk when writing loads of files. When you want to delete all the files, you just quick format the virtual hard disk or delete the .vhd file AvrillirvA ( talk) 16:02, 30 August 2011 (UTC)
help me in finding the components used in DIGITAL PENs, type of sensors used and the working of DIGITAL PEN — Preceding unsigned comment added by 117.204.7.109 ( talk) 15:47, 30 August 2011 (UTC)
Hi. Is there a maximum length or size, either in number of pages or total kilobytes of information that any Microsoft Word document cannot exceed in order to be retrievable or saveable? Does this vary based on the version (2000, '03, '07, etc.)? Is this dependant on presense of images? Thanks. ~ AH1 ( discuss!) 16:20, 30 August 2011 (UTC)
Wikipedia.org is one of the world's most popular websites as ranked by Alexa. Wikipedia is managed by a non-profit organization, the Wikimedia Foundation. Most popular websites are owned by for-profit enterprises. What is the second most-popular website owned by a non-profit organization? Is it #202 on Alexa, the Internet Archive? I read the list and did not check every site, but that was the first one that stood out to me. Alexa list Blue Rasberry (talk) 16:57, 30 August 2011 (UTC)
In OS X, if I had a PDF open in Adobe Reader, I could Command+Click on the filename at the top of the window, and it would allow me to see its entire file path and quick jump into a Finder window of the directory it is in.
Is there any equivalent in Windows 7? If I have a file open in a program, is there any instant way to know its full file path and open its parent directory? (Other than going to Save As, and then looking for the directory there, then going back into Explorer and navigating to it manually.) -- Mr.98 ( talk) 18:09, 30 August 2011 (UTC)
Where does your home directory physically exist when you're running most Linux Live CDs from the CD/DVD drive of your computer, assuming you don't partition any space on your computer's hard drive for it? Are most Live CDs these days on R/W discs and you have space on the disc for leaving stuff, or does your home directory only exist in main memory while you're running the CD (again, assuming you can't touch the HDD) and disappears if you don't save it somewhere before powering down? 20.137.18.50 ( talk) 18:55, 30 August 2011 (UTC)
df ~
Computing desk | ||
---|---|---|
< August 29 | << Jul | August | Sep >> | August 31 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
So, I prefer using Mozilla as my web browser for various reasons. But one thing that drives me crazy is that, if I suddenly need to end a session, or if my browser closes unexpectedly (which happens often with this old work cpu I'm stuck with), when I try to open up the browser, it wants to "retrieve" my previous sessions...and I really don't need it to...and it often slows things down greatly, when I could just start a new session and manually reload my e-mail, or whatever I need. So, is there a way to stop it from constantly trying to "retrieve" my previous sessions? Quinn ❀ BEAUTIFUL DAY 00:05, 30 August 2011 (UTC)
Okay so I am running Ubuntu 11.04 and I am trying to edit the .bashrc file so that if I open up a terminal window and type in matlab then MATLAB should run and if I type in mathematica, then Mathematica should run. I opened up the file and added at the end of the file the line
export PATH=$PATH:$Home/Mathematica/Executables:$HOME/MATLAB/bin
When I type in matlab, it opens up fine but for mathematica it says command not found. The location for mathematica is indeed $Home/Mathematica/Executables/mathematica because when I type this whole thing into the terminal, Mathematica opens up fine. I am not familiar with linux at all so I don't know what am I doing wrong. What is the right way to do this? Thanks! 128.138.138.122 ( talk) 01:21, 30 August 2011 (UTC)
.exe
in the name on a Unix system. It certainly is .bashrc
; however, the rules for bash's init files are relatively complicated and sometimes you want .bash_login
or the environment variable $BASH_ENV
. If the command isn't running at all, it may need to be moved. --
Tardis (
talk) 02:56, 30 August 2011 (UTC)$Home
instead of $HOME
. --
Tardis (
talk) 02:56, 30 August 2011 (UTC)Perfect Tardis, that's exactly what it was. Thanks 128.138.138.122 ( talk) 20:20, 30 August 2011 (UTC)
Let's say I wanted to mirror the entire Wikipedia site, images and all, locally on my home network for private use. I know how to download the wikipedia database dumps and use them offline with various software packages, but these dumps don't include images. Furthermore, I want my mirror to be accessible through a web browser when I point it at a certain IP on my network.
So how would I go about doing this? 209.182.121.46 ( talk) 07:40, 30 August 2011 (UTC)
In a fit of almost Faustian curiosity, I decided to create a few 1-byte files in a temp directory. Where "a few" means about 9 million. The script for doing so, incidentally, is here. On my rather old Linux box (2.6.38, ext3) this is impressively speedy, creating about 5 million files per hour. So that's super then. Now all I have to do is to delete those files. rm wasn't making much impact (even to measure progress I had to write my own "ls|wc" program, which fyi is here). So I've written a custom remover, which does nothing more than a readdir/unlink loop - that's here. But its performance is much slower than creation (by a factor of 30 or so) meaning it'll take about 36 hours to delete all the files. My guess is that each unlink operation involves a seek between the directory inode and the file inode. So:
Thanks. -- Finlay McWalter ☻ Talk 13:40, 30 August 2011 (UTC)
This doesn't answer your question and isn't helpful to your current situation, but you might find it useful or interesting; I've had similar problems deleting thousands of files on Windows 7. My solution is to use a virtual hard disk when writing loads of files. When you want to delete all the files, you just quick format the virtual hard disk or delete the .vhd file AvrillirvA ( talk) 16:02, 30 August 2011 (UTC)
help me in finding the components used in DIGITAL PENs, type of sensors used and the working of DIGITAL PEN — Preceding unsigned comment added by 117.204.7.109 ( talk) 15:47, 30 August 2011 (UTC)
Hi. Is there a maximum length or size, either in number of pages or total kilobytes of information that any Microsoft Word document cannot exceed in order to be retrievable or saveable? Does this vary based on the version (2000, '03, '07, etc.)? Is this dependant on presense of images? Thanks. ~ AH1 ( discuss!) 16:20, 30 August 2011 (UTC)
Wikipedia.org is one of the world's most popular websites as ranked by Alexa. Wikipedia is managed by a non-profit organization, the Wikimedia Foundation. Most popular websites are owned by for-profit enterprises. What is the second most-popular website owned by a non-profit organization? Is it #202 on Alexa, the Internet Archive? I read the list and did not check every site, but that was the first one that stood out to me. Alexa list Blue Rasberry (talk) 16:57, 30 August 2011 (UTC)
In OS X, if I had a PDF open in Adobe Reader, I could Command+Click on the filename at the top of the window, and it would allow me to see its entire file path and quick jump into a Finder window of the directory it is in.
Is there any equivalent in Windows 7? If I have a file open in a program, is there any instant way to know its full file path and open its parent directory? (Other than going to Save As, and then looking for the directory there, then going back into Explorer and navigating to it manually.) -- Mr.98 ( talk) 18:09, 30 August 2011 (UTC)
Where does your home directory physically exist when you're running most Linux Live CDs from the CD/DVD drive of your computer, assuming you don't partition any space on your computer's hard drive for it? Are most Live CDs these days on R/W discs and you have space on the disc for leaving stuff, or does your home directory only exist in main memory while you're running the CD (again, assuming you can't touch the HDD) and disappears if you don't save it somewhere before powering down? 20.137.18.50 ( talk) 18:55, 30 August 2011 (UTC)
df ~