No.36725 [View All]
Post solid terminal based *nix applications that follow the Unix philosophy of doing one thing and doing it well. I'll start
Minimodem: "can be used to transfer data between nearby computers using an audio cable (or just via sound waves), or between remote computers using radio, telephone, or another audio communications medium."
http://www.whence.com/minimodem/
CW: Just like it sounds, it encodes and decodes morse code. It will output text (in the form of dots and dashes) or output sound through your audio device.
NetCat: "
In the simplest usage, 'nc host port' creates a TCP connection to the given
port on the given target host. Your standard input is then sent to the host,
and anything that comes back across the connection is sent to your standard
output."
http://nc110.sourceforge.net/
Units: "The 'units' program converts quantities expressed in various scales to their equivalents in other scales."
https://www.gnu.org/software/units/
(Installed by default in most linux distrobutions, you probably already have it)
16 posts and 1 image reply omitted. Click [Open thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.43262
>>37042
>ultrasonic
And that's how you know this is bs. Cheap microphones and speakers crap out at 16kHz, if it's on a phone the range might be even lower.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.43269
>>36731
I agree with you anon. The more *nix I've learned myself, the more powerful and worth learning it seems to be.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.43322
I just learned about the moreutils package a few days ago. It's available in most distros' repositories, and provides several handy dandy tools, as a sort of extension to the coreutils. https://joeyh.name/code/moreutils/
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.43572
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.43583
Found this. Valve, in particular, seems like a useful tool.
http://www.fourmilab.ch/
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.43588
hah, I used a similar program like minimodem to be able to pirate games on my apple 2e.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.43598
mtr. it is a vastly superior ping replacement.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.44032
>>36725
http://suckless.org/
Especially dmenu, st and surf.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.44038
>>44032
>dmenu and surf
TOP schway
Dmenu is an awful application launcher. Surf is perpetually crashing and only looks visually non-bloat.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.44060
>>44032
>surf is a simple web browser based on WebKit/GTK+
>Webkitgtk
>simple
The interface may be simple, but it stacks atop the sheer complexity of webkitgtk
Which is also know to have a number of security issues
Then again the web sucks these days
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.44065
>>44038
surf is awful and hueg but dmenu is really nice
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.45029
>>37006
>Isn't every system that allows you access to a terminal?
So basically only *nix and maybe some hyper-obscure OSs?
>inb4 he thinks terminal emulators are terminals
>inb4 he thinks Window's cmd.exe is a terminal
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.45030
>>44065
>dmenu is really nice
Someone has never tried rofi, superswitcher, or simpleswitcher.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.46589
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.46595
>>36725
> minimodem
You can decode/encode Emergency Alert System messages with it in the NOAA mode.
Paired with a radio transmitter, it could cause yuge panic (think of false nuclear war alert) and black helicopter chase after you.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.46749
>>36729
>>36804
Get back to your containment chan, newfag.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.47828
bc << EOF
scale=4
$@
quit
EOF
This script is just an inline calculator that can do floating point math.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.47829
>>47828
>$[at]
>email protected
what a meme
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.48138
>>36939
the modern web is too dependent on images and javascript for lynx
still schway though
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.48140
>>36725
socat is better than netcat.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.48221
Fucking GDB . Debugger at your hands from a terminal.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.52534
>XONSH
>BASH + Python Shell
>Fuck scripting in bash
>Why doesn't your shell have access to libraries through python bindings.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.52536
Wew, that 1+ year bump
>>52534
Because there's literally no reason for your shell to have to start a whole python vm. Most unix tools come with a program to use their library anyway, even python can do it with setuptools. If you need a special shell to access python libraries, the library is wrong.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.52537
>>52536
>Wew, that 1+ year bump
>Delete new threads
Its like people actively want the board dead. If you don't want people to post, archive board, open local copy everyday, and re-read same thing daily.
>Because there's literally no reason for your shell to have to start a whole python vm.
>entire python VM
Even on the dated hardware i am using its blindly fast, and unnoticeable.
Bash scripting is arcane, unreadable and generally garbage.
Point of shell is to encourage casual programing. Why not use a less garbage language, and have access to a more reasonable programming environment.
I also use scipy a lot for my classes, and having a single terminal is better for me.
Keep meming that your a c programmer for the 90s who compiles a program to multiply matrices that he wrote himself for every tensor contraction you want to do. While simultaneously having equally contradictory views about the board: New posts should exist, old ones are awesome…. Bumping old threads, are you kidding me?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.52552
>>52537
I can hardly believe there are fukos like you on my h8chan. Yeah, I do write a lot of C, not for the 90's but for 2018. Python is a shitty scripting lang and Guido is a retard, use Lua. Regardless of what you need scipy for, bash is just fine for what it is. It's probably even better for some things you think you need your meme frameworks for.
https://adamdrake.com/command-line-tools-can-be-235x-faster-than-your-hadoop-cluster.html
The entire point of shell scripts is that they're correctly built for you, with an easy interface that you can't fuck up without the whole thing blowing up, which is a good thing when your setting up batch processing jobs, you know, that thing people getting actual work done need to do. Now go do your coursework and shut the fuck up. You're allowed to talk again when you python weenies fix the GIL.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.52555
>>52537
>Even on the dated hardware i am using its blindly fast, and unnoticeable.
Some people's use cases are heavier than organizing your hentai folders or their use cases need something that the c/cpp libraries written by a c dev, like scipy/numpy that you're using don't do. So they can write new ones or use c
>Keep meming that your a c programmer for the 90s who compiles a program
See above, it's blazing fast because that "meme" still exists in the current year
>Bash scripting is arcane, unreadable and generally garbage.
It's garbage and ugly, but it's not arcane or unreadable, the man pages are pretty decent.
Also, agreed with bumping old threads on a slow board like this isn't a big deal and anon hasn't explained the issue with it.
>>52552
>bash is just fine for what it is.
bash is literal nigger tech, are you a nigger anon?
>Guido
he's gone, but yeah he is.
>allowed to talk again when you python weenies fix the GIL.
They have, by removing it. Use IronPython or one of the others that doesn't have a GIL
Take your own advice and shut the fuck up. Do some research before talking about what you've little to no idea about.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.52556
>>52555
>Some people's use cases are heavier than organizing your hentai folders or their use cases need something that the c/cpp libraries written by a c dev, like scipy/numpy that you're using don't do. So they can write new ones or use c
Im not advocating for people to run their simulations in python. I litterally said XONSH is a cool shell. Thats it. Other /tech/ larper, decided that was impossible because python was to slow to compete with bash, which is outright silly, if you are using bash/ python , you are optimizing for programmer time, not run time. Which is actually what you want for one-off casual scripts. The performance difference isn't noticeable on hardware almost a decade old.
>See above, it's blazing fast because that "meme" still exists in the current year
< Keep meming that your a c programmer for the 90s who compiles a program to multiply matrices that he wrote himself for every tensor contraction you want to do
No, you cut the most important part of that statement off. The idea is that this guy is championing C as a replacement for casual interaction with the computer. Thats horrific non-sense. Using a systems language like C as a CAS is non-sensically obtuse. Compiling isn't an issue when you build release software than generally runs thousands of times more often than code changes. When you doing mathematics through a CAS, or writing one-offs, that changes. I didn't say C was useless. I said C is the wrong tool for casual programming.
Which is why I said he is meming. No person would sit an compile one c program after another to multiply matrices, upload files, etc. And if you do, because people on the internet have told you that is the glorious way to go, and you type shit tons of boiler plate, all to get those matrices multiplied, your an idiot who deserves to be doing it.
The obvious exception to this is, when you are working with numerics heavy enough, or simulations specific enough, that you need to get out the optimized FORTRAN written specifically for the case.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.52559
>>52555
> nigger tech
Yeah yeah, still good for piping and processing text tho.
> IronPython
< we couldn't figure out how to remove gil without breaking everything, so we just remade python in .net and called it a day
< see? No gil! Its fixed!
< never mind that we now have a python vm on top of a .net vm, making the startup time even longer when used as part of a shell script.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.52562
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.54841
>>36817
>Some Linuxes are free as in beer.
FTFY
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.54842
>>37006
>But what if I don't care if it's free
Then you are too dumb to hang out here.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.54848
>>36725
>doing one thing and doing it well
What I don't like is that the unix philosophy like many philosophies is really vague. Pretty much everyone agrees that it just feels nice when you have a program that does exactly the right job. But people often have different ideas about what it means to do "one thing" and approach it in subtly different ways.
For some people it's about the purpose or use case of a program. If a special task appears frequently enough, there should be a program that accomplishes just that task. So when these people say "it does one thing well", they mean "it can perform exactly one task".
For others it's about separating programs. If a program has two sets of functions that can act independently, then they really should be two programs that can work on their own or interact when necessary. For these people "it does one thing well" means "the program does its job only and is therefore intended to be used together with other programs."
Another way to think about it is the idea of pure minimalism. Any program should have the smallest number of features to work at all. For those people the phrase "it does one thing well" means "it does one thing and it doesn't do much".
All of these approaches are valid in some sense which leads to people following the unix way very differently. Therefore I think the unix philosophy isn't a reasonable guideline at all. It's just a nice ideal that people like to follow.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.54850
These are a few of my favorite utils…
#youtube-dl w/ ffmpeg: remotely download media files from any streaming protocol and convert to any other extension. E.g. file.m4a -> file.mp3
#cmus: I prefer over ncmpcpp in terms of easy set up; however ncmpcpp w/ mpd does afford more customizability.
#cli-vis: visual audio analyzer in terminal
#vim: long live vim
#platformIO: I tinker with MCUs and often atmel boards based on arduino… this offers an in cli solution outside of the arduino IDE. Of course it needs to be installed to an IDE like atom or VScode… once installed it can be easily adapted into vim.
#dwarffortress: procedurally generated 2D RPG.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.54890
>>44060
web is so monstrously complicated and complex that building and maintaining the various components of backend (javascript runtime, html engine, DOM0 ) is just getting increasingly impossible and the world is basically down to three choices. Webkit/blink , Trident, or Gecko. Almost all niche browsers have transitioned away from their own engines (cf. Opera ) to focus on user interface. Increasingly, the browser is an operating system and commodized.
I would love to see the development of a "suckless" backend for a web browser, but that might honestly not be possible. Suckless is about minimalism, and the web is –anything– everything but.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.54894
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.54900
>>54894
Damn Chummer. I would have bet on Gecko falling first. Mozzilla needs support more than ever.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.56961
>>36725
dnscrypt - protect your dns from snooping by upstream network. Pair with opennic for top 水.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.56964
`neofetch` very useful if you need an overview over your system.
I'm using Arch btw.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.56970
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.56978
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.56989
>>37026
I know I'm necromancing here, but I've begun to look seriously look into Windows exploitation particularly in Windows 7 and I gotta say, this isn't a lie. There are many cases where your password can be stored in plain text. Windows really is just a buggy mess.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.56992
>>56964
then again, you should really know what system you're working with without having to look it up with some 1337 haxx0r tool, shouldn't you.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.56996
>>56992
Linux users love that shit for some reason.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.56997
>>56992
Wait, why would anyone care? "You really should know…" what does that mean? Looking at a reference is bad? I don't get how it's bad. Are you retarded?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.57000
>>56997
He is retarded. Commands like whoami etc exist for admins who ssh. A console doesnt always make clear what host your on. You shouldnt just know. Neo fetch is actually for unix porn screen shots.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.57008
>>56992
but how else would I tell you that I use Arch btw?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.57009
>>57000
you're just salty because you're poor and can't afford more than 4GB ram lol
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.57017
>>57000 (checked)
Trips of Truth
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.57175
>>36725
jrnl is a python based CLI journal that supports tagging. Its pretty badass.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.58075
>>36725
BASH is a repl by itself.
You can start lines with
VAR=value VAR2=value2 … cmd1 | cmd2 | while read line; do
done
And once it works, you can place in an editor ready to save with the 'fc' builtin. No copy paste required. No GUI editor needed. No tmux necessary. Just a bash builtin. Bash by itself is a repl. Cybernigga shit for the 水 gods.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.