Learn "fuser", a little-known Linux workhorse command!

  Рет қаралды 128,169

Veronica Explains

Veronica Explains

Күн бұрын

Пікірлер: 408
@VeronicaExplains
@VeronicaExplains Жыл бұрын
Your "eff user" or "eff you sir" jokes are played out. Like and subscribe! 😈
@danielahern3560
@danielahern3560 Жыл бұрын
in case you're not tired of this: super user do... should that be pronounced su-dO.
@stumbling
@stumbling Жыл бұрын
I wasn't going to make that joke... >_> ...
@slowvoltage
@slowvoltage Жыл бұрын
haha! 💜🙌🏽
@jamesgardner2101
@jamesgardner2101 Жыл бұрын
And yet Windows still exists.
@hypothalamusjellolap8177
@hypothalamusjellolap8177 Жыл бұрын
classic
@trickvro
@trickvro Жыл бұрын
"Verbosity" is such a great word. Very underrated.
@DanielMReck
@DanielMReck Жыл бұрын
lsblk is such a gem. Thanks for making sure it was mentioned, Veronica.
@JosephMwema
@JosephMwema Жыл бұрын
lsblk ~ List Block. fuser ~ Free User resource.
@kingneutron1
@kingneutron1 11 ай бұрын
Fun fact: ' lsblk ' will not spin up a sleeping drive, whereas ' blkid ' will!
@BobGilbert
@BobGilbert Жыл бұрын
That "except for Amiga OS" shot earned a thumbs up from me!
@MeriaDuck
@MeriaDuck Жыл бұрын
Did not know fuser while using Linux since 1994. Thanks! I probably lsof and grepped if I needed this, lsblk and fuser are a lot more user friendly!
@bartoldenhof9377
@bartoldenhof9377 Жыл бұрын
I've been a recreational Linux user for 20 years now, and I'm still learning new stuff. Thank you for making these videos Veronica, you've made my day once again!
@MARK01986
@MARK01986 6 ай бұрын
At my first job we used to use fuser. It was not allowed for the same user to be logged in at the same time. The problem was when the user was left hanging in the system and could not log in again because there was already a session started. We used a fuser -ku /dev/TTY Usually, we looked for the user's TTY within a script and passed it as a parameter to the fuser. By the way, I love the way you Speak English.!!!!!! Greetings from Mexico
@TheRustyCrab
@TheRustyCrab Жыл бұрын
Since you brought up Vim -- `ZZ` or `ZQ` is a great shortcut I learned recently! ZZ saves and quits, while ZQ quits without saving. Love the channel so far! ❤
@dienvidbriedis1184
@dienvidbriedis1184 Жыл бұрын
thanks! that is much easier than method i'm using to quit vi- :!ps -a | grep vi | awk '{print $1}' | xargs kill -9
@MiBox-jn6vx
@MiBox-jn6vx 9 ай бұрын
Oh my god! Thank you so much
@XGD5layer
@XGD5layer 2 ай бұрын
:x also saves and quits like :wq
@guss77
@guss77 Жыл бұрын
I'm an experienced Linux user with quite a bit more than 15 years experience, and in kind of knew that fuser existed but have always fiddled with lsof to get things like that done - and often got frustrated. I will now use fuser for all of my laod needs because now I know it's easier and better - *thank you Veronica* 🙏👏👌
@lrmackmcbride7498
@lrmackmcbride7498 Жыл бұрын
Same here but much longer linux user
@jpcoll2011
@jpcoll2011 Жыл бұрын
Linux/Unix user since the 90s
@fishingangler4315
@fishingangler4315 Жыл бұрын
@@jpcoll2011Congratulations! You won the pissing contest!
@jpcoll2011
@jpcoll2011 Жыл бұрын
@@fishingangler4315 Don't get me started, might talk about my hardware setup 😂😂😂
@the_derpler
@the_derpler Жыл бұрын
This is one of the best tech channels on youtube.
@kjetiltrondsen8242
@kjetiltrondsen8242 Жыл бұрын
I have used Linux om servers for 25 years, and on desktop for 20 years. And did not know that command. Now I just have to remember the first time i need it and it will be a fantastic tool! Thank you!
@jota1749
@jota1749 Жыл бұрын
I appreciate your "Lil' Linux Lessons" series! They're always quick and to the point with really detailed info, the pace is not too slow nor too fast, so even a Linux newb like me can follow and not feel like a dummy. Please, keep doing it as a regular series on the channel until there is nothing more to explain (so, forever :o)!
@haxwithaxe
@haxwithaxe Жыл бұрын
I've been sysadmining for about 15 years and I had always assumed this was a FUSE utility and didn't bother to look at it. I'm sad that I didn't pay attention to it much earlier but very happy that I know about it now. Thanks for sharing.
@insu_na
@insu_na Жыл бұрын
I've been using Linux every day for a decade now and the only "fuser" that came to mind was "fusermount" Thanks for teaching me new stuff
@BobBloom
@BobBloom Жыл бұрын
Veronica, I find your style, your humour (which I really appreciate), and the hard work you put into your editing -- well, I find that I am absorbing what you are teaching. Rare that I can sit back and be passive and just watch a video and just absorb. Thank you for doing what you are doing. If imitation is the greatest form of flattery, than consider yourself being very flattered. Your pacing is fantastic. No, not fantastic. Sublime. You slow down, but not in a monotone way, and not in a way that sounds like you are going at 3/4 speed, and not in a way that sounds like you are talking down to us. It must be harmonics or something because your pace of talking matches my pace of listening. I think you have a special ability to slow down your talking, without going into a monotone. The flip side would be the ability to talk faster without sounding like you just went to 1.5x. Something that you do well, that I have taken especial note of, is that you pause. You take that extra beat of pausing, without sounding like you are creating white space. I do not have that talent. The funny thing about you shooting your videos in your unfinished basement is that there are no distractions. I think you should earmark a piece of your basement as "The Stud Room" (even if it is not really a room), and continue shooting your videos there. No LED lights, no worrying about having the right wallpaper on your screens, no worrying about keeping it clean, no worrying about what is on the wall. These small "L'il" videos are brilliant, and effective. I appreciate you recommending other KZbin creators. They should be recommending you, not the other way around. I am a "lazy liker", and have been remiss "liking" your videos. I will rectify this in the future with your videos. All my best from Toronto, Canada.
@killernurd
@killernurd Жыл бұрын
I have been using Linux since 1999...I was today years old when I learned about this tool. Thanks for expanding my toolbox!
@alexhajnal107
@alexhajnal107 Жыл бұрын
I'm a seasoned Linux and Unix user (going back to the '90s), well over a decade of that as a sysadmin. I like watching these "basics" videos (for all kinds of topics) to get a fresh perspective on things¹. You did a really good job with this video! ¹ For example, simply out of habit I've usually used *lsof -n | grep PATH* . This has worked fine in the past but this is severely broken² on the latest Ubuntu release. I've been planning to look into this but as you mentioned *fuser* can be a good substitute in a lot of cases. ² For some reason (I suspect it's something to do with *snap* , _et al._ ) there is a substantial delay before *lsof* (without *-p* ) outputs anything. For example, on my current desktop *lsof* takes a whopping 30 seconds before outputting anything whilst *fuser -v PATH* only takes ~220 ms. (Running *lsof -p PID* runs fast, ~130 ms.)
@dingokidneys
@dingokidneys Жыл бұрын
Very cool. I've been using Linux for nearly 30 years and didn't know what to use 'fuser' for. I've been using 'lsof' but it's a bit more arcane. From now on 'fuser' will be in my toolbox. Thanks. 😊 Rockin' on with that outro: 🤘😝
@AndyAyres
@AndyAyres Жыл бұрын
I love the fact that no matter how much I think I know as someone who has dabbled in linux since the late 90's that there is always something new to learn.
@ultrasparc
@ultrasparc Жыл бұрын
5:46 You said it..! Using Linux since 1999, many Linux commands happened to be like that for me, like a screwdriver, such tools becomes absolute necessities once started using.
@KingsandHunters
@KingsandHunters Жыл бұрын
Veronica, thanks for making complex things seem simple and fun! You are one of the best educators on KZbin! Love you!
@neverping
@neverping Жыл бұрын
Good to know there's fuser! I was using lsof the whole time because that's the tool for Solaris systems and I still got used with lsof for such usage. I didn't know about fuser.
@tomv3999
@tomv3999 Жыл бұрын
"Except for Amiga OS" --- I love you.
@sillanrakentaja
@sillanrakentaja Жыл бұрын
You clear articulation is honey for my ears!
@GSBarlev
@GSBarlev Жыл бұрын
Thanks for the tutorial! I'm embarrassed that I've been Team 🐧 for 17 years without learning this command. Aside: even with the obvious "I barely know 'er" bait, I'd argue that pronouncing it "fuse-er" is definitely preferable to the _extremely rude sounding_ "eff user."
@VeronicaExplains
@VeronicaExplains Жыл бұрын
I like to pretend the "f" in fuser stands for "friendly". :P
@kevinshumaker3753
@kevinshumaker3753 Жыл бұрын
Thank you ma'am. This goes into my 'share to others when needed' list as is succinctly explains the what command is available and how to use it.
@bfnut
@bfnut Жыл бұрын
As always an educational and entertaining video, but I LOL when you say (3:32) "Linux is not perfect no operating system is..." and you insert a clip from Amiga OS typing "Except for Amiga OS" 🤣🤣🤣... so true 😉, keep up the good work👍 and all the best🙂
@fernando-loula
@fernando-loula 11 ай бұрын
You are spot on, most take 10 years to learn how to close vim, 15 to be fairly sure you know. I am on my way to get there!
@boo_1096
@boo_1096 Жыл бұрын
Awesome! I've used Linux and other Unix systems for 6 years this fall and wonder how I could've missed such a useful command. Great video as always :D
@peterbrown6224
@peterbrown6224 Жыл бұрын
I'd forgotten about fuser in favour of lsof. Linux is awesome because there are so many ways to do things, but it's easy to fall into bad habits as well.
@atoomnet
@atoomnet Жыл бұрын
I never knew of fuser, always uses lsof.
@thewalabee1414
@thewalabee1414 Жыл бұрын
Loved the Amiga OS shoutout!
@davepubliday6410
@davepubliday6410 Жыл бұрын
You can exit vi with ‘:x’, it’s a shortcut for ‘:wq’. Just doubled your efficiency!
@ulfhedr
@ulfhedr 10 ай бұрын
Great video! I used to save data to an external HDD on Kubuntu, almost always, some running processes preventing the ejection. My solution was: lsof | grep /media and then manually kill based on pids.
@NOPerative
@NOPerative Жыл бұрын
Excellent tip. Funny, but I call it fuser (not f-user) - it's just easier that way. Awesome vid.
@mrr8702
@mrr8702 Жыл бұрын
ooh how cool! I'm a self taught linux user for a few years now, didn't know about fuser and I've had this exact problem more than once :) Thank you!
@noam65
@noam65 Жыл бұрын
Thanks for this. I've run into flash drive issue multiple times. Now I'm aware of a better solution.
@tolkienfan1972
@tolkienfan1972 Жыл бұрын
I started to learn Linux as a dev more years ago than I care to mention. But I've never been a sysadmin, and this kind of thing is invaluable. I didn't know fuser nor lsblk! I get by with lsof, but it's never ideal. Powerful but quirky. These tools will undoubtedly be very helpful. Thanks!
@davey820051
@davey820051 Жыл бұрын
Thanks for the pointer to Jay's vid. His channel (and this one, of course) has been super useful in my linux ed.
@ScottHorsley
@ScottHorsley Жыл бұрын
To think I've used lsof since forever.. 25 years of Nix system administration and this was a new one to me. Thanks so much for the tip!
@rijaja
@rijaja Жыл бұрын
That was really cool. I don't think I'll need it often but when it happens I'll be glad to know this exists
@nerdyoldgeek
@nerdyoldgeek Жыл бұрын
Lovely edutainment video! Thank you for creating content like this.
@tizilogic
@tizilogic Жыл бұрын
The AmigaOS argument made me instantly subscribe
@hermansims2296
@hermansims2296 Жыл бұрын
I've been a linux user since, well, since linux. I can't believe it took me this long to stumble accross your channel. Well guess whos added to the long list of channels I now watch? Thanks again.
@randykitchleburger2780
@randykitchleburger2780 Жыл бұрын
Thanks! I have used fuser but only to do lazy unmounts. Now I know how to avoid them in the future!
@cs233
@cs233 Жыл бұрын
I’ve been using Unix and Linux for many years, both embedded applications as well as for a development system and have to admit I never ran across this commend. I also have to admit that, with my sense of humor, if I wrote a command called “f user” it would undoubtedly do something VERY different! 😁
@amartini51
@amartini51 Жыл бұрын
Super useful! In the past I always ran lsof through grep to try to find what was holding a file open.
@error.418
@error.418 9 ай бұрын
I'm used to using lsof for some of the tasks you mention here, like looking for tcp on a port to kill a hung process. Neat to see alternatives and how they might have other benefits. Thanks! Edit: Lol, I posted this before finishing the video and like 5 seconds later you mention lsof, rip. Really appreciate you!
@KM-sv4dh
@KM-sv4dh Жыл бұрын
Thank you Veronika for the lil tutorial, it is very nice to enjoy a brief tutorial of hidden gems like these on break or breakfast while sipping a cup of coffee/tea. Please do more of these brief tutorials ❤
@TigCM
@TigCM Жыл бұрын
30 years of using unix and never knew I could use it on ports!
@nulbyte
@nulbyte Жыл бұрын
Woah. I am by no means a Linux newbie, and yet, I did not know much about fuser. Good tips!
@Kehvarl
@Kehvarl Жыл бұрын
Thanks for the video! I hadn't run across this command previously, and it looks a lot more friendly than mixing `ps` flags and grepping through the output.
@oglothenerd
@oglothenerd Жыл бұрын
When you said "f user", I thought it was a command that destroyed the user.
@jedahn
@jedahn 7 ай бұрын
It destroys their self confidence.
@jeremyleik3802
@jeremyleik3802 Жыл бұрын
Props for mentioning AmigaOS and the 1.2/1.3 screenshot!
@mcosta3810
@mcosta3810 Жыл бұрын
3:32 True! *Almost* no operating system is perfect, except for that one! Hah! Enjoyed the Amiga plug, once again
@mhult5873
@mhult5873 10 ай бұрын
YES! I agree! Amiga OS / Workbench is perfect! 🙂 Thanks Veronica, for another, as always, great video.
@paulthompson1988
@paulthompson1988 Жыл бұрын
Great little video. I'd forgotten about fuser. 👍
@morgengabe1
@morgengabe1 Жыл бұрын
Cheers! Brilliant tutorial! I feel like 90% of my computing experience (on all oses) would be better if I'd known about this tool. Imagine how many people have partial reimplementations of its functionality.
@TradieTrev
@TradieTrev Жыл бұрын
You're a great educator Veronica! I love your tone and purpose!
@SeanClarke
@SeanClarke Жыл бұрын
Thumbs up for the Amiga bit 😊
@zaugitude
@zaugitude Жыл бұрын
3:35 Yes, nothing since Amiga OS worked so smooth!❤
@declanmcardle
@declanmcardle Жыл бұрын
@3:33 there's a blast from the past.
@KristovMars
@KristovMars Жыл бұрын
Hi Veronica, great video! I subbed a while back, but this is the first time I've seen this series - and it prompted me to support your Patreon. I've been a Linux dabbler for a long time but without enough persistence to get deep into it, and this short-form dive is a good tool for me to gradually build my knowledge. Thanks again!
@VeronicaExplains
@VeronicaExplains Жыл бұрын
Thank you! I very much appreciate it. I'm planning a bunch more once this basement space is wrapped up!
@SahilP2648
@SahilP2648 Жыл бұрын
​@@VeronicaExplains but Linux or rather any OS should just give you an option to 'Show details' or 'Expand' on the UI to get more information about the processes or files open and maybe even an 'X' button to close them directly from that one pop-up. Someone should create a PR for it. I could have if I knew anything about it (I am an Android app developer).
@davidwilliss5555
@davidwilliss5555 Жыл бұрын
Good one! I've always used lsof. I didn't know about fuser. I like that it can tell you who has ports open too.
@robbybankston4238
@robbybankston4238 Жыл бұрын
Brought back memories from Amiga OS 1.3 from my A500 days
@devMashcom
@devMashcom Жыл бұрын
@3:34 You are absolutely correct.
@KeritechElectronics
@KeritechElectronics Жыл бұрын
Cool! I've never used fuser despite running into these "device or resource busy" messages from time to time, sometimes checked that with lsof. At least I've got one more way to figure out what's going on. Thanks!
@esra_erimez
@esra_erimez Жыл бұрын
It is about time you uploaded. 😇 Thank you!
@azvnrt
@azvnrt Жыл бұрын
Already leaving my like since Veronica always delivers Edit: The lore in my mind says that fuser means f*** user
@howardwhite9773
@howardwhite9773 Жыл бұрын
Ah the games we play with naming commands for "cute" pronunciations 😛
@tacticalassaultanteater9678
@tacticalassaultanteater9678 Жыл бұрын
Since the primary use case is to find and kill whatever uses the file, this is a pretty accurate name too.
@motozappa225
@motozappa225 Жыл бұрын
same, it will always be f the user from now on
@fabienmargerie6815
@fabienmargerie6815 Жыл бұрын
A big thanks Veronica. See you soon. 👍😎
@Hey-Yaz
@Hey-Yaz Жыл бұрын
I learned something new today... again. Thank you :)
@NathanielHarari
@NathanielHarari Жыл бұрын
This is so timely. I was just trying to reinstall something on my server and learned about the fuser command for the first time ever nary a few days ago. BTW, thank you for all your great vids, Veronica!
@tomreingold4024
@tomreingold4024 Жыл бұрын
Brava to you for using “verbosity” as the noun form of “verbose!”
@microcisco
@microcisco Жыл бұрын
So pleased you call sudo "suedough" and and "sue dooo" - Small things I know, but they make me happy :) Love your vids by the way !!
@JavierCorpusPrieto
@JavierCorpusPrieto Жыл бұрын
Loved the “Wow!” signal reference (I’m an astronomy aficionado). 🌌
@VeronicaExplains
@VeronicaExplains Жыл бұрын
I am SO GLAD that you got that. I was waiting for someone to recognize it.
@VastCNC
@VastCNC 11 ай бұрын
Just went through the little lessons. I think an awesome one would be on standard directories. I kept thinking people were talking about “Etsy” for no apparent reason before I realized it was /etc
@Dad-ij2qy
@Dad-ij2qy Жыл бұрын
Veronica, thank you for your lucid and meticulous explanation of fuser. You helped me imporove my command-line skills. Thank you. I have subscribed to your channel.
@wooviee
@wooviee Жыл бұрын
Found you randomly today in KZbin recommended. Great content, great editing!
@ShahinHemmati2020
@ShahinHemmati2020 Жыл бұрын
Even more videos with the same kind of content is very much appreciated 😊🙏🏻
@blevenzon
@blevenzon Жыл бұрын
You are the best Veronica, you should make a Udemy course or one of those platforms. Or make your own, I’ll gladly pay for it
@DrVektor
@DrVektor Жыл бұрын
i love teacher shares like this. Health to your hands and mouth.
@BAD_CONSUMER
@BAD_CONSUMER Жыл бұрын
this is so much better than reading man pages.. i dont know how people used to do it
@iQKyyR3K
@iQKyyR3K Жыл бұрын
Welp this is a gem of a channel...
@RandomKSandom
@RandomKSandom Жыл бұрын
Huh. Nice! I've been using and sysadmining linux full-time for about 19 years and didn't know this command. I've been using lsof for most of it all this time.
@timurtheterrible4062
@timurtheterrible4062 Жыл бұрын
Thank you! It often happens to me that I am backing up my files to another drive and the system still considers the drive busy even after the files have ostensibly finished copying. Now I can finally figure our what's up.
@slowvoltage
@slowvoltage Жыл бұрын
so much quality in this content. excited to explore the rest!
@cherrymountains72
@cherrymountains72 Жыл бұрын
I wasn’t sure whether to subscribe or not until I noticed the ‘Except for Amiga OS’ reference. Instant subscribe.
@VeronicaExplains
@VeronicaExplains Жыл бұрын
I appreciate it! Now I just need to learn enough 68k assembly to be able to write some sort of crummy KZbin client for Amiga. :)
@Doomguy1364
@Doomguy1364 Жыл бұрын
Wow great video, I just found your channel; I switched to Linux for all of my personal computers 2 years ago and had no idea about fuser, definitely a great explanation/demonstration, and will be adding this to my workflow when needed!
@Alex-sc2rc
@Alex-sc2rc Жыл бұрын
Thank you for showing a new way to log out of my system.
@billirwin3558
@billirwin3558 Жыл бұрын
Thanks for opening my eyes to fuser. Just subscribed. Veronica is my new hero.
@MiseryFarm
@MiseryFarm Жыл бұрын
Yes! Workbench *is* perfect :-)
@DaveHojo
@DaveHojo Жыл бұрын
Nice command tip. I use lsof a lot but never used fuser (in 25 years of linux use). I'll have to put it into the toolbox.
@retropipes8863
@retropipes8863 Жыл бұрын
That sounds super-useful! Thanks, Veronica!
@harleyspeedthrust4013
@harleyspeedthrust4013 Жыл бұрын
fuser is great. i used it to check if a socket was open because lsof was very slow
@MikeLevin
@MikeLevin Жыл бұрын
man fuser 😂 You make it all very clear and thanks for the video. The algo is getting better at making recommendations to me. Subscribed.
@imacmill
@imacmill Жыл бұрын
Loved the Wow! reference!
@Aura_Mancer
@Aura_Mancer 8 ай бұрын
As for the "many ways to complete a task" the KDE applet for mounted devices does tell you the command and PID of the process on the window when it can't unmount a drive! I think GNOME should do the same on their dialog. It would be quite useful for non-technical users, or users who didn't know fuser was a thing, like me! :)
@JosiahBradley
@JosiahBradley Жыл бұрын
I feel silly after all these years. I've been doing lsof for flash drives etc. This is going to be nice for an easier command that should always be available. Lsof I find can be missing on many bare installs. Thank you!
@LautaroQ2812
@LautaroQ2812 Жыл бұрын
If it isn't clear what's holding things up, it's probably fakeCOBOL's doings! That little rascal! As always, incredible video. Short, to the point, clear and fun.
@johnnykeener3727
@johnnykeener3727 Жыл бұрын
Except for Amiga OS, you know it!! :)
@send2gl
@send2gl Жыл бұрын
Jay's channel is great, been following him for some time.
There's more to learn about the "cd" command. Lil' Linux Lesson!
4:33
Veronica Explains
Рет қаралды 20 М.
an FTP server on a docker container
9:21
IT techni
Рет қаралды 116
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 8 МЛН
Каха и лужа  #непосредственнокаха
00:15
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,8 МЛН
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 43 МЛН
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,2 МЛН
Red Hat: why I'm going all in on community-driven Linux distros.
12:56
Veronica Explains
Рет қаралды 202 М.
Let's try the Arch Install script on a used ThinkPad!
15:57
Veronica Explains
Рет қаралды 101 М.
Windows & macOS can't do this, but Linux can!
15:55
The Linux Experiment
Рет қаралды 943 М.
how did I NOT know about this?
23:06
NetworkChuck
Рет қаралды 932 М.
First look at the Fedora 36 KDE Plasma Spin!
21:03
Veronica Explains
Рет қаралды 94 М.
Is the terminal still worth learning?
9:40
Veronica Explains
Рет қаралды 39 М.
We used to write good documentation...  (w/The Taylor and Amy Show)
22:08
Veronica Explains
Рет қаралды 27 М.
Linux on a Chromebook, my favorite way
19:59
Veronica Explains
Рет қаралды 253 М.
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 8 МЛН