General :: Rm -rf Not Erasing Directory?

Apr 24, 2010

I am attempting to erase a directory called apps. When I run rm-rf apps it looks like it erases it for the moment. When I log back on to the server the directory is still there, though it is highlighted in green.

drwxrwxrwx 3 user user 4096 2010-04-24 18:33 apps

View 6 Replies


ADVERTISEMENT

Ubuntu :: Program/script In 9.10 Server Is Erasing/cleaning The /tmp Directory At Each Reboot?

Jan 20, 2010

Anyone know what program/script in Ubuntu 9.10 server is erasing/cleaning the /tmp directory at each reboot? I want to have it not do that, and replace it with something that removes older files first to achieve a certain free space level.

View 1 Replies View Related

General :: Error While Erasing A Pkg

Dec 1, 2010

While trying to remove a pkg by rpm it's giving the error as:

PHP Code:

How will I remove this package ?

View 3 Replies View Related

General :: Erasing An Old Hard Drive ?

Mar 20, 2011

A friend of mine has just given me an old 80GB hard drive provided that i erase the hard drive. So could someone tell me that if i used Code: shred -vz -n 3 /dev/hda to erase all data contained on the hard drive Would i then have to reformat the hard drive so i could install a Linux OS on it?

View 9 Replies View Related

General :: SH: Erasing Fast A Cdrom ?

Jun 23, 2011

To do that:

Code:

But -blank=fast makes it really faster? Visibly not so much, right?

View 3 Replies View Related

General :: Erasing From The Cursor Up To The Beginning Of The Following Word In Vim

Dec 13, 2010

In a wide family of "ancient" text editors, by pressing ^T you erased from the cursor up to the beginning of the following word. If we use '_' to represent the cursor, the thing was like this:

Code:

If I now hold <CNTL> down and press <T>, the result will be

Code:

Want to feel at home with vim. Many times I have consulted and even tried to systematically study vim's man page. Sometimes I consulted it with profit, sometimes not. This is one of the latter.

View 6 Replies View Related

General :: Erasing From The Cursor Up To The Beginning Of The Word In Vim?

Dec 13, 2010

In a wide family of "ancient" text editors, by pressing ^T you erased from the cursor up to the beginning of the following word. If we use '_' to represent the cursor, the thing was like this:

Code:
want to feel _ at home with vim. If I now hold <CNTL> down and press <T>, the result will be Code: want to feel at home with vim. Many times I have consulted and even tried to systematically study vim's man page. Sometimes I consulted it with profit, sometimes not. This is one of the latter.

View 3 Replies View Related

General :: Reinstall Ubuntu 10.04 LTS Without Erasing Partition

Feb 5, 2011

I've had problems with my Ubuntu partition on my computer, so I have decided that I might have to format the partition or reinstall Ubuntu.

My problem is that I have files on my partition that I would like to save. I've tried every tool I've found that allows Ext2 to be read in Windows, but none of them work for me. The best I have gotten is that I would be able to see the folders in /, but that is it. I was wondering if it was possible to reinstall Ubuntu without having to erase the partition.

View 1 Replies View Related

General :: Recover Windows Without Erasing Files?

Feb 21, 2011

I tried to to install Kubuntu on a usb port to make it portable. I used my buddies laptop and when the program asked if i wanted to erase the Hard drive I made it erase the USB port and install on there. When I was finished windows would no load up from the Hard drive on the Laptop and the message I got was a code and grub rescue. How can I recover Windows with out erasing the files?

View 12 Replies View Related

General :: Erasing From Home Up To First Blank As Type At The Prompt

Nov 28, 2010

GNU bash 3.1.17. I say there must be, in bash, a keystroke combination that does this: I type say, two words at the prompt. Then I press HOME. And now, holding down some control key, I press a key that erases from current cursor position up to the first blank (the space between the two words). If I am right, which is the key combination? You could as well refer me to the bash manual section where the different combinations, one of them a control key are listed.

View 2 Replies View Related

General :: Erasing Default Root Bashrc In Fedora 13

Mar 6, 2011

I erasing default text in fedora 13 root bashrc and when I want to swich user ( with su command ) to root , icant,and i see bash-4.1????

View 1 Replies View Related

General :: Mount 2nd Hard Disk Without Erasing Data?

Jan 26, 2010

Is it possible to mount a 2nd hard disk without erasing the data that is already on it? If so, what command must I enter. The system recognizes that the disk is there, I just can't access the data because it hasn't been mounted.

View 5 Replies View Related

Ubuntu :: Erasing Second Harddrive ?

Feb 5, 2011

