Live data from Hacker News

Kali Linux 2020.3

kali.org

21–30 of 102 posts

Re: Kali Linux 2020.3

#22

Earlier quoted context omitted.

Bash does the same thing here, typing tabs instead of slashes. /u lo b same number of keystrokes actually

Not quite. Zsh can use the subfolders to disambiguate which parent you meant, bash can't.

Wow. While this is quite slick (and must have been funny to implement), I actually hate this kind of "magic" behavior.

Re: Kali Linux 2020.3

#23
Aren't the people who know and understand the tools they use, the same people who can install security utilities on any distro?

What is the purpose of this distro in regards to that?

Re: Kali Linux 2020.3

#24

Aren't the people who know and understand the tools they use, the same people who can install security utilities on any distro? What is the purpose of this distro in regards to that?

It’s all of them in one place.

Re: Kali Linux 2020.3

#25
post #8

Fascinating that the conversation goes to zsh over bash. You'd think a decent Bluetooth risk tool was more relevant given the covid19 dependency on more bt always on and so more bt drive-by

People who don't use Kali comment on whether move from one shell to another was right for the Kali users. This drive by commenting is sadly omnipresent in the open source world. OpenBSD uses CVS? They should use git. XServer? Why not Wayland? Oh, libsdl is using Mercurial, but they should totally use git. And on, and on.

Re: Kali Linux 2020.3

#26

With a heavy heart I join the rest of the zsh discussion because these aren’t even factual: > You can do a lot of advanced things with bash, and customize it to do even more, but ZSH allows you to do even more. Bash can do a lot of things zsh can’t, and vice versa. > Fish is a nice shell (probably nicer than ZSH), but realistically it was not a real consideration due to the fact that it is not POSIX compatible. Neith…

Zsh isn’t posix compatible? Citation needed?

Also what can bash do that zsh can’t? Genuinely curious, after using both for years.

Re: Kali Linux 2020.3

#27
post #12

Earlier quoted context omitted.

Having watched a bunch of videos of people who bought NeXT computers recently, I can confirm that the shell they saw when running Terminal.app was csh. It would be a hell of a coincindence if all of them had happened to change from the default to csh.

Also MacOS switch to zsh was pretty recent (used to be bash). https://support.apple.com/en-us/HT208050 Must have been some confusion here.

It was an old bash 2.x which was still GPLv2. Zsh being MIT licensed posed no licensing issues for inclusion into MacOS. I switched to zsh on Snow Leopard and above and never looked back. Didn't use the fancy stuff much and still use bash on Linux.

Re: Kali Linux 2020.3

#28

I think the move of Kali Linux from bash to zsh is sane. I sometimes have to use the default shell of Linux distribution, especially on servers, and my main pain points with bash are: - The history is editable by default. If I move to a previous history line and change it, the old line disappears. Hitting Ctrl-c will remove it from the history. - If I use simultaneous shells (screen, tmux, or several ssh connections)…

> E.g. if I realise while typing that I'm not in the right directory, `git clonecd src`.

With bash I’d just Ctrl+a and type “cd src ;” and then press ctrl+e and continue typing what I was typing.

I got so used to doing it that way, that even after switching to zsh I still do it this way.

The disadvantage of my way of doing it is if you typo the path. But I tab complete pretty much always, so in practice I don’t have the problem of typoing directory names without noticing.

I probably should learn those zsh ways of doing things. Will try to remember to do it the zsh way next time I need to do something like the things you mentioned.

Re: Kali Linux 2020.3

#29

Earlier quoted context omitted.

Not quite. Zsh can use the subfolders to disambiguate which parent you meant, bash can't.

Wow. While this is quite slick (and must have been funny to implement), I actually hate this kind of "magic" behavior.

How is it more or less magic than bash’s? It takes more context into account, sure, but it’s easy to understand and reason about.

Re: Kali Linux 2020.3

#30

Earlier quoted context omitted.

Not quite. Zsh can use the subfolders to disambiguate which parent you meant, bash can't.

Wow. While this is quite slick (and must have been funny to implement), I actually hate this kind of "magic" behavior.

I usually hate magic too, but I have to say this is one of the cases where I like it. It's convenient without any danger attached to it since you're just switching directory and not actually executing something against this "unknown" path.
Post reply on HN