You are not logged in.

#21 2018-04-23 15:05:57

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

ohnonot wrote:

does not do what either?

I was referring to this command:

hgrep () { 
    history | egrep --color=auto --recursive "$@" | egrep --color=auto --recursive -v "hgrep $@"
}

It does not work either way.

ctrl+r is a good feature, use it sometimes. +enter starts the command, +esc shows it on the command line.

Edit: And speaking of "learning new every day" I just came across articles regarding a terminal, which is - hold on - a GUI terminal  8)  called Hotwire. Did not try it yet.

And speaking of the Korn Shell, it's interesting to notice that one of the main reasons why the android folks switched to mksh instead of ash was the "command/tab completion" feature. I wonder how many of the users use it e.g. on #BĹ.

Last edited by martix (2018-04-23 16:05:53)

Offline

#22 2018-04-23 17:17:03

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,068
Website

Re: Just short linux/distro-related questions not worth a whole thread

martix wrote:

one of the main reasons why the android folks switched to mksh instead of ash was the "command/tab completion" feature

That's weird, busybox's Almquist Shell does offer tab completion:

empty@animal:~ $ busybox ash


BusyBox v1.22.1 (Debian 1:1.22.0-19+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ apt ← pressed <tab> here
apt                           apt-ftparchive                aptitude
apt-cache                     apt-get                       aptitude-create-state-bundle
apt-cdrom                     apt-key                       aptitude-curses
apt-config                    apt-mark                      aptitude-run-state-bundle
apt-extracttemplates          apt-sortpkgs

EDIT: ah, that must be an added feature of busybox, dash doesn't tab-complete and is a "pure" implementation.

Last edited by Head_on_a_Stick (2018-04-23 17:21:36)

Offline

#23 2018-04-24 07:28:39

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

Speaking of tab: Let's say after

sudo s

pressing tab two times asks for showing all the possibilities and pressing enter gives a list of available tools. I always find applications I did not know about like shntools.

Offline

#24 2018-06-24 22:36:55

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

Google has many services and even software like Chromium available on Linux. There was hhh's remark in a thread saying "Google is still, after all this time, mainly an advertising company.", which is of course part of the story as G makes revenues by selling ads, search engine promotions, etc. However G is much more than that, which was described in a long article.

Recently there were over 4.000 employees signing a petition against developing artificial intelligence based drones for the military, which are better at recognizing what they are monitoring. This was meant to be a system that could also kill someone on its own without human assistance. There were even people who left the company because of this.

As Google has all the data, it often steals startups' ideas, sometimes also patents. It's not the friendly, funky tech-company it pretends to be.

Offline

#25 2018-06-25 04:23:14

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,039
Website

Re: Just short linux/distro-related questions not worth a whole thread

@martix, what's with the evangelism?


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#26 2018-06-25 17:30:40

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

@hhh Just same more reasons to prefer open source stuff or services based on it.

Recently the project PeerTube reached its crowd funding goal and there are still ten days to go. Looking forward to using a well made decentralized video hosting network as yt replacement.

Offline

Board footer

Powered by FluxBB