I have two harddrives installed on my HTPC. I am using the smaller (120gb) to run the OS (kubuntu 10) the larger (1 tb) I want to use to store all of my media.

However....

The second hard drive has THREE linux Distros on it (from me testing and playing and making decisions) and I CANT figure out how to get them off.....

The hard drives are SATA and plugged in in the correct order.

I have tried fdisking and reformating which seemed to work, but when I boot it still asks me which OS i want to boot to.

Right now I am trying to zero out the hard drive by using ths

dd if=/dev/zero of=/dev/sdb

I typed that in as root about 15 minutes ago and hit enter. it hasn't said anything since. no command prompt or anythng. I am hoping it is working, we will see.

View 8 Replies View Related

Ubuntu :: Installing Fedora Without Erasing ?

Mar 20, 2010

I would like to try another flavor of linux (fedora)..Currently i am using Ubuntu 9.04, without erasing ubuntu i like to try Fedora..So can someone tell me how to install fedora without losing Ubuntu?

View 8 Replies View Related

Fedora :: Re-creating Without Erasing Data LVM Drive?

Jun 9, 2010

My OS hard drive crashed on my file server. and now I am trying to "restore" my drives.

I am having problems re-creating without erasing data my Linux LVM drive. I would like some instructions on how to re-create my logicalVolumeGroups and phisical groups so I can re-mount my Linux LVM partition.

Here is my specific information.
when I do a pvdisplay I only get my boot vg_files group listed
pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name vg_files
PV Size 74.33 GB / not usable 577.00 KB
Allocatable yes (but full)

[Code]...

View 14 Replies View Related

Installation :: Install Xp On A System With Out Erasing Ubuntu?

Oct 23, 2010

I want to duel boot XP and ubuntu, but have been using ubuntu for quite some time. I want to add a windows section to my computer - but how do I do this with out erasing ubuntu?

View 2 Replies View Related

Debian Multimedia :: Wodim - Writing Erasing Errors In K3B

Nov 12, 2010

I've been running Lenny for quite a while and have always been plagued by strange CD writing/erasing errors in K3B. I also tried erasing my CDRWs using wodim from the command prompt but had erratic results there also. I was researching these problems on Google recently and finally found a solution as well as an explanation of the cause of all the difficulties. Go here [URL], do some reading and then download/install cdrtools-3.00 from the link on the main page. The package did all the work for me including updating the default programs in K3B - now everything works as it should. I sincerely hope Debian will reconsider the trouble-prone fork of the original cdrecord (wodim) and make Jorg Schilling's excellent cdrecord the package of choice for future releases of Debian.

View 14 Replies View Related

Ubuntu :: Erase External HD W/o Erasing Main Drive?

Apr 12, 2010

I have an external hard drive I use for backups. This drive has entire operating system on it(don't know which one, but I think it's intrepid), from when I did a complete backup eons ago. I have added new stuff since then. I tried to erase the system files on it, since they take up space and aren't likely from my current system. I don't run the drive all the time, only when I'm backing up files. The rest of the time, it's off. When I did this, I couldn't run any programs on my main computer( the bin directory was gone), and it wasn't in my trash on the main drive or the external drive. I tried re-installing without erasing my home directory on the main drive; it went okay, until I tried to open a file.

My /home apparently had nothing in it, so i downloaded my backup files, only to run out of room. The files were there; I just couldn't see them. I tried to open several programs, but was told I didn't have root access. Finally, I just reformatted the whole drive and re-installed everything. What I'd like to know is:1. How do I clear the junk from the external drive without hurting the main drive?

2. Why did erasing the old bin file on the external drive whack the same file on the main drive?3.Several times before, I have upgraded or re-installed xubuntu, leaving my home directory intact. The upgrade either can't find my files, or forgets half my settings. How can I keep my files and settings? I hate having to re-install everything from scratch each time I upgrade. I thought having a separate /home directory was supposed to protect all that.

View 4 Replies View Related

Ubuntu Installation :: Getting The 10.10 Without Erasing The Data In Other NTFS Drives?

Oct 21, 2010

I'm using windows 7 now and I want to install ubuntu as the main OS to the current C:drive(which has installed windows currently) but with keeping the data in other ntfs drivers(D:, E:, F: ) on my hard disk. I can't take backups of all data in other drivers and if that data erased with ubuntu installation I will face a very big problem in future. So how to install ubuntu 10.10 only for a one drive(c: drive) without erasing the data on other ntfs drivers? and I uses nvidia 8 series graphic card and are there any special things to follow to install it's official linux drivers(.run) or is it enough to use default drivers on ubuntu.

View 2 Replies View Related

Ubuntu Networking :: Netrwork Manager Erasing Wep Keys

