{"id":104,"date":"2007-11-26T20:30:01","date_gmt":"2007-11-27T04:30:01","guid":{"rendered":"http:\/\/jaredrobinson.com\/blog\/?p=104"},"modified":"2009-07-11T04:21:03","modified_gmt":"2009-07-11T04:21:03","slug":"fuser-linux-command","status":"publish","type":"post","link":"https:\/\/jaredrobinson.com\/blog\/fuser-linux-command\/","title":{"rendered":"&#8216;fuser&#8217; linux command"},"content":{"rendered":"<p>I recently learned about the [`fuser`](http:\/\/www.google.com\/search?q=fuser+linux+man+page) command, which may be useful when I want to unmount a file system that is in use ([`lsof`](http:\/\/en.wikipedia.org\/wiki\/Lsof) is also handy):<\/p>\n<p>    fuser -mu \/media\/USBFLASH   # list pids and usernames with files open<br \/>\n    fuser -muki \/media\/USBFLASH # kill, with a prompt, pids with open files<\/p>\n<p>However, a lazy unmount is often sufficient:<\/p>\n<p>    umount -l \/media\/USBFLASH<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently learned about the [`fuser`](http:\/\/www.google.com\/search?q=fuser+linux+man+page) command, which may be useful when I want to unmount a file system that is in use ([`lsof`](http:\/\/en.wikipedia.org\/wiki\/Lsof) is also handy): fuser -mu \/media\/USBFLASH # list pids and usernames with files open fuser -muki \/media\/USBFLASH # kill, with a prompt, pids with open files However, a lazy unmount is &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/jaredrobinson.com\/blog\/fuser-linux-command\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;&#8216;fuser&#8217; linux command&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,9,17],"tags":[],"class_list":["post-104","post","type-post","status-publish","format-standard","hentry","category-fedora","category-linux","category-tech"],"_links":{"self":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts\/104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/comments?post=104"}],"version-history":[{"count":1,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts\/104\/revisions"}],"predecessor-version":[{"id":413,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts\/104\/revisions\/413"}],"wp:attachment":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/media?parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/categories?post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/tags?post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}