when I open up the terminal and write the command   cd Desktop     also I have tried    cd /Desktop   a message appears that no file or directory was found what I suppose to do? I have logged in as  a root but still have the same problem any help?
12398
How do I change directories to downloads, from the home folder, in the latest version Ubuntu 12.10? I tried cd /downloads, but it gave an error saying that there is no such directory.
35724
If I issue sudo my-command  how does Linux look for that my-command? The my-command is in my PATH. I can invoke it without any problem. However, when I invoke it with sudo, I'll get command not found. How to overcome it? EDIT: That &quot;Possible duplicate&quot;'s selected answer is wrong, well, at least not to the point. This answer, from terdon, is the correct one.
67431
In terminal, how can I define a key to go to the previous directory which I was in when changing directory with the cd command?  For example, I'm in /opt/soft/bin and I cd into /etc/squid3 and I want to get back to the first directory.
45542
When I enter single quote ' in terminal it goes to some other mode, and commands don't execute. What is this mode and when do we use it?  root@sai:~# ' &gt; ls &gt; ' ls : command not found root@sai:~#
45801
I know there is ctrl+c, but sometimes that doesn't work. In Ubuntu desktop I can just close the terminal window and open a new one when this happens, but how would this be solved using the CLI in Ubuntu server (without restarting the box)?
51608
fg, bg and jobs are used for job management. And for some reason (maybe it's just me), I'm not able to find where their binaries are nor their manpages (whereis prints no information). which gives no output. The commands themselves work just fine, though.  I ran commands like find /bin bg, but with no hits. I also ran find / bg to cast a wide net.
59880
Possible Duplicate:             I just got ubuntu running on my computer and now I am ready to write a program...but I can't figure out how to open a command terminal. I guess I don't know where to find which version I am running either. Any help would be appreciated. Thank you.
16964
I'm on OSX Snow Leopard.  Here's the full contents of grr.sh:  #!/bin/sh  echo wow   When I try to run it from terminal:  $ grr.sh -bash: grr.sh: command not found $ /bin/sh grr.sh wow $ sh grr.sh wow $ bash grr.sh wow   Okay. Fair enough. I'll give it executable permission, then try again:  $ chmod +x grr.sh $ grr.sh -bash: grr.sh: command not found $ chmod 755 grr.sh $ grr.sh -bash: grr.sh: command not found   Hmmm. Maybe it'll work if I use bash explicitly? I'll change the file's contents to:  #!/bin/bash  echo wow   And I get the exact same results. What could I have broken?!  One last thing! In case you're curious...  $ which sh /bin/sh
16630
As of now, my desktop has begun showing the contents of my home folder (~) instead of the contents of ~/desktop. I must have changed something, but I have no idea what, or what I was doing exactly when it happened.  How do I re-point gnome to the right folder?  I'm running Ubuntu 11.04.
2198
For some reason I can't boot my system. I get an error akin to Operating System Not Found.   I tried bootrepair, and that didn't work. So then I decided I would just save my personal files, wipe everything, and reinstall.   But in the live session, when I go to the /home directory, my username folder isn't there, instead it goes to the Live CD's desktop and other directories. Is there some other error occurring? Is there a way to recover the files?
109609
I have a small issue. I was having some issues in getting some libraries to work and to resolve it, i deleted some shared libraries by mistake(sudo ...).Now ubuntu fails to boot up but i can access the files from recovery mode. I can see my home folder intact but i cannot even run sudo nautilus as it says it shared libraries not found. The data in my home folder is quite important and i want retrieving it is important. I am running a windows dual boot, if it helps. If anyone could help copy the home folder to a windows drive from the terminal itself(as i can access it at recovery mode) it would be of immense help. Thanks.:-)
11782
Is it possible to redirect a command's output to cd? For example, I searched for a directory using locate and got the path to it. Now, instead of writing a cd path, can I redirect the locate output to cd?  I tried this:  $ locate Descargas | grep Descargas$ /home/oliver/Descargas $ locate Descargas | grep Descargas$ | cd $ locate Descargas | grep Descargas$ &gt; cd $ locate Descargas | grep Descargas$ &lt; cd /home/oliver/Descargas $    No luck. This probably isn't particularly useful, but I'm curious.
112492
I saw loads of posts with similar issues; I've looked at the solutions with no luck so far.  I use Ubuntu 12.04 LTS Desktop, installed in partition sda5, mounted as /. The main part of the disk is allocated to sda6, mounted as /Home.  I cannot either:   cd into this Home directory use mkdir to create a sub folder   I can see it and create files etc, when logged in as root, using nautilus, but from a terminal I just get:   -su: cd: /Home: No such file or directory   I am new to Ubuntu (coming fom Windows) and although I thought I was getting to grips with it, this has me beat.   Any help appreciated. TIA
108138
I'm learning about Linux, started yesterday. I have a question which I couldn't answer from my book or Google. What is the difference between  ./ and / in the shell?  I'm asking this because when I run, for example, the command ./home/yogesh/Desktop/Books, I get this error:  bash: ./home/yogesh/Desktop : No such file or directory   However, on removing the dot it gives  /home/yogesh/Desktop/Books : Is a directory   Or, if I run /Desktop, it returns   /Desktop : No such file or directory   But on adding a dot before /, I get  ./Desktop: is a directory   What is the difference between ./ and /?
8842
This may be a stupid or trivial question, but I am new to Ubuntu, and have two unsolved problems (flashplayer doesn't play, and scanner doesn't work - in virgin install 13.04), so I started to search in documentation. In the 13.04 specific web site I was browsing the hardware section, and came across something like this: "Open Dash, and select Disk Utilities".  So what is Dash, and where is Disk Utilities?  The application finder could not find any of those. In terminal the "dash" command seems to invoke some sort of a shell.
81133
I am new to Ubuntu.  Whenever I open a terminal my current working directory /home/Varun (as found by typing pwd).  Is there any way I can make the terminal's path to be set as /home/Varun/Desktop/Java Files when it opens?
60999
Whatever I try to run, I get the error:   The command could not be located because '/usr/bin' is not included in the PATH environment variable.   I had some modification in my .bashrc file but then removed the two additional lines afterwards. However somehow the PATH variable seems to have been destroyed.