Apr 19, 2011

I am running Karmic on a Lenovo s10e. I have been trying to reconnect to some wep encrypted ap's. There have been recent changes to the routers. In some cases my mac is barred, also some have changed their mac as well. Typical behavior of network manager on failed connection is to ERASE THE WEP KEY.

I call this worse than a bug, I really get tired of typing in the same key over and over! I think there is a basic misunderstanding about what the software is supposed to do. Even if there an error in the key, having the old one there to edit would be a huge help. IN MY PROFESSIONAL OPINION, NETWORK MANAGER SHOULD NEVER, EVER ERASE THE WEP KEY. Typing in 26 hex digits (for a long key) is needless aggravation.

If I am doing something wrong, someone please tell me. My point still stands. Even if I am doing something wrong, THERE IS NO EXCUSE FOR ERASING THE WEP KEY.

View 1 Replies View Related

Ubuntu Installation :: Erasing The Entire Disk Or Specifying The Partitions Manually

Jan 28, 2010

I am trying to install ubuntu 9.10 alongside windows on my laptop's harddrive. When I was going through the procedure it gave me the option of a guided partition of my harddrive... however there was an error. At this stage I unplugged my external harddrive because it's sometimess a bit dodgy and restarted the installation process. However everytime since that I have tried to install, it only gives me the option of erasing the entire disk or specifying the partitions manually

View 6 Replies View Related

General :: Use Mkdir Command To Create 'local' Directory In /usr - There Are Error - Cannot Make Directory

Jun 16, 2010

I am a student studying computer science course.

Well, I am facing problem when doing lab questions.

I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).

I am required to use the /usr/local directory.

In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".

Look at my screenshot at [url].

View 9 Replies View Related

General :: Perform A Long Directory Listing Of All Files In The /bin Directory That Have Exactly Three Characters In Their Name?

Jan 18, 2010

How do you perform a long directory listing of all files in the /bin directory that have exactly three characters in their name?

View 1 Replies View Related

General :: Files Created In A Directory Owned By Directory Group?

Jan 29, 2010

Is there a way, on Linux, to cause all new files created in a directory to be owned by the directory's group instead of the creating user's group?

View 2 Replies View Related

General :: Cronjob Directory / Send An Email If Directory Contains More Than Ten Files?

Oct 13, 2010

I want to run a cronjob every 15 minutes that checks a directory for files. If the directory contains more than ten files I want it to send an email to me.

All I have is this...

*/15 * * * * ls -l | wc -l | [filename] | mail -s "This is just a test" [email address]

I would rather not write a bash script. Is there an easier way to do this? I was looking into some commands like find and grep.

View 6 Replies View Related

General :: Find Directory Older Than X And Mv Directory With Sub Files Command?

Jul 13, 2011

I'm quite new to linux but I have configured a simple ftp server and it's working great. I have a FTP-Shared folder with upload and download subfolders. Under upload's and download's I have identical category subfolders like mp3's, movies, software etc. in both. As the guy's upload, I would like to create a line crontab where I can move all the content under /FTP-Shared/upload/mp3/* older than 14 day's to FTP-Shared/downloads/mp3/ recursively (Like in cp command), but the timestamp must be searched on the first directory and not sub files example: /mp3/Club Dance/CD1/Hallo world.mp3This is how far I got:[root@clients ~]# /usr/bin/find /FTP_Shared/upload/Mp3s/ -depth -mindepth 1 -mtime +14 -type d -exec mv -f {} /FTP_Shared/download/Mp3s/ ;This command moves the directory and files, but it is not recursively

View 4 Replies View Related

General :: Link A Directory In Ubuntu To A Directory In Windows 7?

Apr 12, 2010

I've just installed Ubuntu 10.04, trying out linux for the first time. I'm wondering if it's possible to link my documents folder in Ubuntu to my documents folder in Windows, so that when I open the folder in Ubuntu, I am linked to the folder in Windows.

View 1 Replies View Related

General :: Mount One Directory To Another While Mapping The Original Directory's UID To Another

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

General :: Create A Directory Named Like His Parent Directory

May 26, 2011

I need to create a directory named just like his parent.

Example:

I tried this but because there is "Space Characters" in the name of Parent directory, my script fails.

View 8 Replies View Related

General :: Using Cp Properly - Copy A Directory Somewhere Else Into This Current Directory ?

May 13, 2011

I am in my current directory. I want to copy a directory somewhere else into this current directory. Lets say I want to take it from direc1/direc2 and the directory I want to take is called demo.

Code:

That is what it shows in the man pages, but when I do that, it says cp: no match

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved