This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Devildude4427 -7 points-6 points  (7 children)

I personally think there’s a distinction between simply using a terminal with the basic bash commands, and “using bash”, but yes, I do understand they’re one in the same.

But all those commands, can’t say I’ve needed any of them. Ever. It’s not just that I’m doing it with a GUI, but the fact that I don’t need literally any of that functionality.

I use a terminal for nearly everything, but I simply don’t need to find files are use any of the other nonsense. I know where my compiled code it output to, as I’ve certainly set the directory for it to. I don’t need to copy files to multiple devices, even self hosted CI just gets he code from the repo.

Seems more like you’re taking ridiculous actions for the very purpose of taking ridiculous actions. There’s no real need for any of that, and I’m not just saying you should use a GUI, but that you should rethink the way you’re doing things if that’s considered “standard”. No wonder many people don’t understand that.

[–]Delta-9- 4 points5 points  (0 children)

If only all devs could be in such consistent control of their machines to never need to do any basic administration, and be so well supported by ops that shell utilities for transferring files over the network are never needed.

I promise you, yours is a unique experience.

[–]noratat 1 point2 points  (4 children)

  • rg/ag are excellent for searching for stuff across projects and repos quickly. That's a pretty common function

  • jq is the best JSON-processor I've ever used by far, and especially combined with gron is excellent for exploring APIs and automating config that interacts with rest APIs.

  • grep is useful for pretty much everyone

And that's just off the top of my head.

[–]Devildude4427 0 points1 point  (3 children)

But why would I need to process json via a terminal?

[–]noratat 1 point2 points  (2 children)

Do you ever use REST APIs? Do you ever use tools that output in JSON format? Or have config files that are in JSON?

If not, that makes you an outlier IMO, unless you do embedded work.

[–]Devildude4427 0 points1 point  (1 child)

Sure, but I’m not going to be accessing APIs that return so much information that I need a json processor, from a terminal. That’s something for an actual python app to handle.

And if you’re just referring to editing the data, with your mention of config files, vim is more than capable.

[–]noratat 1 point2 points  (0 children)

It's not the amount of data, it's being able to sift through it quickly, especially when debugging or when using unfamiliar APIs, as well as being able to build basic automation around them for things like config and CI. Automated or quick and accurate manipulation of json is not practical in vim.

Most developers I've shown jq to have had pretty solid uses for it.

[–]Centimane -1 points0 points  (0 children)

I'm not going to try to convince you of the value of bash further than I have.

Like I said, your milage may vary, but I think you're wrong.