Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Uninstalling midnight commander

1,410 views
Skip to first unread message

Clark Smith

unread,
Oct 31, 2016, 4:00:48 PM10/31/16
to
I have yet to find a use for this, and it annoys me when I invoke
it by mistake, when I mean to invoked the mv command (I am not the best
typist this side of the ocean.) I guess I can safely uninstall it, but if
anybody can put forth reasons not to nuke it, I'd be interested to hear
them.

Doug713705

unread,
Oct 31, 2016, 4:34:04 PM10/31/16
to
Le 31-10-2016, Clark Smith nous expliquait dans
alt.os.linux.slackware
(<nv87te$mcc$1...@news.albasani.net>) :
There is no reason to not have it uninstalled if you don't need it.
No sysyem component rely on it.

--
Tu sais comment comment ça jouit, Les mecs complètements stress
Qui t'réclament aux toilettes une p'tite canette, une p'tite fumette,
Une reniflette, une seringuette, Une bonne branlette... Et puis : ciao... dodo.
-- H.F. Thiéfaine, Cabaret Sainte-Lilith

Doug713705

unread,
Oct 31, 2016, 4:34:34 PM10/31/16
to
Le 31-10-2016, Clark Smith nous expliquait dans
alt.os.linux.slackware
(<nv87te$mcc$1...@news.albasani.net>) :

There is no reason to not have it uninstalled if you don't need it.
No system component rely on it.

notbob

unread,
Oct 31, 2016, 4:36:28 PM10/31/16
to
On 2016-10-31, Clark Smith <noad...@nowhere.net> wrote:

> I guess I can safely uninstall it, but if anybody can put forth
> reasons not to nuke it, I'd be interested to hear them.

If you are not using it, why clog up yer 'puter?

# removepkg mc-x.x.x-foo

I use dired on emacs, but still keep mc cuz it might come in handy if
I have some sorta glitch. As always, you have a choice! ;)

nb

Nomen Nescio

unread,
Oct 31, 2016, 10:39:21 PM10/31/16
to

I use it all the time in a console.
Fast, light on resources.

I have GUI file managers installed which I rarely use.

mc is a classic dual pane file manager just like the original
norton file manager.

I recommend you try using it for a while before you delete
it. Otherwise delete it. Nothing depends on it.

JohnF

unread,
Nov 1, 2016, 12:06:50 AM11/1/16
to
Yeah, ditto sometimes typing mc, and then wasting time trying to
figure out how to exit the stupid program. I just aliased mc to mv,
rather than wasting more time figuring out how to uninstall it.
--
John Forkosh ( mailto: j...@f.com where j=john and f=forkosh )

Doug713705

unread,
Nov 1, 2016, 12:41:19 AM11/1/16
to
Le 01-11-2016, JohnF nous expliquait dans
alt.os.linux.slackware
(<nv94co$m7d$1...@reader2.panix.com>) :

>> I have yet to find a use for this, and it annoys me when I invoke
>> it by mistake, when I mean to invoked the mv command (I am not the best
>> typist this side of the ocean.) I guess I can safely uninstall it, but if
>> anybody can put forth reasons not to nuke it, I'd be interested to hear
>> them.
>
> Yeah, ditto sometimes typing mc, and then wasting time trying to
> figure out how to exit the stupid program. I just aliased mc to mv,
> rather than wasting more time figuring out how to uninstall it.

When you learn something, that time is *never* wasted.
# removepkg mc

--
Car moi je n'irai pas plus loin.
Je tiens ma tête entre mes mains.
Guignol connaît pas de sots métiers.
Je ris à m'en faire crever !
H.F. Thiéfaine- 113ème Cigarette Sans Dormir

jrg

unread,
Nov 1, 2016, 1:27:40 AM11/1/16
to
On 10/31/2016 09:06 PM, JohnF wrote:

> I just aliased mc to mv,
> rather than wasting more time figuring out how to uninstall it.

brilliant, absolutely brilliant.
a friggin simple file manager f*cks up your thumbs on a 2 character
command and you alias it.

who said slackware users eat their dead?




Rich

unread,
Nov 1, 2016, 6:09:14 AM11/1/16
to
JohnF <jo...@please.see.sig.for.email.com> wrote:
> Clark Smith <noad...@nowhere.net> wrote:
> Yeah, ditto sometimes typing mc, and then wasting time trying to
> figure out how to exit the stupid program. I just aliased mc to mv,
> rather than wasting more time figuring out how to uninstall it.

Assuming a 14.1 system:

removepkg mc-4.8.10-x86_64-2

For any other slack version:

1) look in /var/log/packages/
2) find the item you want to remove
3) type "removepkg name_from_#2_above" (without the quotes) into a
root shell

Eef Hartman

unread,
Nov 1, 2016, 6:33:48 AM11/1/16
to
Rich <ri...@example.invalid> wrote:
> 3) type "removepkg name_from_#2_above" (without the quotes) into a
> root shell

Just plain "removepkg mc" will already do it.

Askfor

unread,
Nov 1, 2016, 9:30:03 AM11/1/16
to
Actually, if you have to do something with selected set of files in a
directory, mc can help. There is no other 'file manager' provided by
Slackware DVD. So, it is better than nothing, I guess. Especially if you
find yourself in the place without Internet access, so you can't install
anything else.

Program is awkward, no doubt about it. It might be improved if you have
gpm running, because mc would respond to mouse clicks then.

Personally, I am using spacefm at the moment.

Ned Latham

unread,
Nov 1, 2016, 12:57:34 PM11/1/16
to
Askfor wrote:
> Clark Smith wrote:
> >
> > I have yet to find a use for this, and it annoys me when I invoke
> > it by mistake, when I mean to invoked the mv command (I am not the
> > best typist this side of the ocean.) I guess I can safely uninstall
> > it, but if anybody can put forth reasons not to nuke it, I'd be
> > interested to hear them.
>
> Actually, if you have to do something with selected set of files in a
> directory, mc can help.

So can the shell. Just use its wildcard capability.

> There is no other 'file manager' provided by
> Slackware DVD. So, it is better than nothing,

Nah, It's a waste of space.

> I guess. Especially if
> you find yourself in the place without Internet access, so you can't
> install anything else.
>
> Program is awkward, no doubt about it. It might be improved if you have
> gpm running, because mc would respond to mouse clicks then.
>
> Personally, I am using spacefm at the moment.

I just don't get it. Why use a file manager at all?

jrg

unread,
Nov 1, 2016, 1:11:04 PM11/1/16
to
On 11/01/2016 09:57 AM, Ned Latham wrote:

> I just don't get it. Why use a file manager at all?

We all don't have horses so we drive cars. If we all had horses, we
could save all that money on gas and repairs, etc. - I just don't get it
- why do we drive at all? :)

Michael Black

unread,
Nov 1, 2016, 2:07:03 PM11/1/16
to
On Tue, 1 Nov 2016, Askfor wrote:

> Clark Smith wrote:
>> I have yet to find a use for this, and it annoys me when I invoke
>> it by mistake, when I mean to invoked the mv command (I am not the best
>> typist this side of the ocean.) I guess I can safely uninstall it, but if
>> anybody can put forth reasons not to nuke it, I'd be interested to hear
>> them.
>>
>
> Actually, if you have to do something with selected set of files in a
> directory, mc can help. There is no other 'file manager' provided by
> Slackware DVD. So, it is better than nothing, I guess. Especially if you find
> yourself in the place without Internet access, so you can't install anything
> else.
>
Actually, lynx works fairly well in the way of a file manager. So much
that I've never used MC other than to try it out.

When lynx was created at the University of whatever (I forget where), it
was intended as a "shell", you'd land in it when you logged on and get
access through it. When Montreal had a freenet, for 4 months in 1996,
we'd dial in and land in lynx, for the browser, for the file manager
ability, and from there invoke an editor or Pine for newsgroups and email.

20 years later, I wouldn't run Linux without having lynx. Every so often
I've sampled some different distributions, and I really miss when lynx is
missing

Michael

Ned Latham

unread,
Nov 1, 2016, 5:14:13 PM11/1/16
to
Very poor analogy. Can't carry a bunch of rug rats on a horse.
What can you do with a file manager that you can *not* do wuth
the shell?

Ned

Askfor

unread,
Nov 1, 2016, 6:30:03 PM11/1/16
to
You can't select everything with shell wildcards. In fact

ls -1 | egrep <REGEXP>

often does much better job, but you can't select everything with it either.

Askfor

unread,
Nov 1, 2016, 7:01:02 PM11/1/16
to
Thank you. I am going to try that. Those old UNIX tricks and wisdom are
most appreciated

Askfor

unread,
Nov 1, 2016, 7:01:03 PM11/1/16
to
I see what you mean. lynx file:/// opens current directory. Is there any
way to move or copy files ? Is it done by 'upload' ?


Clark Smith

