Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Search found 520 matches

by eemaestro
Thu Jun 25, 2009 11:35 am
Forum: Tips&Tricks
Topic: ls w/ RE Regular Expression
Replies: 19
Views: 5232

raineater, that would be slick indeed....if it worked. But I tried many different versions of that command in my BASH shell, and they all failed. I can't get list to work with any reg. exp. more complicated than: $ls -Fd [Mm]* (this works fine). Then again, I am pretty much a novice when it comes to...
by eemaestro
Wed Jun 24, 2009 8:21 pm
Forum: Tips&Tricks
Topic: ls w/ RE Regular Expression
Replies: 19
Views: 5232

What that illustrates is that my grasp of regular expressions is at a very simple level. In other words, I am struggling. So I guess my reg.exp applied the wildcard to the preceding characters inside the brackets, huh? Anodyne, I really like your code. However, I had to modify ls to append the trail...
by eemaestro
Fri Jun 19, 2009 7:17 pm
Forum: Tips&Tricks
Topic: ls w/ RE Regular Expression
Replies: 19
Views: 5232

Yes, your expression also yields the same nine subdirectories. The only difference is my technique displays their names in five columns; yours, one. Thanks, raineater.
by eemaestro
Fri Jun 19, 2009 12:22 pm
Forum: Tips&Tricks
Topic: ls w/ RE Regular Expression
Replies: 19
Views: 5232

Found the RE that worked

Okay, I fooled around some more and discovered the working RE. $ ls -Fd [Mm]*// This returns all the M and m directories. I forgot the trailing slash was a "special" character. Or whatever it's called. Didn't mean to answer my own question, but I did. Guess that mean's I've outlived my newbie status...
by eemaestro
Fri Jun 19, 2009 12:03 pm
Forum: Tips&Tricks
Topic: ls w/ RE Regular Expression
Replies: 19
Views: 5232

ls w/ RE Regular Expression

I wanted to display subdirectories starting with m or with M. I tried an RE with ls twice in my home directory: $ls -Fd * | grep -E "^[Mm]*/$" and also $ls -Fd * | egrep "^[Mm]*/$" Both returned the same result: mm/ Omitting the trailing */ from these regular expressions results in display of all su...
by eemaestro
Thu Apr 09, 2009 11:14 am
Forum: Tips&Tricks
Topic: Convert .txt files to a nice printable format
Replies: 8
Views: 2407

I just tried Davo's technique. It worked fine in Mepis 8. You should note that his technique also prints values of the parameters

filename date time page number

in bold at the top of each page.

That can be helpful in some cases. Thank you for posting this tip.
by eemaestro
Thu Apr 09, 2009 11:11 am
Forum: Tips&Tricks
Topic: Convert .txt files to a nice printable format
Replies: 8
Views: 2407

delete me
by eemaestro
Tue Mar 03, 2009 1:31 pm
Forum: Tips&Tricks
Topic: Great tips for us.
Replies: 2
Views: 1554

#21 alone is a real time-saver.

#26 is really useful too. I haven't figured out how to get it to recurse into subdirectories.

#53 is good insurance

Thank you for posting this link!
by eemaestro
Thu Feb 19, 2009 9:01 pm
Forum: Tips&Tricks
Topic: Advanced command line tricks
Replies: 0
Views: 1343

Advanced command line tricks

Found a place to learn some neat BASH tricks:
http://www.commandlinefu.com/commands/b ... t-by-votes
by eemaestro
Fri Jan 09, 2009 1:07 pm
Forum: Tips&Tricks
Topic: 58 Cool Hacks
Replies: 5
Views: 2597

58 Cool Hacks

I've only tried a handful so far. Wanted to share them with you:

http://www.linuxformat.co.uk/wiki/index ... Cool_Hacks

Go to advanced search