LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-25-2017, 07:30 AM   #46
Tux!
Member
 
Registered: May 2011
Location: Netherlands
Distribution: OpenSUSE
Posts: 46

Rep: Reputation: 20
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!)
https://gentoo.com/di/
 
Old 08-02-2017, 06: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, 05:55 AM   #48
josephj
Member
 
Registered: Nov 2007
Location: Northeastern USA
Distribution: kubuntu
Posts: 140

Rep: Reputation: 79
Useless cat

Quote:
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
Code:
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, 04:53 PM   #49
normanlinux
Member
 
Registered: Apr 2013
Distribution: Arch and SuSE
Posts: 151

Rep: Reputation: Disabled
Quote:
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, 11:46 AM   #50
Myk267
Member
 
Registered: Apr 2012
Location: California
Posts: 321
Blog Entries: 14

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.
 
  


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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - News

All times are GMT -5. The time now is 03:48 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