unread,
Nov 1, 2016, 7:44:54 PM11/1/16
to
Thanks to everybody that replied. I did not mean to start a war;
it is just that I have been using Slackware for years, and I have never
come across a situation in which mc would have been of use to me. To each
his or her own. Which implies that, as per my explanation, mc is nothing
but a nuisance to me. I will get rid of it then.

new...@moo.uklinux.net

unread,
Nov 1, 2016, 9:24:03 PM11/1/16
to
I recall the traditional use for mc is for deleting files
whose names contain exotic characters (i.e. where a
straightforward rm $FILENAME is problematic)

#Paul

Askfor

unread,
Nov 1, 2016, 10:30:03 PM11/1/16
to
It is not a war. It would have been very much boring here if we all
thought the same.

Rich

unread,
Nov 1, 2016, 10:36:32 PM11/1/16
to
Only if one's command line skills are weak. If one has strong CLI
skills, one has no need for mc, even for getting rid of filenames with
exotic characters.

Ned Latham

unread,
Nov 2, 2016, 10:10:40 AM11/2/16
to
Askfor wrote:
> Ned Latham wrote:

----snip----

> > I just don't get it. Why use a file manager at all?
>
> You can't select everything with shell wildcards. In fact
>
> ls -1 | egrep <REGEXP>
>
> often does much better job, but you can't select everything with it either.

What am I missing?

ls -1

selects everything in the current directory. So does

<any command> *

Ned

Sylvain Robitaille

unread,
Nov 2, 2016, 11:07:12 AM11/2/16
to
On 2016-11-02, Ned Latham wrote:

> What am I missing?
>
> ls -1
>
> selects everything in the current directory. So does
>
><any command> *

You're missing that these examples *don't* select everything,
by design.

Go to a directory of your choice (preferably one with files whose
names begin with a '.'), and type:

echo *

next, type:

echo .*

Try also:

ls -1
ls -1A

With all of that said, I'm quite certain that what was meant by "can't
select everything" was more along the lines of "some things aren't well
represented using only wildcard characters" rather than "there isn't
a wildcard expression meaning 'match all'". We already know that
'match all' is indeed possible, though '*' won't do it by itself.
I can't think of any realistic examples of matches that wouldn't be
possible with wildcards, but that doesn't mean they don't exist.

--
----------------------------------------------------------------------
Sylvain Robitaille s...@encs.concordia.ca

Systems analyst / AITS Concordia University
Faculty of Engineering and Computer Science Montreal, Quebec, Canada
----------------------------------------------------------------------

Michael Black

unread,
Nov 2, 2016, 12:32:56 PM11/2/16
to
lynx . will invoke the current directory. You can even configure lynx to
show the files that start with .

If you press "f", you get a menu for file managing:
Change directory
New File (in current directory)
New Directory (in current directory)
Modify Directory Name (of current selection)
Modify Directory Permissions (of current selection)
Change Location (of selected directory)
Remove Directory (current selection)
Tar (current selection)
Tar and compress (using GNU gzip)
Package and compress (using zip)

But sadly no "copy" command.

You can tag files and move them together, useful for cleaning up a
directory.

It's incredibly versatile. Some things may have to be configured system
wide, I forget the name of the configuration file, and others can be set
in a file in the user's directory (and in some cases, you need both, so
the system administrator can decide whether you can run files from lynx,
and you can then decide whether you want the capability too.

It goes on.

You can configure it to invoke a graphic viewer like zgv or seejpg, so you
can view graphics locally or on a website.

I've used lynx for twenty years, and I'm sure there's still lots I don't
know about it.

Michael

jrg

unread,
Nov 2, 2016, 1:00:28 PM11/2/16
to
On 11/02/2016 09:37 AM, Michael Black wrote:

> I forget the name of the configuration file

here its
/etc/lynx-cur/lynx.cfg


Michael Black

unread,
Nov 2, 2016, 1:36:52 PM11/2/16
to
In Slackware, it's /etc/lynx.cfg Wait, I guess it's just moved, I'm not
yet using the latest Slackware. I do know at one point the configuration
file would be in different places, so one book would have it somewhere and
slackware would have it somewhere else.

And I think I forgot to mention that in the home directory, the personal
configuration file is .lynxrc

Michael

Chick Tower

unread,
Nov 2, 2016, 3:49:36 PM11/2/16
to
On 2016-11-02, Askfor <ask...@nowhere.net> wrote:
> It is not a war. It would have been very much boring here if we all
> thought the same.

Are you implying +1's are boring? Heresy!
--
Chick Tower

For e-mail: aols2 DOT sent DOT towerboy AT xoxy DOT net

Chick Tower

unread,
Nov 2, 2016, 3:49:36 PM11/2/16
to
On 2016-11-01, Ned Latham wrote:
> What can you do with a file manager that you can *not* do wuth
> the shell?

Save time and keystrokes. Not always, but usually.

For the record, I love Midnight Commander, and I rarely use X file
managers.

Chick Tower

unread,
Nov 2, 2016, 3:49:37 PM11/2/16
to
On 2016-11-02, Rich <ri...@example.invalid> wrote:
> Only if one's command line skills are weak. If one has strong CLI
> skills, one has no need for mc, even for getting rid of filenames with
> exotic characters.

You guys just don't get it. We don't NEED mc, but it's handy. We don't
NEED LCD monitors, but I'll bet that's what most of us use rather than
CRT monitors. We don't NEED vim or emacs, but who want's to use ed,
other than in scripts? We don't NEED Slackware, but it's what most of us
prefer.

Besides, if you start mc accidentally because you mistyped mv, how much
fun is the command-line for you, anyway, with all those other mistakes
you must be making? :)

Michael Black

unread,
Nov 2, 2016, 3:59:44 PM11/2/16
to
On Wed, 2 Nov 2016, Chick Tower wrote:

> On 2016-11-02, Rich <ri...@example.invalid> wrote:
>> Only if one's command line skills are weak. If one has strong CLI
>> skills, one has no need for mc, even for getting rid of filenames with
>> exotic characters.
>
> You guys just don't get it. We don't NEED mc, but it's handy. We don't
> NEED LCD monitors, but I'll bet that's what most of us use rather than
> CRT monitors. We don't NEED vim or emacs, but who want's to use ed,
> other than in scripts? We don't NEED Slackware, but it's what most of us
> prefer.
>
That's funny. I had a perfectly fine 19" CRT monitor, and I did think
about replacing it, but I couldn't justify the money. Then I found an LCD
monitor on the sidewalk when the students moved out, and I switched to it,
even though it's somewhat smaller in screen size. I'd never go back, I was
glad to send the CRT monitor to recycling. I didn't buy an LCD monitor
because I didn't need it, but finding one free did fix that.


> Besides, if you start mc accidentally because you mistyped mv, how much
> fun is the command-line for you, anyway, with all those other mistakes
> you must be making? :)

In fifteen years, I've never invoked MC by accident.

I suppose one could alias it to something longer, say midnight_commander
and then it would never be accidentally started. But who wants long
filenames?

Michael

notbob

unread,
Nov 2, 2016, 4:34:29 PM11/2/16
to
On 2016-11-02, Michael Black <et...@ncf.ca> wrote:

> I suppose one could alias it to something longer, say midnight_commander
> and then it would never be accidentally started. But who wants long
> filenames?

This is an issue!?

Holy crap ....kids --today-- can type out cell phone text with two
thumbs faster than I can touch type, yet they gotta have gui's to do
Linux?

Sorry. Does not compute. ;)

nb

jrg

unread,
Nov 2, 2016, 6:55:11 PM11/2/16
to
+1 really

Dan C

unread,
Nov 2, 2016, 9:49:30 PM11/2/16
to
Holy crap, never knew any of this stuff about lynx. Very cool.



--
"Ubuntu" -- an African word, meaning "Slackware is too hard for me".
"Bother!" said Pooh, as he harpooned Flipper.
Usenet Improvement Project: http://twovoyagers.com/improve-usenet.org/
Thanks, Obama: http://brandybuck.site40.net/pics/politica/thanks.jpg

Askfor

unread,
Nov 3, 2016, 8:01:03 AM11/3/16
to
It is ls -<digit one> not lowercase 'L'

It lists all entries, but prints line feed after each one.

Ned Latham

unread,
Nov 3, 2016, 11:12:31 AM11/3/16
to
Sylvain Robitaille wrote:
> Ned Latham wrote:
> >
> > What am I missing?
> >
> > ls -1
> >
> > selects everything in the current directory. So does
> >
> > <any command> *
>
> You're missing that these examples *don't* select everything,
> by design.

Ah. Hidden files. Of course. How could I forget?

I got impatient with renaming files one by one some years
ago, and wrote a rename utility (much more powerful and
flexible than the util-linux rename utility). As a side
benefit, it has removed all hidden-file problems.

----snip----

Ned

Rich

unread,
Nov 3, 2016, 12:44:53 PM11/3/16
to
What's wrong with line feeds after each one (unless you've got actual
line feeds in the names themselves, in which case you'll want find and
its -print0 operator).

Sylvain Robitaille

unread,
Nov 3, 2016, 12:52:21 PM11/3/16
to
On 2016-11-02, Michael Black wrote:

> In Slackware, it's /etc/lynx.cfg Wait, I guess it's just moved, I'm
> not yet using the latest Slackware. ...

Same place:

: charlotte[syl] ~; cat /etc/slackware-version
Slackware 14.2
: charlotte[syl] ~; locate lynx.cfg
/etc/lynx.cfg

Askfor

unread,
Nov 3, 2016, 8:30:03 PM11/3/16
to
There is nothing wrong with them. In fact you need them if you want to
filter with egrep. Trye ls -1 (like minus one) and you will see what I mean.

Rich

unread,
Nov 3, 2016, 10:39:51 PM11/3/16
to
I know what ls -1 does. However normally in English, when one says
"<something does> comma *but* <another statement>"

The part after the "but" is an unwanted aspect.

I.e.: "It is a wonderful car, but it is red" (meaning: I don't like
that it is red).

Therefore my question. Your sentence structure indicated you disliked
the line-feeds after each one for some reason. I was asking why you
disliked having the line-feeds after each one.



Askfor

unread,
Nov 4, 2016, 10:30:03 AM11/4/16
to
English is a foreign language to me. I am sorry if I sometimes post
something which is not correct lexical or grammatical sense.

Rich

unread,
Nov 4, 2016, 10:48:52 AM11/4/16
to
Understood, no need to apologize - and I learned a fact I was unaware
of prior to this time.

Sylvain Robitaille

unread,
Nov 4, 2016, 6:34:48 PM11/4/16
to
On 2016-11-04, Rich wrote:

> I know what ls -1 does. However normally in English, when one says
> "<something does> comma *but* <another statement>"
>
> The part after the "but" is an unwanted aspect.

Not necessarily. The part after "but" simply is implied to not fit with
the part before ...

> I.e.: "It is a wonderful car, but it is red" (meaning: I don't like
> that it is red).

"It is a wonderful car, but I also like the one I saw yesterday."

Both positive statements, neither "unwanted", "but I can afford only
one car" ... (the unwanted, perhaps implied elaboration of my example!)

Askfor

unread,
Nov 4, 2016, 10:01:03 PM11/4/16
to
Chick Tower wrote:
> On 2016-11-01, Ned Latham wrote:
>> What can you do with a file manager that you can *not* do wuth
>> the shell?
>
> Save time and keystrokes. Not always, but usually.
>
> For the record, I love Midnight Commander, and I rarely use X file
> managers.
>

Actually I might even be willing to use if the choice of keys was not so
horrible. Some you might be changed, but not all. For example, selecting
file with <space> seems natural to me, but no, there is some sort of
terminal active, and <space> gets typed down to it.

Chick Tower

unread,
Nov 5, 2016, 2:31:12 PM11/5/16
to
On 2016-11-05, Askfor <ask...@nowhere.net> wrote:
> Actually I might even be willing to use if the choice of keys was not so
> horrible. Some you might be changed, but not all. For example, selecting
> file with <space> seems natural to me, but no, there is some sort of
> terminal active, and <space> gets typed down to it.

Yeah, that can be annoying, but it can come in handy to issue commands
that run outside of Midnight Commander. Feel free to manage files
however you like. I just didn't like seeing Midnight Commander being
bashed.

Theodore Heise

unread,
Dec 12, 2016, 8:20:31 AM12/12/16
to
On Wed, 2 Nov 2016 12:37:45 -0400,
Michael Black <et...@ncf.ca> wrote:
> On Tue, 1 Nov 2016, Askfor wrote:
> > Askfor wrote:
> >> Michael Black wrote:
> >>> On Tue, 1 Nov 2016, Askfor wrote:
> >>>
> >>>> Clark Smith wrote:
> >>>>> I have yet to find a use for this, and it annoys me
> >>>>> when I invoke it by mistake, when I mean to invoked the mv
> >>>>> command (I am not the best typist this side of the ocean.)
> >>>>> I guess I can safely uninstall it, but if anybody can put
> >>>>> forth reasons not to nuke it, I'd be interested to hear
> >>>>> them.
> >>>>
> >>>> Actually, if you have to do something with selected set of
> >>>> files in a directory, mc can help. There is no other 'file
> >>>> manager' provided by Slackware DVD.

> >>> Actually, lynx works fairly well in the way of a file
> >>> manager. So much that I've never used MC other than to try
> >>> it out.

> >> Thank you. I am going to try that. Those old UNIX tricks and
> >> wisdom are most appreciated
> >
> > I see what you mean. lynx file:/// opens current directory. Is
> > there any way to move or copy files ? Is it done by 'upload' ?
>
> lynx . will invoke the current directory. You can even
> configure lynx to show the files that start with .
>
> If you press "f", you get a menu for file managing:
> Change directory
> New File (in current directory)
> New Directory (in current directory)
> Modify Directory Name (of current selection)
> Modify Directory Permissions (of current selection)
> Change Location (of selected directory)
> Remove Directory (current selection)
> Tar (current selection)
> Tar and compress (using GNU gzip)
> Package and compress (using zip)
>
> But sadly no "copy" command.
>
> You can tag files and move them together, useful for cleaning
> up a directory.
>
> It's incredibly versatile.

> I've used lynx for twenty years, and I'm sure there's still
> lots I don't know about it.

Another frequent lynx user here. Though I try to use command line
as much as possible (and don't have a GUI installed), I find it
handy to be able to visually browse and navigate the file system.

I do use mc to delete very large files, because lynx fails at
this.

--
Ted Heise <the...@panix.com> Bloomington, IN, USA

Ned Latham

unread,
Dec 12, 2016, 1:35:20 PM12/12/16
to
Theodore Heise wrote:

----snip----

> Another frequent lynx user here. Though I try to use command line
> as much as possible (and don't have a GUI installed), I find it
> handy to be able to visually browse and navigate the file system.

S'funny. I do have a GUI installed (blackbox) but I "browse" in
xterms.

> I do use mc to delete very large files, because lynx fails at
> this.

"rm" works fine.

Ned

notbob

unread,
Dec 12, 2016, 2:00:21 PM12/12/16
to
On 2016-12-12, Ned Latham <nedl...@woden.valhalla.oz> wrote:

> "rm" works fine.

Got any tips fer emacs? I use dired fer my file manager, but emacs
will NOT choose "all" files based on a user's name.

I wanna go into the /tmp dir and delete all files assigned to a
specific user. I can do it by picking individual files, manually,
one-at-a-time, but there seems to be no method of picking all files
based on a person's name (or even user id no).

Even emacs newsgroups seem unable to answer this one. 8|

nb

Ned Latham

unread,
Dec 12, 2016, 3:19:34 PM12/12/16
to
notbob wrote:
> Ned Latham wrote:
> >
> > "rm" works fine.
>
> Got any tips fer emacs?

Nah. I cut my teeth on teco, then VNS's Edit, then vi. I use
vim these days. One of the first things I do after installing
slackware is go into /usr/bin and change the vi link from
elvis to vim.

> I use dired fer my file manager, but emacs
> will NOT choose "all" files based on a user's name.
>
> I wanna go into the /tmp dir and delete all files assigned to a
> specific user. I can do it by picking individual files, manually,
> one-at-a-time, but there seems to be no method of picking all files
> based on a person's name (or even user id no).
>
> Even emacs newsgroups seem unable to answer this one. 8|

Have a look at find (man find). The learning curve isn't trivial,
but it's a very powerful tool.

Among the tests you can apply are username and userid.
Among the actions you can apply are delete and exec.

E-NOR-mously useful.

Ned

Chick Tower

unread,
Dec 13, 2016, 3:50:23 PM12/13/16
to
On 2016-12-12, notbob <not...@nothome.com> wrote:
> On 2016-12-12, Ned Latham wrote:
>
>> "rm" works fine.
>
> Got any tips fer emacs? I use dired fer my file manager, but emacs
> will NOT choose "all" files based on a user's name.

Oh, I thought you meant tips on how to remove emacs. :)

Zak B. Elep

unread,
May 29, 2017, 2:04:07 PM5/29/17
to
Pretty sure you can open a dired on /tmp, then use '% m' or '* %' (both
shortcuts to dired-mark-files-regexp,) specify your criteria to mark all
files matching it, then hit 'D'.


Cheers,

Zakame

--
I like the idea of 256 bits, though: 32 for the (Unicode) character leaves
room for 224 Bucky bits, which ought to be enough for anyone.
-- Roland Hutchinson, in
alt.folklore.computers
signature.asc
0 new messages