Path: csiph.com!news.redatomik.org!weretis.net!feeder7.news.weretis.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod From: Jude DaShiell Newsgroups: linux.debian.user Subject: Re: taming lsblk command Date: Wed, 09 Jan 2019 16:40:02 +0100 Message-ID: References: X-Original-To: Jochen Spieker , debian-user@lists.debian.org X-Mailbox-Line: From debian-user-request@lists.debian.org Wed Jan 9 15:31:59 2019 Old-Return-Path: X-Amavis-Spam-Status: No, score=-9.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -5.5 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Mailing-List: archive/latest/744219 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/alpine.NEB.2.21.1901091031290.22181@panix1.panix.com Approved: robomod@news.nic.it Lines: 30 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 9 Jan 2019 10:31:46 -0500 X-Original-Message-ID: X-Original-References: <20190109151750.ob4qqwhwi6fcsj64@well-adjusted.de> Xref: csiph.com linux.debian.user:204248 On Wed, 9 Jan 2019, Jochen Spieker wrote: > Date: Wed, 9 Jan 2019 10:17:50 > From: Jochen Spieker > To: debian-user@lists.debian.org > Subject: Re: taming lsblk command > > Jude DaShiell: > > what works over here: > > lsblk -n < /usr/bin/sort > > This command feeds the content of the file /usr/bin/sort into stdin of > lsblk. That does not make sense and I guess lsblk is just ignoring this > input. > > J. > Script started on Wed 09 Jan 2019 10:30:00 AM EST jude[~]$ lsblk -n < /usr/bin/sort sda 8:0 0 111.8G 0 disk ??????sda1 8:1 0 111.8G 0 part / ??????sda2 8:2 0 32.5M 0 part [SWAP] sdb 8:16 0 55.9G 0 disk ??????sdb1 8:17 0 55G 0 part sr0 11:0 1 1024M 0 rom jude[~]$ exit exit Script done on Wed 09 Jan 2019 10:30:50 AM EST --