Questions tagged [delete]
Deleting usually means the act of removing files from their former locations on the system.
713
questions
-1
votes
2
answers
57
views
Why I cant delete or rename my first user in Ubuntu
So my user is passw when first time download the Ubuntu, then I accidentally made my first username is passw. When Im trying to delete the passw it always said Removing user passw' ... Warning: group ...
3
votes
1
answer
185
views
Disabling the Recycle Bin in Wine
I use Wine to run one program. That program has the unfortunate tendency to create large numbers of temporary files, all of which it deletes to the Windows recycle bin. Wine implements that by ...
0
votes
1
answer
208
views
Not able to delete a file even if using sudo command on ubuntu 22.04 LTS
I have a text file Summary_DataTypes.txt which was created by me earlier. It appears in lsand vs code. But does not show in the folder even if I do show hidden folder.
I want to delete this file but ...
-1
votes
1
answer
92
views
Fully wiping out installed Ubuntu
I have an existing pre-installed Ubuntu that I wan't to make sure its completely wiped out.
If I do an installation of Kubuntu guided using the entire disk + encryption LVM would that do the trick or ...
2
votes
1
answer
216
views
How do i eliminate files saved in Run/user/1000/doc
I run Ubuntu 22.04.
My web browsers saves downloaded files to the run/user/1000/doc folder in hex-named folders created for every single file. As I learned seaching the web, this can be avoided by ...
1
vote
0
answers
236
views
rm -rf returning "rm: cannot remove 'PATH': Directory not empty"
I'm trying to delete a folder on an NTFS drive mounted to /media/soup/ntfs_d/ but it's resulting in a some strange behavior.
For context, a while ago I deleted some files via Dolphin which apparently ...
0
votes
1
answer
102
views
Files in Trash are not deleted in Ubuntu 20.04
I have probably tried all the methods available on the internet including using trash-cleaner, other command prompts, and the direct clear trash from files. However, a large segment (more than 30GB) ...
0
votes
1
answer
322
views
Remove and install again
I believe I didn't install ubuntu 22.04 properly on my new asus.
Now I keep trying to install it again but I can't reach to the boot menu.
How can I completely remove it and then install?
0
votes
2
answers
127
views
Delete all files inside a Single Folder - using Terminal, as Admin
I have Timeshift installed on Ubuntu 22.04. It has some unfinished snapshots eating too much of my disc space (close to 100 GB). I am currently using Nautilus/Files to delete them (as administrator) ...
0
votes
2
answers
79
views
Show and delete Files in a folder from today
How can I use ll to display the files in a folder from today, eg. folder = /home/me/Downloads | today = 21.11.2023?
How can I delete the result from 1. (displayed files) then using rm?
1
vote
0
answers
230
views
I've deleted cryptsetup-initramfs
I'm running Ubuntu 20.04 (5.15.-10088.98) with LUKS LVM and have done something stupid.
I've tried sudo apt upgrade and get the following problem:
I: The initramfs will attempt to resume from /dev/dm-...
0
votes
2
answers
275
views
How to delete a file, ls -al got: "-????????? ? ? ? ? ?"
I try to download a model file from civitai.com by wget , and got a filename '201259?type=Model'.
wget https://civitai.com/api/download/models/201259?type=Model&format=SafeTensor&size=pruned&...
0
votes
0
answers
83
views
Cannot Delete My Folder
I can't delete a folder that is taking over 9GB. It's a timeshift backup folder but I can't delete it. Which commands should I use for it?
I tried sudo rm -rf /timeshift to delete it but it did not ...
0
votes
0
answers
77
views
Can extundelete bring back folders after you have 'emptied trash' on them?
I read a number of threads about undeleting. The best tool seems to be extundelete. I tried it and it says it finds no files that have been deleted.
I was wondering if that was because I put the ...
2
votes
2
answers
327
views
How can I remove one Brave browser where it is installed twice on my OS. How do i identify which to uninstall
I am running Ubuntu Budgie 22.04 and have Brave browser installed. Somehow I have Brave installed two times. I can identify on the programs menu which one I want to delete. How do I delete that ...
0
votes
1
answer
154
views
How do I remove a virtualbox machine from virtualbox manager so I can reinstall it?
I created a vm for Ubuntu 22.04.3 LTS using unattended install (my first time using VirtualBox). My Activities button is not working in Gnome, and just produces a search window instead of a menu. I'd ...
0
votes
1
answer
548
views
How to remove unallocated unknown partition
I have a media drive that for reasons unknown contains a small partition 'unallocated unknown' in front of my data of some 4 TB. So, when plugging in, it pops up as /dev/sdx2. I want to swap this ...
-2
votes
1
answer
69
views
On ubuntu while using JavaScript, what command should I enter to delete my files having a common name in them? You can also use wildcards to help me
For example, I have four files with the names as "one-beta.txt" , "one-alpha.txt" , "two-beta.txt" , "three-gamma.txt". Now I am supposed to delete my files ...
1
vote
1
answer
79
views
Can't seem to delete old Xubuntu kernels, I'm getting the error that the directory isn't empty or that I don't have permission to delete it
I'm new to Linux so I might need some help in ELI5 language. I'm out of disk space. I see lots of old kernels that I don't need anymore, but I can't seem to delete them.
When I try this:
sudo apt ...
0
votes
1
answer
277
views
How do I remove the virtual disk (iso file) from the computer completely
So i was downloading a game via an ISO file and now i have a virtual disk for like forever.
It was mounted like a disk and when i deleted the iso file it just was standing there menacingly. Is it ...
2
votes
1
answer
147
views
Deleted files are moved to end of folder temporarily. Disturb the selection focus?
Title: Issue with file deletion behavior in Ubuntu 23.04 x86_64
I am currently using Ubuntu 23.04 x86_64, and I have noticed a recent change in the way files are handled when I delete them. Previously,...
0
votes
0
answers
64
views
Empty my trash is taking forever
My ubuntu system has become full
So I analyze the usage and I found a folder (with subfolders) large enough that I don't need.
So I sent them to trash with the "Files" interface. And now to ...
3
votes
1
answer
242
views
Move to trash problem in Ubuntu 23.04
It's been three days that if I cancel a file or if I click "Move to trash" the file doesn't disappear but it goes at the bottom of the folder's list. If i close and reopen the folder there's ...
0
votes
0
answers
73
views
How to remove grub bootloader on a locked down laptop?
Ok so I installed ubuntu on a usb stick but it also put grub on my school laptop, I cant open diskmgt on windows, how can I delete the bootloader using linux?
The only thing I can think of is taking ...
0
votes
0
answers
110
views
trash-cli on different BTRFS subvolume
I have a @home BTRFS subvolume which mounts /home/MYUSER, and a @ subvolume which mounts /.
I keep my data on /mnt/dataint/data/SOMETHING.
I can't trash from /mnt/dataint/data/SOMETHING. The two ...
0
votes
0
answers
99
views
How to eliminate "ghost" folders and files?
I have folders and files on the external HD (ntfs) that do not want to be eliminated.
From Shell I can't view them actually but in Dolphin they are present.
They are annoying because they are there in ...
0
votes
1
answer
104
views
How to delete matched filenames from a list
I want to scan for filenames in a source directory and all its sub-directoris then print the output to a file like:
ls -hR >> del.txt
(I, however, don't know how to not list folders)
I don't ...
0
votes
0
answers
81
views
How to remap the Mac power key into forward delete?
I have got a Macbook and would like to remap the power key to work as a forward delete like on a common keyboard. Best solution would be that the power key still function as such when long pressing it....
0
votes
0
answers
28
views
Python files removed from Jetson [duplicate]
I'm new in Linux, so I tried to remove the python3.6 package in order to install python3.8. However, doing this removed important files. Now when I try to install something or remove, upgrade etc., I ...
-1
votes
1
answer
313
views
How to fix when files keep disappearing without reason
How to fix when files keep disappearing without reason?
Or maybe because I accessed it?
I'm on Ubuntu 22.04
money@money:~$ ls move*
move2.sh movenew.sh movestart3.sh
money@money:~$ cat move2.sh
cat: ...
0
votes
0
answers
86
views
Can't delete repository
I can neither untick the repository in the picture nor remove it. I tried for at least an hour and it does not get unticked/removed. I have to untick/remove it since I cannot update the system because ...
0
votes
1
answer
136
views
Deleted Ubuntu folder and emptied the trash [duplicate]
Well, that was stupid. I put in an old USB and wanted to delete all the files on it. I believed it was an old Ubuntu install USB, so without further thought I clicked on something that said Ubuntu on ...
0
votes
0
answers
33
views
Exited from the main page of Ubuntu [duplicate]
I tried to delete python with sudo apt purge -y python 3-minimal and this happened.
3
votes
1
answer
442
views
How to delete files with specific size?
Using ls -lSrh I get this output:
-rw-rw-r-- 1 a a 2.4K Feb 15 04:44 10010.png
-rw-rw-r-- 1 a a 2.4K Feb 15 04:43 1000.png
-rw-rw-r-- 1 a a 2.4K Feb 15 04:44 10009.png
-rw-rw-r-- 1 a a 2.4K Feb 15 04:...
0
votes
0
answers
361
views
Dolphin 'Delete' option greyed out for folder
Running Ubuntu Studio 22.04.1 and the dolphin file browser won't let me delete a folder from one of my HDDs.
It's a "RECYCLE BIN" folder from having used it on windows, currently sitting at ~...
-2
votes
1
answer
1k
views
how to delete librewolf and epiphany/gnome web from the terminal
i'm in ubuntu 22.04 LTS when i thought i found the perfect browser,librewolf
i copied all the code from the debian install lines you should put in the terminal and executed it,it worked but i found ...
14
votes
2
answers
9k
views
How do I repair Ubuntu after running the command: sudo rm /*
While I was trying to remove files from a SD card from the same directory, I ran sudo rm /* and now Ubuntu isn't working.
When I restarted I get the error: kernel panic attempted to kill init.
I'm new ...
0
votes
0
answers
87
views
How can I remove a folder that cannot be deleted (two folders in the same directory have the same inode number)?
I have tried using rm with various flags, such as -d and -r (-r was successful as folder is now empty), tried moving to trash through GUI (which produces error that file cannot be moved to trash), ...
0
votes
0
answers
2k
views
delete Ubuntu dual boot
I installed Ubuntu using ventoy on Windows.
In the setup screen, I clicked “Install Ubuntu” and “Install Ubuntu alongside Windows Boot Manager”
I installed it on the C drive, not on a new partition.
...
0
votes
1
answer
70
views
So how do I get rid of this email server from the dock and The Nautilus file manager?
This server icon thing I cant get rid of it, I deleted the default keyrings so its useless and I Cant delete this icon. I am on ubuntu 22.10 On raspberry pi
0
votes
2
answers
2k
views
Create a temporary users on ubuntu
I want to create a temporary user on ubuntu that gets deleted within a certain period of time.
I can extend the deletion time.
I can get the value of the remaining time for the user before deletion.
...
0
votes
1
answer
83
views
I Can't delete files after booting into Windows 10
I have a dual boot, Ubuntu 22.04 and Windows 10. After booting into Windows 10, I can no longer delete any files or folders in Ubuntu. Even if I open Nautilus as sudo it will still not allow me to ...
0
votes
0
answers
228
views
Deleted x86_64-linux-gnu
I accidentally deleted usr/lib/x86_64-linux-gnu using rm -rf. Do I need to re-install the OS or can I repair it somehow?
Ubuntu 20. something
0
votes
0
answers
383
views
How do I delete /.snapshots
/.snapshots causes problems in my system and I cant get rid of it
it shows me error that I cant delete read only file
and can anyone even tell my why is this dir 87gb
1
vote
0
answers
186
views
UFW Delete 1 (or more) Rule(s) (silently)?
Is there a way to make Ubuntu Fire Wall delete a rule without asking if I really want to delete it?
Just like you "pre-yes" apt install [package] by -y.
I want to be able to read out only ...
4
votes
1
answer
6k
views
How to clear password history in Linux?
How do I clean the history of previous used passwords? The history which is used by passwd or whatever else?
I see:
t-account@dbg-host: ~ $ passwd
Changing password for t-account.
Current password:
...
-3
votes
2
answers
561
views
I want to delete all files in a particular directory which are smaller than a specific size
I want to delete the files in a particular directory which are smaller than than a specific size.
For example, I have five files on a server:
File1.20221001 size:-1430KB
File1.20221002 size:-1320KB
...
0
votes
1
answer
155
views
snap application says it's up to date, but -v shows an older version
the app in question is gallery-dl, and I had it installed via the snap store. a recent update of the app 1.23.1 -> 1.23.2 has some fixes to some issues i had.
I "sudo snap refresh gallery-dl&...
0
votes
0
answers
215
views
Preparing my work laptop for returning
I want to give my work laptop back to my employer. It has Ubuntu installed on it. I would like to create a new admin user with a new password and delete my current user (the only one the system has) - ...
0
votes
1
answer
257
views
Delete all files (except hidden files) in a folder
I need to delete all directories and files, except hidden files like .htaccess from this directory:
generated/code
I tried this:
rm -rf generated/code/*
but I get rm: cannot remove 'generated/code/...