OpenSUSE Install :: Deleting File/directories Via CL

Mar 27, 2010

rm [non-empty directory's name] -r

....and not....

rmdir [non-empty directory's name]-i

..or..

rmdir [non-empty directory's name} -ir

backround:

I just downloaded and innstalled 11.2 about 6 weeks ago, and Have updated several times since... I was very frustrated and found that I did in fact have the proper pernissions to delete this directory. I checked multiple forums for much longer than I would like to admit, and they kept telling me to use (in the end) the same commands.....I finally stumbled upon a forum that again told me to use rm [nonempty directory's name] ...and viola

my /bash can't be outdated can it

View 2 Replies


ADVERTISEMENT

Ubuntu :: Deleting Multiple Folders In Different Directories With Filezilla?

Apr 21, 2011

So I have a share hosting account with 60 sites all running wordpress.

There is a plugin I want to delete from all 60 wordpress sites.

The plugin is in the same path in all 60 sites.

mysite.com/wp-content/plugins/carter Is there a way I can search the entire home directory with filezilla or another ftp and delete every folder with that name in every site or I have to do it the tedious 1by1 sucky way?

View 4 Replies View Related

Software :: Deleting Directories With Baobab - Also Known As Disk Usage Analyzer

Jan 29, 2010

I noticed on a couple of my friend's computers, the baobab with Fedora and Arch Linux was able to delete folders by right clicking on them. The Baobab with Ubuntu does not have that feature. I then looked at then obtained the source code and ran ./configure --help, and saw nothing about enabling that feature.

View 1 Replies View Related

General :: Postfix Wont Start / Possibly After Deleting Vmail Directories

Sep 25, 2010

How or where can I find more specific information about why it's failing?

View 3 Replies View Related

OpenSUSE Install :: Grub Rescue After Deleting Partition?

Sep 30, 2010

Windows 7 x64 was the only install with a separate boot partition which was already on the Dell laptop. I then shrunk the partition to allow me to put opensuse on. Then I made the stupid mistake of deleting the opensuse and boot partitions while in Windows. I was going to do this, copy pictures of my new born baby off then reboot and delete all stuff and redo all the partitions and installs again.Now I just get grub rescue with the following when I do ls command:(hd0) (hd0,1) (hd0,2)I would like advise on how to get the data off, I cannot afford to lose my babies pics as there are no other copies. I will then do a normal install of opensuse first then Windows 7 after it.

View 6 Replies View Related

OpenSUSE Install :: Can't Boot Into Windows 7 After Deleting The Partition?

Oct 29, 2010

I was dual booting windows 7 with opensuse 11.3 and then realized I wasn't ever using Opensuse. I then deleted the partition it was in and now I cannot boot into windows. Grub immediately takes over upon booting but doesn't detect any partitions. I tried booting from an opensuse cd and changing the boot order priority, but grub still comes up. I don't have a windows 7 installation disc

View 4 Replies View Related

OpenSUSE Install :: Error: Deleting Logical Volume /dev/VolGroup/lv Swap

Feb 17, 2010

I'm trying opensuse 11.2 KDE out again after a bad experience last year. I'm installing it over Fedora 12 and when I try to install I get this error: Failure occured during following action: Deleting logical volume /dev/VolGroup/lv swap system error 4015 What does this mean? I've had other problems with with distro in the past but never this one. what is needed to enable the installer to install?

View 2 Replies View Related

OpenSUSE Install :: Without Deleting The Windows 7 Reinstallation Partition On Acer Aspire

Feb 24, 2010

I have Windows 7 and openSuse on my Acer Aspira 5532. I find that after using it, I'd rather get rid of Windows 7 all together. However, I want to be careful not to remove the partition that has the Windows 7 Reinstallation boot disk just incase in the future I wish to go back to Windows. Is there a way I can make my entire computer Linux (no dual boot) but also not deleting the Windows 7 reinstallation partition?

Further, can someone example why, on Boot, I have like 5 options to choose from? Like two openSUSE versions, failsafe, Windows 1, and Windows 2....? To be honest, when I installed openSUSE, I just did the recommended partition job that it suggested. I don't know much about partitions.

View 5 Replies View Related

OpenSUSE Install :: Deleting SDA Partition On Multi OS Disk And Grub Booting?

Mar 17, 2011

That is my disk

Code:
fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 1 3724 29912998+ 83 Linux
/dev/sda2 29256 30401 9205245 7 HPFS/NTFS
/dev/sda3 3725 4271 4393777+ 5 Extended
/dev/sda4 * 4272 12104 62918572+ 83 Linux
/dev/sda5 3725 4271 4393746 82 Linux swap / Solaris

I want ot install a new opensuse 11.4 as yest another OS. Due to the fact that I already have 4 sda partitions, I have to make some changes. What I am thinking about is to copy the sda2 (windows recovery) data to some folder etc (nevermind), then delete the sda2. Then I want to create a new primary partition for the new suse 11.4 and install it. What is worying me is the grub boot menu. I was planning to edit the new one (the opensuse 11.4), with old data.

Code:
###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.2 - 2.6.31.5-0.1
root (hd0,3)
kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-Hitachi_HTS542525K9SA00_080105BB0F00WDHE41DC-part4 resume=/dev/disk/by-id/ata-Hitachi_HTS542525K9SA00_080105$
initrd /boot/initrd-2.6.31.5-0.1-desktop .....

Now my question is will the settings of (hda0,n), change due to the fact that I have deleted the sda2? I have a lot of unused space at the end of my disk and want to create a new "sda2" there.

View 9 Replies View Related

OpenSUSE Install :: /home And / Directories

Sep 14, 2010

In system info my ext4 /home directory shows total space of 51.7 gigs with 51.5 gigs available.

My ext4 / directory shows total space 19.7 gig and 7.7 gig free. Whenever I install anything it goes to the / (as guess root directory) In Dolphin it shows my /home directory but anything installed under that seems like it installs on the / directory.

If I have 51 gigs free where is it and how do I gain access?

View 9 Replies View Related

OpenSUSE Install :: Using Cd ~/ Results In / And // Entries For All Directories

May 5, 2011

Since I updated from 11.2 to 11.4 an annoying bug seems to have crept into the shell.

If I type the following and hit tab I get:

cd ~/.kde
.kde/ .kde// .kde4/ .kde4//

i.e. each directory has a / and // version for some reason. I have to enter a / and hit tab again to proceed.

If however I type the following and hit tab I get:

cd /home/tux/.kde
.kde/ .kde4/

i.e. correct as expected.

The ls command does not do this.

This seems like a bug.

GNU bash, version 4.1.10(1)-release (x86_64-suse-linux-gnu)
openSUSE 11.4 (x86_64)
VERSION = 11.4
CODENAME = Celadon
Linux 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux

View 2 Replies View Related

OpenSUSE Install :: Mounting /sys Directories With Nosuid Option?

May 19, 2010

I'm trying to mount some file systems in the /sys directory with the nosuid option. Upon executing the command:

mount -o remount,nosuid /sys/kernel/security
or
remount nosuid /sys/kernel/security

/etc/mtab will show that they have been applied, but upon restart of the machine, the nosuid option is removed.

Soooo, the question is why are they being removed? Can /sys files carry the nosuid option?

View 7 Replies View Related

OpenSUSE Install :: Retain Contents Of Other System Related Directories

Mar 1, 2011

My current system ==>openSUSE 11.3 / GNOME 2.30.2

When openSUSE 11.4 comes out i want to
==>Download "Live GNOME"
==>When installing it need to retain contents of "/home/.."

Is this possible?

NOTE:-I don't need to retain contents of other system related directories

View 9 Replies View Related

OpenSUSE Install :: Moving /usr Directory / Partition With All The Other Running Directories?

Mar 16, 2011

I just installed the 11.4 version after using numerous previous versions. During this install the /usr directory was placed in a separate partition. How would I go about placing it in the partition with all the other running directories?

View 7 Replies View Related

OpenSUSE Install :: Call To Lnusertemp Faild (temporary Directories Full?)

Feb 5, 2009

opensuse 11.1 64 bit NVIDIA 180.22
yesterday i update my kde from 4.13 to 4.2.
Before i install kde 4.2 ,i disable all repo about 4.13

and remove kde 4.13 .using one-click installer,i install kde 4.2 successfully.but i can not login my account in kde session .it says

"call to lnusertemp faild (temporary directories full?)..."
use command
df /tmp
df -i /tmp
df /var/tmp
df -i /var/tmp

i found my disk have enough space,about 70% free space.i try to lonin use root account .it failed too ,with same error.any one know what is the matter about my kde 4.2?

View 9 Replies View Related

OpenSUSE Install :: Hard Drive To Replace Old One That Contained The /var And /home Directories?

Apr 25, 2010

I am installing a new hard drive to replace my old one that contained the /var and /home directories. I don't want to copy the whole directories, especially from home because there is a lot I don't need in it.What I need to do is set the mount points for the two partitions I have made on the new drive to /var and /home, but it will not let me do this with the other drive still running. I can't unmount /var and /home while the computer is running, and I would guess that having two drives with /var and /home on them would not work.

So, how can I set the mount points on the new drive and copy the files I need from the old to the new one? It would seem that would require two /home partitions to be mounted at the same time, but I don't think that is possible. I am sure there is some way, probably many ways knowing Linux so please,

View 9 Replies View Related

OpenSUSE Install :: Mount Multiple Directories From Two Archive Drives In One Folder?

Jan 21, 2011

I have two non-system drives with archive files. Each drive is formatted with one primary partition only, occupying all the drive space. In each drive there will be a number of directories with files in them, like this:

Drive 1:
/directory1/directoryXXX/files
/directory2/directoryXXX/files
/directory3/directoryXXX/files
Drive 2:
/directory4/directoryXXX/files

[Code]...

View 2 Replies View Related

OpenSUSE Install :: Call To Lnusertemp Failed - Temporary Directories Full?

Sep 22, 2010

opensuse 11.1 64 bit NVIDIA 180.22 yesterday i update my kde from 4.13 to 4.2. Before i install kde 4.2 ,i disable all repo about 4.13 and remove kde 4.13 .using one-click installer,i install kde 4.2 successfully.but i can not login my account in kde session. it says "call to lnusertemp faild (temporary directories full?)..."

use command
df /tmp
df -i /tmp
df /var/tmp
df -i /var/tmp

i found my disk have enough space,about 70% free space. i try to lonin use root account .it failed too ,with same error. any one know what is the matter about my kde 4.2?

View 5 Replies View Related

OpenSUSE Install :: Deleting One Logical Partition Changes Partition Numbers Of The Others?

Oct 9, 2010

I started withsda1 windows restore sda3 extendedsda5 swapsda6 /mandrivasda7 /SUSE 11.3
sda8 /SUSE 11.2I then made some changes with gparted (from PartedMagic 5.5) to create an ntfs partition to simulate a condition where someone may want to delete that partition and use the free space for linux. I then deleted that partition, sda2 then sda5 (swap) and taking some screenshots, went about resizing partitions to use that free space and then recreate swap. the intention being to create a basic guide on how to go about this.I have previously only had my swap at the end of the extended partition, deleting itand recreating it later had caused little trouble.I realize that a resize/move operation would have been a better choice.What I was not expecting was the partition number changes that occurred.

Code:
root@PartedMagic:~# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes

[code]...

View 9 Replies View Related

Ubuntu :: Deleting File With '' In The Name

May 27, 2011

I tried running a back-up/restore script in a WordPress install to migrate from one server to another... long story made short, I ended up doing it manually and all is well on that front

The one remnant from that botched script is that it tried creating a directory 'wp-backup' and then a file inside that directory - but it tried using '' instead of '/'. So what it created was a file named 'wp-backupindex.php' with a file size of 0 bytes.

The problem is thus: I can't change the permissions nor delete the file, because of the invalid file name. I don't have direct shell access (that cost *extra*, of course) and every time I try with the web-based file manager (Quixplorer) it sees it as 'wp-backupindex.php', as though the '' is acting as an escape sequence in the file name. Same thing in FileZilla, I can't do anything to the file without it complaining about the invalid file name.

how to ixnay this one file given the limitations above (no shell access) short of calling and bugging tech support to delete the file for me?

View 2 Replies View Related

General :: Deleting A File Beginning With '?'

Jan 26, 2010

I have found a file beginning with a question mark in my home dir, not sure how the hell it got there. It's from a downloaded rar i think.

Does anyone know how to do this?

View 14 Replies View Related

Ubuntu :: Deleting Duplicate Words In A Txt File?

Nov 14, 2010

i waas wondering if anyone knew of a script or program that removes duplicate words in a txt file. im making an install script and the install list has gotten a bit long so i want to ensure there are no duplicates in the file

View 2 Replies View Related

Ubuntu :: Do Not Regain Space After Deleting File?

Feb 10, 2011

I am using Ubuntu 10.10 and 10.04 on two different computers.I have the same problem with both .... when I delete a file on my hard drive or a removable drive I dont get the space back even after I empty the trash.The file is gone and deleted but its as if its only hidden from me seeing it and still sitting on my drive.For example when I have files on a thumb drive and I delete them and try and put new files on there it will tell me I dont have enough disk space even though all files have been deleted, the only way for me to get the disk space back is to format the drive.I have now realized I have the same problem with my hard drives, I delete files but I dont get any space back, eventually I will have a full hard drive but no files on there

View 9 Replies View Related

Ubuntu :: Deleting File While Renaming / Recover These?

Feb 25, 2011

This has happened twice to me. I'm editing a filename on the desktop, for example, I have a part of the name highlighted and press delete. Inadvertently, I press delete again, but with nothing highlighted. The file is deleted, but is not added to the recycle bin (possible bug).

I believe that is what is happening. I cannot seem to recreate it purposefully on my work computer --I had done this at home this morning while sans-coffee.

Is there a way to recover the files?

View 1 Replies View Related

Programming :: Deleting Unwanted Characters In File

Mar 31, 2010

Currently, I'm working on personal project. and I'm kinda stuck. What I want to do is that open a file, and edit that file (deleting unwanted characters). The problem arises after I deleted unwanted characters, the file still has the same length of the original one. Let's assume that we have a file with "1234" in it. I deleted "3" ( I overwrite "\0" ) so now when I check the file, it's 124. But when I check the length, the both have the same size as 4

Here is an example source code
int length, length2;
num = open("a.dat", 2)
length = lseek(num, 0, 2); // Initial length
lseek(num, 2, 0); // editing
write(num, "\0", 1);
length2 = lseek(num, 0, 2); // Final length
close(num);

When I print those values those are exactly the same. Length2 should be one less than length, but the both are 4. What's wrong in m code? Am I supposed to use different character rather than "\0"?

View 8 Replies View Related

General :: Conditionally Deleting Lines From File

Mar 10, 2011

I am facing some problem regarding deletion of a line from a text file. The file consists of the lines of type which consists of more than 6 occurrences of : character in it. The line should be deleted completely and the line next to it must be shifted up.

View 1 Replies View Related

General :: Deleting File (Oracle Setup) From Root

Dec 18, 2010

I had copied oracle setup in the root. Now want to delete it. I tried the following commands, but couldn't succeed:

rm -R oracle-xe-univ-10.2.0.1-1.0.i386.rpm
rm: cannot remove `oracle-xe-univ-10.2.0.1-1.0.i386.rpm': No such file or directory

While this file there only in file system.

View 2 Replies View Related

General :: Deleting Symbols From File - String Not Found

Aug 4, 2009

I am trying to delete these symbols "[ ]" from a file but it says string not found. I tried: %s/[//g while editing the file not working also tried sed -e '/[/d' and sed '/]/d' still no job.

View 3 Replies View Related

General :: Script For Deleting Matched Line Of File From Another

Sep 3, 2009

I have two text file named 1.txt & 2.txt.

1. txt contains 5 laks of mobile number.
2. txt has 60 laks of mob no.

Situation is that I want to find and delete numbers in 2.txt which already in 1.txt. Any perl or bash script or any other way to get the work done.

I tried the following:
#! /bin/bash
IFS=$'
' for NAME in $(cat one.txt)
do sed -ie "|^$NAME$|d" two.txt done
echo "***DONE***"

It works well with smaller file but it take very very long time even processing 10 thousand numbers.

View 2 Replies View Related

Software :: Deleting All Instances Of A Certain Character From A Text File?

Feb 18, 2010

In my command prompt I did:

Code:

sed 's/://' mytextfile > newtextfile

But it only deleted the first instance of : in each line when some lines have multiple : appearing in each one. How can I delete all the : from the entire file?

View 6 Replies View Related







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