Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - News
User Name
Linux - News This forum is for original Linux News. If you'd like to write content for LQ, feel free to contact us.
All threads in the forum need to be approved before they will appear.


  Search this Thread
Old 07-25-2017, 06:30 AM   #46
Registered: May 2011
Location: Netherlands
Distribution: OpenSUSE
Posts: 82

Rep: Reputation: 30
xargs, di

Next to my chainsaw "perl", which solves most of the problems described in the suggested little programs (and who needs anything but a hammer when all problems look like a nail), I think that the "xargs" program is underused

Not only does it work the same in all shells (sh, bash, ksh, csh, tcsh, zsh, whateversh), it makes the command lines much more readable

Who did not wonder at least once what the scope of $(......a long command......) in bash was?

The only drawback of using xargs is the inconsistent naming of the options on all the other programs it needs to interact with using -0. find has -print0, grep has -lZ, etc etc

And di for disk usage (and I agree with the post on lsblk!)
Old 08-02-2017, 05:50 PM   #47
Dun El
LQ Newbie
Registered: Sep 2016
Posts: 16

Rep: Reputation: Disabled
Thumbs up Most usefull Utilities for me . . .

"cat ... | less" is the combined most useful utility for me. Based on the initial most wise advice I received when I first came to questions for newbies was READ READ READ everything. Don't worry that you do not get it all. It will add up later. This utility combined with copy paste has been most beneficial for this pursuit; and, this pursuit is beginning to pay-off well.
Old 08-03-2017, 04:55 AM   #48
Registered: Nov 2007
Location: Northeastern USA
Distribution: kubuntu
Posts: 195

Rep: Reputation: 102Reputation: 102
Useless cat

Originally Posted by Dun El View Post
"cat ... | less" is the combined most useful utility for me.
Hate to rain on your parade (and I totally agree with READ READ READ - especially books), but the above is a classic example of a useless cat. less takes a file name as an argument or even something like
less < <(...)
- at least in bash - if the source isn't a file or stream to start with.

cat is really useful for what it was designed for - to concatenate multiple files into one stream.

Also, when desperate, hexedit and strings come in handy when you have no idea what you're looking at and it's not line-oriented text.

Which reminded me of strings which is really a little gem.

Most binary programs have their user messages stored as plain text somewhere in them, so you can run them through strings and get some idea of what they are and do. You can tell it that a string has to be a certain minimum length before it gets printed to eliminate lots of strings too short to be useful.
Old 08-03-2017, 03:53 PM   #49
Registered: Apr 2013
Location: S.E. England
Distribution: Arch
Posts: 161

Rep: Reputation: Disabled
Originally Posted by Alok Rai View Post
@normanlinux - sed sounds fascinating, particularly since I spend so much of my time trying to organize snippets of this and that - but what on earth is it? An abbreviation?
Sorry for delay, been busy elsewhere. sed is the stream editor. It is a very fast, very powerful, reguar expression based editor that runs from a script (or scripts) no need to edit manually.

You can edit writing to a separate output file (so it can be used in a pipe stream) or you can edit in place (and optionally create a backup of the original).
Old 08-14-2017, 10:46 AM   #50
Registered: Apr 2012
Location: California
Posts: 422
Blog Entries: 16

Rep: Reputation: Disabled
atool is one of my favorites. Never get tar-bombed again. Never sweat which flag to give to tar to unpack your files, just aunpack the thing already!

I also never pass up an opportunity to use kmag. The KDE magnification tool, not the weird dietary supplement. There's similar programs named xmag and gmag, if you like a more vanilla X11 or Gnome program, respectively.
Old 02-18-2020, 09:12 AM   #51
Registered: May 2017
Posts: 35

Rep: Reputation: Disabled
I would say Gnuplot.
Old 02-19-2020, 08:02 AM   #52
Registered: Nov 2007
Location: Northeastern USA
Distribution: kubuntu
Posts: 195

Rep: Reputation: 102Reputation: 102
Yet another little gem: meld

It shows a graphical representation of two files side by side highlighting the differences and allows you to copy them in either direction to the other file.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Feedback on New Q&A column on jeremy Linux - News 82 04-07-2020 05:44 AM
How to pick up a file that has been created latest ? Sudharshana Linux - Newbie 3 02-20-2013 03:51 AM
LXer: Peazip- A powerful opensource file and archive manager for linux LXer Syndicated Linux News 0 09-18-2010 02:30 AM
Clipboard manager Berticus Linux - Software 1 11-29-2006 12:34 AM > Forums > Linux Forums > Linux - News

All times are GMT -5. The time now is 06:02 PM.

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