User:Rudxain/Unix: Difference between revisions
m errata for jvns |
TUI and GUI are both optional and good! also Oils-shill warning, lol |
||
| Line 63: | Line 63: | ||
And please: | And please: | ||
*Don't be afraid of the [[wikipedia:Terminal_emulator|terminal]]! Terminals are your friend. Don't let Big <s>Brother</s> Tech tell you otherwise | *Don't be afraid of the [[wikipedia:Terminal_emulator|terminal]]! Terminals are your friend. Don't let Big <s>Brother</s> Tech tell you otherwise. | ||
*Don't be afraid of CLI apps!<ref>https://github.com/you-dont-need/You-Dont-Need-GUI</ref><ref>https://github.com/jlevy/the-art-of-command-line</ref> Except <code>rm</code>, that one is dangerous unless you add <code>[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/rm.html#:~:text=%2Di,-Prompt -i]</code>. See [https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#I-used-rm-to-remove-a-file_002e-How-can-I-get-it-back-now_003f how to recover deleted files]. | *Don't be afraid of CLI apps!<ref>https://github.com/you-dont-need/You-Dont-Need-GUI</ref><ref>https://github.com/jlevy/the-art-of-command-line</ref> Except <code>rm</code>, that one is dangerous unless you add <code>[https://pubs.opengroup.org/onlinepubs/9799919799/utilities/rm.html#:~:text=%2Di,-Prompt -i]</code>. See [https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#I-used-rm-to-remove-a-file_002e-How-can-I-get-it-back-now_003f how to recover deleted files]. | ||
*Don't be afraid of [[wikipedia:Unix_shell|shells]]! except Bash, that one is a menace.<ref>https://mywiki.wooledge.org/BashPitfalls</ref><ref>https://github.com/anordal/shellharden/blob/1e629728e37d2e78dd3a06ed69cd54e2f66b87b0/how_to_do_things_safely_in_bash.md</ref><ref>https://github.com/oils-for-unix/oils/wiki/Shell-WTFs</ref><ref>{{Cite web |date=2024-10-05 |title=Feature suggestion: Warnings regarding (automatic) recursive indirection/eval within \[\[ (( and $(( blocks |url=https://github.com/koalaman/shellcheck/issues/3067 |url-status=live |archive-url=https://web.archive.org/web/20260420003136/https://github.com/koalaman/shellcheck/issues/3067 |archive-date=2026-04-20 |access-date=2026-04-19 |website=GitHub}}</ref> I use Bash daily but I recommend [https://oils.pub/ Oils]. | *Don't be afraid of [[wikipedia:Unix_shell|shells]]! except Bash, that one is a menace.<ref>https://mywiki.wooledge.org/BashPitfalls</ref><ref>https://github.com/anordal/shellharden/blob/1e629728e37d2e78dd3a06ed69cd54e2f66b87b0/how_to_do_things_safely_in_bash.md</ref><ref>https://github.com/oils-for-unix/oils/wiki/Shell-WTFs</ref><ref>{{Cite web |date=2024-10-05 |title=Feature suggestion: Warnings regarding (automatic) recursive indirection/eval within \[\[ (( and $(( blocks |url=https://github.com/koalaman/shellcheck/issues/3067 |url-status=live |archive-url=https://web.archive.org/web/20260420003136/https://github.com/koalaman/shellcheck/issues/3067 |archive-date=2026-04-20 |access-date=2026-04-19 |website=GitHub}}</ref> I use Bash daily but I'd recommend [https://oils.pub/ Oils] ([[wikipedia:Shill|shill]] alert!). | ||
It's fine if you're not used to [[wikipedia:Text-based_user_interface|TUIs]], don't feel pressured. Depending on the distro you choose (e.g. Mint), TUIs aren't required at all. | |||
Like many things in life, it might take you time to get comfortable with a different way to do things, this would be the case if you've been using TUIs your entire life and encountered a GUI. Arguably, GUIs tend to be more intuitive (on average) for most tasks, but TUIs can sometimes be more user-friendly than GUIs! | |||
IMO, the "holy war" of GUI vs TUI is pointless, both excel at different things. I typically use this example:<!-- Please suggest better examples, lol --> | |||
* A camera app is clearly better as a GUI. Real-time photo-previews are one of the main reasons why digital cameras made film-based cameras "obsolete". | |||
* A calculator app is better as a TUI (unless it's a graphing-calc), because you're not limited by a custom keyboard. Also, most TUI calculators (such as <code>[[wikipedia:Bc_(programming_language)|bc]]</code>) support looping and conditional constructs. And you're dealing with mostly-alphanumeric data anyways, so a GUI would feel "forced" and inconsistent. | |||
Personally, I have a preference for TUIs, simply because they tend to not be bloated. But I love GUIs when they're used properly! | |||
==External links== | ==External links== | ||