Questions tagged [delete]

Deleting usually means the act of removing files from their former locations on the system.

Filter by
Sorted by
Tagged with
3 votes
1 answer
184 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 ...
user3553031's user avatar
0 votes
1 answer
172 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 ...
PVD's user avatar
  • 23
-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 ...
Jim's user avatar
  • 127
1 vote
1 answer
148 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 ...
dr mat's user avatar
  • 381
1 vote
0 answers
213 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 ...
bowlofsoup's user avatar
0 votes
1 answer
93 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) ...
Jyotirmoy Pramanik's user avatar
0 votes
1 answer
289 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?
Aryan's user avatar
  • 9
0 votes
2 answers
123 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) ...
user227495's user avatar
  • 4,069
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?
D-T's user avatar
  • 383
1 vote
0 answers
228 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-...
Lio Steinbacher's user avatar
0 votes
2 answers
264 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&...
SZ Hans's user avatar
0 votes
0 answers
82 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 ...
harisooriya's user avatar
0 votes
0 answers
72 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 ...
P Simdars's user avatar
  • 249
2 votes
2 answers
309 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 ...
Aldo Caldore's user avatar
0 votes
1 answer
137 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 ...
Bob Smith's user avatar
0 votes
1 answer
515 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 ...
udippel's user avatar
  • 187
-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 ...
Mamoona's user avatar
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 ...
slowsounds's user avatar
0 votes
1 answer
269 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 ...
Grass InfameArts's user avatar
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,...
tikendraw's user avatar
  • 155
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 ...
KansaiRobot's user avatar
3 votes
1 answer
240 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 ...
Brian Belaj's user avatar
0 votes
0 answers
72 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 ...
Finky Famboni's user avatar
0 votes
0 answers
108 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 ...
robertspierre's user avatar
0 votes
0 answers
94 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 ...
CaneRandagio's user avatar
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 ...
lee genny's user avatar
0 votes
0 answers
79 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....
Larry Golade's user avatar
  • 1,091
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 ...
Hrathen23's user avatar
-1 votes
1 answer
299 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: ...
God of Money's user avatar
0 votes
0 answers
84 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 ...
zero2001's user avatar
0 votes
1 answer
133 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 ...
Micke's user avatar
  • 1
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.
amoamiram's user avatar
3 votes
1 answer
435 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:...
αԋɱҽԃ αмєяιcαη's user avatar
0 votes
0 answers
355 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 ~...
TriumphantToil's user avatar
-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 ...
Prezire Playz's user avatar
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 ...
Jag Mohan Ray's user avatar
0 votes
0 answers
83 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), ...
001121100's user avatar
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. ...
useruSeR's user avatar
0 votes
1 answer
69 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
admin free's user avatar
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. ...
Said Dias's user avatar
0 votes
1 answer
81 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 ...
Taroidar's user avatar
0 votes
0 answers
226 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
Alberto's user avatar
0 votes
0 answers
368 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
jifitailu's user avatar
1 vote
0 answers
180 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 ...
Andras's user avatar
  • 131
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: ...
Asc's user avatar
  • 73
-3 votes
2 answers
553 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 ...
Basavaraj Pn's user avatar
0 votes
1 answer
152 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&...
Jeen0's user avatar
  • 11
0 votes
0 answers
213 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) - ...
Patricia's user avatar
  • 101
0 votes
1 answer
254 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/...
Black's user avatar
  • 801
0 votes
0 answers
503 views

Deleted /dev/dm-0

So...I wanted to remove a swap file located in /dev/dm-0. I accidentally deleted the entire /dev/dm-0 directory instead of the swap file. Is there any way to reinstall it? I've tried installing ...
Ema's user avatar
  • 11

1
2 3 4 5
15