Synopsis
cd [-L|-P] [DIRECTORY]
cd -
Description
The cd builtin command is used to change the current working directory
* to the given directory (cd DIRECTORY)
* to the previous working directory (cd -) as saved in the OLDPWD shell variable
* to the user's home directory as specified in the HOME environment variable (when used without a DIRECTORY argument)
Synopsis
cd [-L|-P] [DIRECTORY]
cd -
Description
The cd builtin command is used to change the current working directory
* to the given directory (cd DIRECTORY)
* to the previous working directory (cd -) as saved in the OLDPWD shell variable
* to the user's home directory as specified in the HOME environment variable (when used without a DIRECTORY argument)
Hello,
I installed Tectia client version 6.2.4.212 on our unix boxes.
I often have a project directory layout like this
project
`-- component-a
| `-- files...
`-- component-b
| `-- files...
`-- component-c
`-- files...
I'll usually be working in one of the component directories, because that's where the files are.
Tuxfiles says the following about the Linux directory structure:
/var:
This directory contains variable data that changes constantly when the system is running.
It then goes on to say that things like logs, mail and the spooler are put in that folder.
Traditionally, (Apache, nginx) the directory will be at /var/www/.
It doesn't seem to me like the ideal place to put a directory with f
Hello,
I recently upgraded from Ubuntu 10.10 to 12.04. Im not used to Unity, yet.
The first thing i usually do on a new installation is to clear my home-directory. Deleting all the directories i don't need, including the 'iPod'-directory.
This works brilliant, and when i delete the 'Desktop'-directory, the content of my home-directory is shown on the background.
I'm trying to create new directory /proj with subdirectories bin, cgi, sbin, etc... if /proj does not exist. However, instead of creating multiple subdirectories, it creates a single subdirectory named {Changes...src}
#If project directory exists, then do not create a new one.
if [ -d /proj ]; then
echo "Project directory exists.
I don't know much about permissions in linux, so I need some help here.
My web server is in Amazon EC2, and I have a web project that stores in /home/sean directory, and my apache user is sean as well. I know that there is another user ubuntu as well, but I don't want user ubuntu to see the source code.
Does tar -x by default just extract to the current directory or does it try to reproduce the original directory structure including overwriting the original source?