I can open gedit using the terminal but I want to be able to open the folder that has gedit, how?
Possible Duplicate:          For example the following are the same  # /usr/bin/php updateDatabase.php  # php updateDatabase.php   But how would I infer the location of the php command to be in /usr/bin?
How can I benchmark my HDD? I've seen commands to benchmark one's HDD such as this using dd:  $ time sh -c "dd if=/dev/zero of=ddfile bs=8k count=250000 &amp;&amp; sync"   Are there better methods to do so than this? 1.I will study hard until I get a high score on this exam. 2.I will study hard until I've gotten a high score on this exam.  I think these sentences are grammatically correct. but if I add a specific time, I think these sentences have to be only this one:  3.I will study hard until I get a high score on this exam on July 25th.  And how about these?  a. I'd like to watch all of the holocaust movies present in the world until I've become an expert on it. b. I'd like to watch all of the holocaust movies present in the world until I become an expert on it.  Since there's no a word representing a specific time, both of them are okay, right? And what I'd like to know is the difference between &quot;have gotten&quot; and &quot;get&quot;. What I know about them is we can use &quot;future perfect&quot; to refer to unspecific future event that might happen before some accident. but &quot;get&quot; refers to future event that could be either a specific scheduled event or unspecific future event. that's why if I add a specific time mentioning, I have to use &quot;get&quot;. How do I make a Theme from scratch for Unity? I'd like to make a theme from scratch for Unity.  What knowledge and information/skills are needed? Are there any tools or templates out there for something like this already? I don't have any Python experience so tools biased towards beginners are preferable. Can I use apt-get or aptitude to install software to non standard location? When I install a software using apt-get it installs to default locations i.e to /usr/bin, /usr/lib, /usr/share and etc. For example when I install "Meld Diff Viewer" using  sudo apt-get install meld   and use whereis command to find its location, I get the following output  adnan@adnan-laptop:~$ whereis meld meld: /usr/bin/meld /usr/lib/meld /usr/share/meld /usr/share/man/man1/meld.1.gz   Is there any way to change the install location. Lets say if I want to install it in /usr/local/ can I do it using apt-get or aptitude? I know I can compile it from source and specify prefix option to configure script or make install but it would be better (and really easier) if I could do it using apt-get as I would be able to use uninstall, upgrade and other stuff that apt-get offers Which kind of functions $f(x, \ y)$ can be written as $g(x)\cdot h(y)$? $a_1 a_1', a_2 a_2', ..., a_n a_n'$ is not a reduced modulo system $\mod p$. If $a_1, a_2, ..., a_n$ is a reduced residue system $\mod p$ and $a_1', a_2', ..., a_n'$ is another reduced residue system $\mod p$ then $a_1 a_1', a_2 a_2', ..., a_n a_n'$  is not a reduced modulo system $\mod p$.  Not able to show a counter to it. Help Needed. JavaScript editor within Eclipse Is the motivation behind the introduction of measure theory the Lebesgue integral? In order to evaluate such an integral we need the length of each of the horizontal strip of width $h$. I have a question here. Why do we need such a general concept of measure? Length is a kind of measure, but why did Lebesgue think of so general a concept of "measure" when he just needed the length to evaluate his integrals? Is there any other motivation behind this ? Prove from first princibles $\frac{x^2-4}{x-4} \rightarrow -5$ as $x \rightarrow 3$ JavaScript private methods Adobe Creative Suite alternative The programs that I am mainly interested in is Adobe Photoshop, Adobe Illustrator (create vector art), Adobe Flash (for animation), Adobe Premiere Pro (edit video), Adobe After Effects (VFX/motion graphics), Adobe Dreamweaver (code HTML/CSS). But can boil down to a video editing software, graphics software and photo editing software.  I understand alternatives such as Inkscape is like Illustrator, Blender is a good substitute for Adobe Flash. Notepad++ for Dreamweaver but if you haven't noticed, these programs are from different companies. What I do appreciate about Adobe is under the master collection, I get all these programs, but I don't appreciate the price (because I can't afford) or the subscription model (I like to buy once and forget) they now have.  I have searched online and can't find something that packs in programs such as Adobe, even if it's just a photo editing software and vector software.  I found Corel Draw, but I'm so confused if they provide a master collection (collection of their software for a price) that will satisfy my needs.  Is there an alternative to Adobe Creative Suite for designers/enthusiast? How to add item to right-click menu when NOT selecting a folder or file? How do I add a menu item to my context menu to open up powershell (or any other arbitary application) when I right-click inside Windows Explorer?  I found tons of links on how to add menu items when doing this: (selecting a folder; )    ...but couldn't find any instructions on how to add menu items when doing this: (not selecting a folder or file)    I did find  and tried adding powershell to HKEY_CLASSES_ROOT\Directory\Background\shell\, (loosely based on the  and linked above) but it didn't work for me.  I'm running Windows 7, by the way.  Also, I'm currently interested in adding only PowerShell, but I'd prefer a general solution I can apply to add any program to the context menu. How can we print line numbers to the log in java How to print line numbers to the log. Say when outputting some information to the log, I also want to print the line number where that output is in the source code. As we can see in the stack trace, it displays the line number where the exception has occurred. Stack trace is available on the exception object.  Other alternative could be like manually including the line number when printing to the log. Is there any other way? Let $G$ be a matrix Lie group and let $H$ be a Lie subgroup of $G$. My understanding is that all $g \in G$ are matrices, since $G$ is a subgroup of the general linear group. Then aren’t all elements $h \in H$ matrices, since $h \in G$?  From what I can gather $H$ is a matrix Lie group if $H$ is a closed subset of $G$. But if $H$ is not a closed subset of $G$, why is it not a matrix Lie group? Is the reasoning in the first paragraph wrong? Skyrim - Companions attacked me for no reason? Should 'using' directives be inside or outside the namespace? I have been running  over some C# code, and it keeps reporting that my using directives should be inside the namespace.  Is there a technical reason for putting the using directives inside instead of outside the namespace? "How are" or "How is" the wife and kid? How are the wife and kid?   How is the wife and kid?      Which is more correct? Expected Value of a Hypergeometric Random Variable Apache 2.4 - 403 HTTP status code Hibernate computer with a timeout from command line on Windows 7 I am trying to hibernate my computer from the command. I was using shutdown /s /t 20 to shutdown the the computer. I change /s to /h to hibernate and now it just returns the usage text as if it doesn't recognise what I have entered. In this is does say  /h         Hibernate the local computer.   Is there something else that I need to use with /h to get it to hibernate?