cd.. command does not work [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
The community reviewed whether to reopen this question 11 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I made a directory in my ubunto desktop and copied some file inside it.
I tried to go inside the directory by using the terminal.
the issue I have is when I want to back to the parent directory which is "Desktop" by using "cd.." command I got an error says cd..: command not found
I'm a newbie and want to know the reason.
would you explain it for me.
thank you

You need space, after command cd
cd ..

You missed the space in between cd and ..:
cd ..

You are missing a space, should be cd ..

Related

Issue running vim as a root [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
If this question is not considered to have this place in this forum, tell me I will remove it instantly !
I have installed on my ubuntu a vim plugin (called NERDTree). It works well when I open a file with a non-root status. When I run vim as a root and I try to launch the plugin with :NERDTree, I am told the command 'NERDTree' is unknown. Someone could help ?
Plugins placed in /usr/share/vim/vim7x will most likely be overwritten at the next upgrade. If you want your plugins to be available to root you should install them in /root/.vim.
That said, Vim comes by default with a file explorer plugin called netrw. You may try to learn how to use it (:h netrw) before installing any third party replacement.
Did you install the NERDTree plugin in your home ~/.vim/plugins directory? If so, then the root user probably doesn't "see" it. Move it to the global plugins directory and that should fix it.

Centos 6 startup script [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I need to put a startup script to my CentOS6 server.
I see that I need a script that contains start-stop cases.
But I have a problem to make it and neither how to put this script to startup.
Anyone can say me how can I add it?
The script must run a simply command that run a jar file:
java -jar FileName.jar
The simplest way would be to add your command to the file
/etc/rc.d/rc.local
Commands in the above file are run at startup (as root). Note that if you do this, your command will NOT respond to the usual service start/ stop commands.

Can't get yuidoc running on Mac OS X Mountain Lion [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
On installing yuidoc I'm getting the following warning.
npm WARN package.json connect#1.9.2 No README.md file found!
When trying to start yuidoc --server later it shows me:
info: (yuidoc): Scanning for yuidoc.json file.
error: (yuidoc): Scanned 5001 directories looking for a yuidoc.json file, something is probably wrong here..
Thanks for help!
The warning is nothing to worry about.
The error is that you haven't provided a yuidoc.json file:
http://yui.github.com/yuidoc/args/index.html#json

How to install TBB on Ubuntu? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I downloaded tbb40_233oss_lin.tgz file from http://threadingbuildingblocks.org/ver.php?fid=174
I set "TBBROOT" variable to the directory in my bash_proflie and I unzipped the tar file and navigated to the bin folder and run tbbvars.sh file
I typed
sh tbbvars.sh intel64
I was trying to run examples but it complains as shown bleow
count_strings.cpp:38:37: fatal error: tbb/concurrent_hash_map.h: No such file or directory
I tried to set up the library path manually and I typed
g++ file.cpp -o output -L/path/to/the/lib/-ltbb
but it still complains.
How do I compile the sample code on Ubuntu?
Thanks in advance.
I installed it from the Ubuntu repository, and it works without any problems.

Installing JDK in Linux - the download file appears to be corrupted [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have downloaded JDK, but when I am trying to extract it, I am facing these errors:
[root#ras java]# . jdk-6u26-linux-i586.bin
Unpacking...
tail: cannot open `bash' for reading: No such file or directory
Checksumming...
The download file appears to be corrupted. Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.
You have new mail in /var/spool/mail/root
[root#ras ~]#
What do I do to fix it?
You want
chmod +x jdk-6u26-linux-i586.bin
./jdk-6u26-linux-i586.bin

Resources