Results 1 to 4 of 4

Thread: Delete file/folder in console

  1. #1
    STS301 NNTP User

    Default Delete file/folder in console


    hi

    I have a problem.
    I created a folder with su rights, but now I can't delete it normally.
    How can I delete the folder in the console with su rights using KDE 4.2
    beta 2?

    Sebastian


    --
    STS301
    ------------------------------------------------------------------------
    STS301's Profile: http://forums.opensuse.org/member.php?userid=17026
    View this thread: http://forums.opensuse.org/showthread.php?t=403507


  2. #2
    careta NNTP User

    Default Re: Delete file/folder in console


    sudo rm -r path-to-folder


    --
    careta
    ------------------------------------------------------------------------
    careta's Profile: http://forums.opensuse.org/member.php?userid=18735
    View this thread: http://forums.opensuse.org/showthread.php?t=403507


  3. #3
    Axeia NNTP User

    Default Re: Delete file/folder in console


    rm -R /where/you/put/it
    to delete a folder and EVERYTHING in it recursively (that's were the r
    comes in)

    rmdir /dir/location
    to remove an empty directory

    As root if you created them somewhere or somehow were normal
    permissions don't allow you to remove it.
    Be careful with the rm -R one, you can delete a lot of things you don't
    want to delete if you don't watch it and press enter too soon. There
    will be no extra question 'Are you certain' press enter and it's gone.


    --
    *Server:* openSUSE 11.1, Athlon 64 LE-1640, HDD 3 * 1TB, 1*640GB, 2GB
    RAM, Ati Radeon 3200
    *Desktop:* openSUSE 11.1, Intel Q6600, HDD 2 * 320GB, 4GB RAM, NVIDIA
    8800GT
    *Laptop:* openSUSE 11.1, Intel p8400, HDD 280GB, 4GB RAM, NVIDIA 9600GT
    ------------------------------------------------------------------------
    Axeia's Profile: http://forums.opensuse.org/member.php?userid=4794
    View this thread: http://forums.opensuse.org/showthread.php?t=403507


  4. #4
    STS301 NNTP User

    Default Re: Delete file/folder in console


    ok, thank you


    --
    STS301
    ------------------------------------------------------------------------
    STS301's Profile: http://forums.opensuse.org/member.php?userid=17026
    View this thread: http://forums.opensuse.org/showthread.php?t=403507


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •