LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-22-2010, 05:55 AM   #1
xeon123
Member
 
Registered: Sep 2006
Posts: 374

Rep: Reputation: 16
Shortcut keys in Midnight Commander


Hi,

The visual file manager Midnight Commander has the menus Left, File, Command, Options and Right.

Is there any shortcut key to open these menus?
 
Old 12-22-2010, 05:56 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,252

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
F9 as I remember.
 
Old 12-22-2010, 06:16 AM   #3
xeon123
Member
 
Registered: Sep 2006
Posts: 374

Original Poster
Rep: Reputation: 16
that's right.

Just one more question, I want to select a group of files in the midnight commander to delete later.

I do '+' to appear the select menu, then I want to select to 2 kind of files (*.log and *.out).

What I currently do is press '+' and write *.log and press Enter, then I press again '+' and write *.out and press Enter.
Now I've selected these 2 types of files in a directory.

What I want to know is if there's a Regular expression that allows to select these 2 type of files at once.
For example, I do '+', then I write *.[log|out], and press Enter. (These example don't work, it's just to explain myself).

The name of the files that I want to select at once are:
1.out
3.out
5.out
2.log
4.log
6.log

Last edited by xeon123; 12-22-2010 at 06:19 AM.
 
Old 12-22-2010, 02:58 PM   #4
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,252

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
I don't known how to use regular expressions, maybe it is not supported by mc, but you can separate multiple patterns by coma:
Quote:
*.ini,*.log
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Midnight Commander F-keys problem. c4c711 Linux - Software 3 05-21-2012 12:56 PM
midnight commander peterb Ubuntu 1 10-14-2010 10:22 AM
[SOLVED] Midnight-commander new2nagios Linux - Software 4 08-05-2009 11:55 AM
Midnight Commander 4.6.2 (also 4.6.1) - F1 to F12 keys doesnt work dlugasx Solaris / OpenSolaris 1 06-25-2009 10:06 AM
midnight commander archlyric Linux - Software 2 02-28-2004 03:04 AM


All times are GMT -5. The time now is 04:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration