General :: Change /temp Directory From Its Original /dev/hda8 To Destination /dev/hdd5?
Dec 7, 2009
On Debian Standard System I would like to is change /tmp directory from it's original /dev/hda8 to destination /dev/hdd5
Code:
Disk /dev/hda: 6448 MB, 6448619520 bytes
255 heads, 63 sectors/track, 784 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]...
If I change /dev/hda8 to /dev/hdd5 and reboot the startx command fails to run.
View 7 Replies
ADVERTISEMENT
Jan 13, 2011
[URL]
This is step 2.2:
Quote:
Open a terminal and change the directory to the download destination.
I'm not entirely sure what that means! I've tried doing the other steps without doing that one and it doesn't seem to work.
View 1 Replies
View Related
Dec 20, 2010
I have a web server whos DocumentRoot is:/tmp/wwwNow, /temp/www/fake/ is a directory that contains a series of other files/folders.What I want to do is access the files in /temp/www/fake as if they were in the root directory (/temp/www/)For example:
could either be located in "/temp/www/test.php"
-or-
located in "/temp/www/fake/test.php"
so "http://127.0.0.1/test.php" would essentially call both directories. Is this possible? Whould I do this through apache or through the actual file system somehow? (Like some sort of symbolic link?) I would love to hear your input.
View 8 Replies
View Related
Aug 23, 2011
I'd like to mount the directory /var/www/mysite to the directory /home/daniel/mysite, but also have the user of the mounted files mapped from the original user (www-data) to my own user (daniel). So that the file /var/www/mysite/index.php who's user is www-data will appear in the mounted directory as /home/daniel/mysite/index.php and be owned by daniel - and alternatively, if I create a file /home/daniel/mysite/test.php with my own user, it will be created in the original directory under the user www-data Is it possible? If not, what alternatives do I have so I can use an IDE and still make sure all the files belong to the HTTP server's user?
View 2 Replies
View Related
Sep 18, 2010
I cannot change directory to a more than three folder tree destination folder from ~ in terminal. I've checked everything. No Typos or misspell. The destination folder was recognized by "ls" command but when I went to it, the terminal said, "no such file or directory."
View 7 Replies
View Related
May 9, 2010
how do I gunzip to a destination directory other than the current one?
this did not work:
gunzip *.gz /putthemhere/
View 2 Replies
View Related
Nov 17, 2009
How do I remove the noexec from the tmp directory, temporarily?
View 3 Replies
View Related
Jul 28, 2011
I am performing a dry run using Rsync on 2 different boxes.While i'm doing that, Under destination directory, I want a specific directory x to be ignored for sync.Please let me know the exact pattern to ignore the directory.The current command I'm using is:rsync -avnc --delete $LOCAL_DIR $USERNAME@$DESTINATION_IP:$REMOTE_DIRunder DESTINATION_IP, I would want to ignore a particular directory under REMOTE_DIR.
View 1 Replies
View Related
Jan 25, 2010
I'm trying to install Slackware package into some specific locations, like for example, I want to put Linux base package into at / and put applications on /usr/local. However when I'm installing using "setup" program, I cannot find a part that let me to choose the installation destination.
At "setup install" option, it gives six different installation method like full, newbie, menu, expert, custom, and tag path. But none of them (I cannot find it) gives an option where to put the installation package to.
View 2 Replies
View Related
May 26, 2010
When I use the cp or mv command to copy/move files is there a way for me to have the destination file assume the same name of the source file, however add an additional suffix.
For example
Code:
Now what if I wanted this...
Code:
Do I have to type the destination file out manually everytime? or is there a quick way for the cp or mv command to assume the source file name and add the .bak
View 5 Replies
View Related
Jul 14, 2011
We have an rsync cron job set up to mirror all the files in a "..dashtdocsdocs" folder to the same folder on another server. It copies all the files over correctly and deletes any files in the "docs" directory that aren't in the sending directory, but it also deletes any files we put in the target directory's parent folder (..dashtdocs or other subfolders like ..dashtdocsimages) even though they've been excluded in the .rsync-filter file.
Here's our current rsync .sh:
/usr/local/bin/rsync --stats -qPzrtpl --delete --password-file=/var/run/.appprodrsync --log-file=/export/home
/webuser/logs/rsync-extranet-log -FF /export/home/ appprodrsync@appprod::dprweb_extranet/ > /export/home/webuser/logs/rsync-extranet-output 2>&1
[code]....
So for example server A has ..dashtdocsdocs and ..dashtdocsimages. Server B has ..dashtdocsdocs but if I manually copy the images folder over to ..dashtdocsimages, the images folder gets deleted from the target directory every time rsync runs.
A: ..dashtdocsdocs
..dashtdocsimages
B: ..dashtdocsdocs
..dashtdocsimages (<-- gets deleted everytime rsync runs)
I'd like to keep just the docs directory synched and update other folders manually, but they keep getting deleted. It looks to me like it's running a delete-excluded option, but that option wasn't used.
View 2 Replies
View Related
Jul 8, 2011
I have the following content on the source directory:
source/foo.txt
source/bar/another_file.txt
source/bar2/and_another.txt
I want copy those files to a destination directory which, after copy, shall look like this:
destination/foo.txt
destination/another_file.txt
destination/and_another.txt
How can I do this? It seems that "cp" lacks such an option
View 1 Replies
View Related
Jan 6, 2011
I need advice in getting the original blacklist.conf of the directory /etc/modprobe.d/ because I erased and I don't know if that file could make me have some issues in the future, so if any body can lend me a copy of that file or refere me to some page where i can get it. Is for the slackware 13 32bits distro.
View 2 Replies
View Related
Aug 5, 2010
I created 2nd root (root2) by running useradd -o -u 0 root2 is it possible to deny root2 to change password of original root?
View 11 Replies
View Related
May 4, 2011
Is that possible to merge the 2 ext3 partitions without moving data in the old partitions? What i did was, i created new partition say /dev/hda8, which is to be merged to some old partition say /dev/hda3.
View 3 Replies
View Related
Nov 9, 2010
I just realized that my /tmp directory is not being cleared at shutdown time. How to enable this? I'm running -current.
View 8 Replies
View Related
Jan 4, 2009
Recently I was downloading a file from within Firefox when the Internet connection was lost. Where should I look to find the partial file? I want to delete it.
View 3 Replies
View Related
Jul 9, 2010
I'm having little problem trying to change weather to USA it reads C instead of F on conky forecast here is screenshot.
View 7 Replies
View Related
Feb 23, 2010
I'm running Mandriva 2010.0 as a web server, i had 2 HDD in the erver. i dedicate 1 HDD just for LOGS and system backup (160 GB). i would like to change the log destionation directory from /var/log/httpd (defaults) into /backup/log/httpd how can i do that.? coz i couldn,t find the configuration in the webmin. that log would be useful for webalizer/awffull statistic in several days ahead.
View 3 Replies
View Related
Mar 8, 2010
I have no idea where the firefox temp files are being downloaded to, but I would like to change the directory to a folder in my home directory.
View 4 Replies
View Related
Nov 15, 2009
I have a file that has been created by exiftools and then parsed and cut to fit my needs and thrown into a file that looks like this:
Code:
I then make the file executable and then execute it. Trouble is, the destination directories don't actually exist, so naturally, the "ln -s" fails.
Is there a way to create the destination directories dynamically based on what is specified in the file above?
View 3 Replies
View Related
Jul 12, 2011
Can I change the destination for hidden files that are in the Home Directory? I'd like to put all the hidden files in my Home directory into a seperate folder inside of Home. (10.04)
View 9 Replies
View Related
Mar 23, 2010
I am playing around with transparent proxies, The current way I am doing things is the program makes a request to a computer on port 80, I use
Code:
iptables -t nat -A OUTPUT -p tcp --destination-port 80 -j REDIRECT --to-port 1234 to redirect to my proxy that I am playing with. the proxy will send out a request to port 81 (as all outbound port 80 are being fed back in to the proxy) so I want to do something like
Code:
iptables -t nat -A OUTPUT -p tcp --destination-port 81 -j DNAT --to-destination xxxx:80 The problem lies with the xxxx part. How do I change the destination port without changing changing the destination ip? Or am I doing this setup completely wrong,
View 2 Replies
View Related
May 23, 2010
In Open Office Writer 3.2, is there any way that I can change the default "save as" "to" location from Documents folder to some other location (e.g., Desktop) in Lucid? I have looked thru everything I can find under tools>options, but I don't see anything that appears relevant.
Any command line deal I could do from terminal that might accomplish this?
This question is in connection with this thread: [URL]
View 2 Replies
View Related
Jan 18, 2011
I have a user account (no root access) on a Debian system. My disk quota for my home directory is limited to 250MB, of which I've used 150MB.
I would like to install a program that requires 95MB of space (let's call it prog-5.1) into $HOME/local/bin. Because the source files take up 1GB, I've had to place them in the /tmp directory (to stay under my limit).
Unfortunately when I run the config script, I receive the following:
Code:
The reason for this is that /tmp is mounted in noexec mode, meaning I can't execute code in /tmp directory:
Code:
I'm wondering if anyone has any ideas about running the config script in my home directory, and somehow pointing it to configure the files in the /tmp/prog-5.1/ directory.
View 5 Replies
View Related
Jan 31, 2011
I want to change my computer back to its original self cause i have two computers in Ubuntu OS and i really just want one on it. My question is how can i change it back? I had Windows XP before ubuntu.
View 3 Replies
View Related
Jun 14, 2010
I've got a few large, unsorted folders where I dump mp3s. I manage it all through rhythmbox and I've decided to separate the wheat from the chaff by paring down stuff I don't want and throwing all the desirable stuff into a big (~1,800 file) playlist file saved to my desktop.My question to you is, is there a hack that'll let me cp all the file entries in this playlist from their various original directories and into one target directory? Playlist format is:
Quote:
[playlist]
X-GNOME-Title=Biglist
NumberOfEntries=1823[code].....
View 3 Replies
View Related
Feb 8, 2011
A friend working in HPC environments commented me that he had an issue regarding the use of the malloc() function.What issue?He told me that he has had cases in where malloc() instead of returning a NULL pointer on failure, simply didn't change the original value of the pointer it was trying to use for allocation, thus forcing him to initialize pointers to be allocated with malloc() to NULL, so that he could be sure that if malloc() fails, a test for NULL would make sense.
View 12 Replies
View Related
Jan 5, 2010
/dev/hda8 is /home on this laptop. It must have been reading/writing when the battery died and now /home won't mount. I get the "is this a zero length partition?" error when running e2fsck. I've searched a bit and have gotten *mount -o sb=n /dev/hda8 /home* as a potential solution but I'm confused about the value 'n' suggested. When run as I wrote it, it fails with a 'no such partition' error. Can anyone point me to a solution for re-creating the superblock to get this partition mountable again?
View 4 Replies
View Related
Jul 2, 2010
I am new to deb package. I have read some docs, but did not know how to specify the destination for to-be-installed files. For example, I want to install under user's home directory. How to specify that?
View 7 Replies
View Related