Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "command-line"
-
CEO: You need to use git.
Designer: No
CEO: You can backup stuff.
Designer: No
CEO: You don't have to save copies!
Designer: No
CEO: You will use a really cool command line!
Designer: No
CEO: It has unlimited storage
Designer: So when we start?19 -
Girlfriend (art student): “You’re in CS. Why don’t you use Windows? Macs are terrible for programming.”
Me: “macOS is better for doing command line compilation and shit because it supports Unix terminal commands and stuff with a reliable OS that’s better-supported than most Linux OSes. I also have Windows on my laptop too, for Visual Studio.”
Girlfriend: “Only like 1% of people use command line stuff. Windows is better for programming. I’ve seen a lot of CS majors use Windows.”
Me: “Uh. You watch me use my computer every day. The stuff I do in Terminal takes forever on Windows.”
Girlfriend: “Yeah, but Windows is just better for programming though.”
Help.46 -
Me: *opens a terminal in front of parents and starts a build script from command line. Logs start rapidly flooding the screen*
Mom: *whispers to dad proudly* “look at how much she has worked. Look how fast the lines are running on the screen!!
I didn’t wanna burst their bubble by explain them that their child is NOT doing any rocket science, and is something even they can do(maybe better).
So I responded back with a fake serious tone
“Yeah it’s all code.”
If only they knew what I was actually doing...10 -
Just wrote a Python script to generate me a JSON file.
I forgot the 0th command line argument is the file you're running...
On first test it overwrote itself.15 -
Once a friend asked me to teach programming to him so I started with basics and hello world. Run the code and printed "hello world" on command line. Then my friend opened a new command prompt typed hello world and told me he can write that without all of the bs and that was the end.7
-
My non-dev boyfriend installed Python via the command line and ran a server to render a map of Pokémon in his neighborhood. I don't know whether to be impressed or scared 😂7
-
So we were doing Computer Network revision.
our teacher asks,' what is another method except GUI to send mail?'
I know it is using terminal.
'Terminal' I replied.
'No, it was something else'
'Console'
'No, not that'
.
.
.
.
.
.
.
.
.
.
.
'Command line?'
'Yes, that's it. That's what I m talking about'
FML!10 -
This tini tiny forky bomby is so cute than you probably want to execute it... at least in a VM / Container.13
-
Idea for devRant for April 1st:
User opens devRant. Greeted with the message: "devRant has changed the UI to make it more suitable for developers. From now on, the complete devRant interface is going to be command line. Read the man pages to get started."
User greeted with:
$devRantUser >12 -
Boot up a Linux live usb on a Windows machine, then rename cmd.exe to utilman.exe and after rebooting select accessibility options which now opens a command line and then 'net user username owned' to reset user 'username' password to 'owned'. Been using this for years..13
-
Developers :
Work as efficient as possible!
Also developers :
Pressing the arrow up ⬆️ in the terminal 90 times to find a command that could have been manually typed out in 1 sec17 -
So apparently the Amazon S3 outage happened because of one setting being wrong in a looooong string of commands issued to shut down just a few servers.
Am I the only Linux user who totally gets how that could happen to just about anyone regardless of how awesomely competent they might be?4 -
When my friend trolled me just because I was a noob with Linux command line...
To fix your problem you must run:
sudo apt-get purge sudo
And then I tried reinstalling sudo with....
sudo apt-get install sudo 😲14 -
To IT: I can no longer clone GitHub repos from the command line.
From IT… Hello DevOps engineer…. You’re no longer allowed to use port 22. It’s not safe. All traffic must be port 443.
Really!?8 -
Wasted 45mins interviewing a "developer" who couldn't use git, the command line, CSS preprocessors or task runners. His sites were all template rubbish and he wanted £300($370) per day.16
-
I was 11 or 12 years old, my dad had this policy that only *nix machines are allowed in our home, so I was rocking a Ubuntu pc at that time. I was messing around with it and tweaking some things here and there, but wanted to learn more. My dad showed me how to open python on the command line and gave me some simple tasks to do. Been hooked ever since.
PS. Still going by the same policy, even though I live on my own.10 -
More than half my class: "I prefer the gui from git for Windows to the command line"
The same half: "whoops... How do I revert that?"13 -
"Using the command line for any other reason than to feel like a hacker, is a bullshit reason." - Unknown4
-
*Me explaining how to use npm to my colleague (senior dev)*
M: So from the command line you just need to move to the directory with the package.json first
C: Uhm right
C: *types ‘move dir’*
M: Aight just give me the keyboard
How does a senior developer not know how to use cd in a command line?5 -
At university. But at first I thought I was too stupid because everyone in my class sounded like they started hacking the NSA at age 3, and I hadn't even opened a command line. Even had a proffessor tell me if I didn't ace his OOP class, I should quit (I failed, did good the second time though). Moral of the story is: fuck him, and anyone who tells you that you can't do something.4
-
Another "microsoft is actually trying" post, excited how it turns out
source: https://arstechnica.com/gadgets/...9 -
My bf learning a programming language I already know. Him frustrated with it not working. Me in the same room watching anime. His mom calls. I go over and see if I can figure out what's not working while he's in the phone. He was trying to run from command line and wasn't in the right folder 😆7
-
If you're an aspiring web dev, get comfortable using the command line.
Amazing how many new starters can't restart a service or tail an error log.
I'm not saying it to be a dick, it's just 101 stuff that'll save you loads of time.1 -
year 1: hoping and praying no-one asks you to do anything on the big scary command line
year 5: if I have to leave the safe haven of my terminal to use some GUI nonsense, someone's gonna pay10 -
Lately, I see a lot of rants/comments/jokes about WinRAR and its eternal trial (algorithm, is that you?). Here's a nice video explaining why WinRAR chose it as its business model and how it works: https://youtu.be/fTgZRVVr3_Y
Spoiler alert: WinRAR is brilliant.
But use 7-zip or be a command line ninja.6 -
After seeing @Gregozor2121 share, I searched around in my bookmarks for similar stuff. Here are a couple of links that I feel is useful for everyone:
A massive list of Free programming books.
https://ebookfoundation.github.io/f...
(Also do explore anything marked as "awesome", cause it literally is awesome!! They have got tons of lists of resources for most programming languages, free software lists, famous stackoverflow answers, quotes & even Pokemon!!)
I also had this bookmarked:
https://github.com/chubin/cheat.sh
Basically cheat sheets at your command line. Pretty neat utility.8 -
For the first time in my career as a developer I remembered the tarball command line options without looking them up5
-
When you get blinded by a white browser page after staring only at your dark themed IDE and black command line for the past 4 hours2
-
* writes an entire library in vim *
Lemme save it real quick.
Ctrl + S
Fuck.
* opens sublime text *7 -
Poll: How do you use git?
Command line?
GitHub Desktop?
3rd party app? (which one)
I use command line almost exclusively.43 -
Holy fuck. Didn't realise how slow Android studio was until I started using visual code with the command line tools. 😮6
-
Quote from Docker site: "anyone with Docker and an editor installed can build and debug the app in minutes"
Really? I'm two days in and still can't get this damn thing to work. And no solution in sight. Command line tools... sheesh.7 -
A command line that make me feel like a pro hacker #top ^^
Use often when sitting with non-IT guys 😂13 -
Python seems so ... simple, yet beautiful.
(It's just ... a feeling, I only did the codecademy course and doodled on the command line by now.)
But this whitespace/tab thing and the fact that missing semicolons don't result in errors is just fucking confusing.15 -
Even If you give me an OS with great and fast GUI, I would still prefer better CLI (Command Line Interface)15
-
My best experience was going from static HTML and non-preprocessed CSS to having my mind blown by Sass & learning JavaScript and what "API" even means (and starting on ruby and basics in command line). I actually feel like I'm a developer in some sense of the word.
That was a ton of growth in a year where I transitioned from a purely graphic design role to having an influence over development processes and rolled out a number of projects to production that I spearheaded.2 -
[Begin Rant] When you show your senior manager your REST Web Service and he says "Oh no nooo... I don't wanna see no code"... Me: Code?? That ain't code you fat silly fucker it's the command line output data which I spent a week parsing, batch processing, and storing into the database! [End Rant] :[4
-
People love fast moving green text with a black background.
I have linux on my laptop and I have a script (litturally just 1 line) that outputs random hex data to the command line.
I ran it while WebStorm was starting up and I had people instantly telling me to shutdown all the pcs on the network xDD6 -
I don't get the pretentious coders who look down at anyone who uses any GUI over command line or anyone who uses an advanced IDE over Notepad++ or VIM.
We get it, you're hardcore, I don't care, I love code competition.6 -
Him: "I don't need source control, it's just another program that does unknown things on my source files. What if one day it stops working?? How do I get my files??"
Me: "you could say the same thing on 90% of the tools you use every day... Like when you restore npm packages by GUI"
him: "what are those? I don't use them"
Also him: "command line is vintage"2 -
Me: I need an SSL certificate.
Support: No problem. Just fire up your command line and generate one via OpenSSL.
Me: I'm on Windows.
Support: Ok, so what you do is code a Linux command line from scratch that will run in Powershell. Next, compile OpenSSL from your favorite of 60,000 versions available. Now, just fire it up and you're all set.
Me: Goodbye everything I've ever enjoyed doing in my free time.16 -
devRant competition - can you convince someone that you're hacking?
Requirements:
Windows (Linux is too easy)
You must use genuine windows command line and the following commands:
color 0a (if this isn't supported in your windows os, you can change it in properties)
cd C:\
tree
The point of this is to see how easily you can convince someone you're hacking/doing something malicious. No prize or anything, I just want to see how ignorant those muggles are.8 -
ABC 80.
It was a Swedish computer in the 80s.
Used basic as main shell like c64 but its editor was worse than edlin if any one remembers that.
You could not use arrow keys to go to a line to change it but had to type a command like edit 80 to retrieve the line in an editor prompt.
It also lacked a lot of common basic commands.6 -
I'm going to teach web dev at a coding school in a few months. In the teaching plan, students have to learn git. But we are told explicitly to only teach using github desktop and not the command line because it puts students off.
I'm not sure how to feel about this12 -
Me: Hello! Welcome to {Company} tech support. How can I help?
Caller: I'll just run through the situation. I got locked out of my apartment and my friend is still inside. I tried calling him but his phone is either off, Do Not Disturb, or something. Anyway, I've tried remotely SSHing our desktop computer from my laptop and using the say command to get the computer to tell him to unlock the door. Unfortunately the volume is too low. I tried Googling how to increase it via command line. But I found nothing. Is there a way to do that?
M: I suppose the doorbell doesn't work?
C: *click*2 -
Knowing the Linux command line saved my bacon!
I was on a plane, unable to connect to wifi, and needed to take a note... while not having any note taking applications or text editing applications on my phone. but what I DID have was a terminal application.
So, I made a file in my documents folder and echoed my notes into the file! A bit longer and more complicated than it needed to be, but it worked when I needed it to!12 -
Fuck the brains of circular dependency.
On a fresh install of OS X on my hackintosh.
1) Let me install HomeBrew
2) I need Command Line Tools to install HomeBrew
3) Xcode dmg is on my Android. Opens Android File Transfer tool.
4) Error: File is larger than 4GB. Need to use adb.
5) Need to install android-platform-tools, which contains adb.
6) android-platform-tools is available in brew. Goto 1).
Note: Networking is limited to tethering mobile data as Wifi chip hasn't arrived yet.3 -
What a lazy fuck.
This so called full-stack developer doesn't know how to use mysql from command line. The only way he can do anything in the database is using phpMyAdmin or MySQL gui.
What? How do you even call yourself a developer when you don't know how to use basic command line tools?
The fucker wants me to find out why a particular feature is not working?
Why the fuck are you being paid for? You stupid idiot.
"Can you please grep ... in the server?"
What? Why would I do that for you? How about you ssh the server yourself?
What a waste of time.5 -
When some born-in-the-90s chode claims that linux is bullshit because you might sometimes have to use the keyboard on the command line, I set that motherfucker's house on fire.4
-
I've legit just spent the past few days CRYING to get my react native app to compile on iOs using the xcodebuild command so that I can use a cloud build service (VS App Center). It works fine with XCode 'play' button but not through the command line. About to give up. Literally Googled 'fuck xcode' and found this, thank you guys, you made today a bit less dreary than what i was going to be. Reading through the posts actually made me laugh out loud.3
-
So...the windows console is getting emoji support. I can't convey how happy it makes me that this is what they've been working on. Very happy. Because of little smiling pictures of yellow people in a command line.4
-
Have an 'anger' project open to the side, so when you get annoyed or tired of the paid work, take a quick break and jump into that project to clear your head, even if it is just a simple command line tool, done it before and it's quite a good thing from experience
-
*Awesome compile-bomb in 29 bytes*
If you want to hang up your machine, just compile this code
main[-1u]={1};
With next command line
gcc -mcmodel=medium cbomb.c -o cbomb
It will result in ~16GB executable file (if you have that memory and computer power)4 -
A coworker of mine was asked to make a utility C# app to help with our internal testing. The idea was that the app would collect data and display the results.
He decided that it was very important that the app have a command line interface. He's spent far more time building the app from scratch for the command line than he would have if he'd used C#'s built-in GUI utilities.
Today was our demo day and he shows an internal command-line app in 2017 built in C#. I asked about the GUI and he said that the command line functionality was more important. I suggested that it was maybe less user-friendly and he proceeded to explain to me how "non-technical" people might prefer a GUI, but clearly any serious developer would just want a command line app.
I feel like, in one fell swoop, he trivialized my suggestion, didn't address any of the data visualization needs, and suggested I wasn't a "real developer". Am I right to feel a little outraged by this?5 -
Nothing give more pleasure than find out the cli tool you need is already installed in your distro5
-
A group member in my senior level computer science class is afraid of the command line so they change code through the GitHub website, essentially using it like Google Drive.
-
Genuinely thought "CLI" meant Command Line Interface. Only just realised it means Common Language Infastructure. How have I been a dev for this long :(10
-
Damn it! today I learnt that GitHub has a tool called Hub - "an extension to command-line git that helps you do everyday GitHub tasks without ever leaving the terminal".
It's been around for 10 years.
And here I was clicking on the link that was sent by the remote after every push to open a pull request 🤦♂️
It even comes with vim syntax support for pull requests.
I'm never leaving the terminal to do things on the GitHub web interface anymore1 -
I love how my University CSSE courses make it hard for Windows users.
Student: Is it possible use VALGRIND in Windows CMD?
prof: I don't know, I only use Linux command line. Next question.
All programs must compile and run on Linux using g++. So everyone using windows has strip the IDE bloat and transfer the project files over to the remote Linux lab every single time they compile and run.
Benefits of being a Linux user!5 -
I am currently blocked from doing my job by a firewall policy handed down from corporate that prevents WSL2 from connecting to the internet. Three days of no dev environment and counting.
We make linux software to be hosted on linux in linux containers in linux. We use linux command line tools to make it work.
"NO! WE ARE THE ALL-POWERFUL IT DEPARTMENT AND YOU MUST USE WINDOWS BECAUSE FUCK YOU THAT'S WHY."14 -
We're increasingly becoming installers/configurers/integrators/troubleshooters, than "programmers"!
I guess command-line is the only thing that makes me feel like things are still under *my* control. And, I can type whatever I want and unleash heaven/hell. 😜2 -
I just wrote a small tool to organize command line arguments in C++. Thouhgt that i'd share
https://github.com/Wittmaxi/...4 -
The good thing about these latest sourcetree updates is I finally am forced to learn git command line.
-
Freelancer/coworker: "Why don't you just use source tree instead of git in the command line?"... me: *face palm*3
-
Just got my raspberry pi, installed lubuntu, openssh and sshed into it.
Adjusting to command line only and ubuntu is hard.
I dont know where everything is located and how to get stuff done.
But I will keep on trucking till I figure it out!!4 -
1) Using ScreenRecord record a video deleting his work folder(fake one obviously).
2) create command line vlc player to play this video on startup with flags -f and --no-qt-fs-controller
Eg. vlc -f --no-qt-fs-controller file://<file path>
Enjoy the show 👿 -
I'm following an elective on User Centered Design, and he just showed a screenshot of a Command Line Interface and called it "linux"
This fucking illiterate asshole...1 -
Why I don't use Stack Overflow 99% of the time:
Me: I'm not a ruby developer, but I have to write a small script in ruby. I ran into a problem where i'm getting behavior I don't expect. I have a method which expects an array, and when multiple items are passed into it from the command line parser, behaves appropriately, but when only one command line argument is passed, the method breaks because it was passed a single element, not an array of one element. Here's my code, how do I get my desired behavior?
Most highly voted answer: your problem is your passing it a single element and not an array
Question downvoted into oblivion. As if i'm a pleb for not immediately having a perfect grasp of dynamic typing because when I have the choice I stick with strong nominative typing.8 -
`npm install -g somafm`
`somafm play defcon`
If you're on a Mac, `brew install mplayer` and do the above.
You're fucking welcome!
https://git.io/somafm if you wanna go fork yourself3 -
F*cking windows and thair stupid alternative line endings. Spend way to much time on trying to make my bash file work. Aparently i copied some command from a website that used windows endings. Wich f*cked everything up6
-
VIM! ViM! vim! Vi Improved! Emacs (Wait ignore that one). What’s this mysterious VIM? Some believe mastering this beast will provide them with untold mastery over the forces of command line editing. Others would just like to know, how you exit the bloody thing. But in essence VIM is essentially a command line text editor at heart and it’s learning curve is so high it’s a circle.
There’s a lot of posts on the inter-webs detailing how to use that cruel mistress that is VIM. But rather then focus on how to be super productive in VIM (because honestly I’ve still not got a clue). This focus on my personal journey, my numerous attempts to use VIM in my day to day work. To eventually being able to call myself a novice.
My VIM journey started in 2010 around the same time I was transiting some of my hobby projects from SVN to GIT. It was around that time, that I attempted to run “git commit” in order to commit some files into one of my repositories.
Notice I didn’t specify the “-m” flag to provide a message. So what happened next. A wild command line editor opened in order for me to specify my message, foolish me assumed this command editor was just like similar editors such as Nano. So much CTRL + C’ing CTRL + Z’ing, CTRL + X’ing and a good measure of Google, I was finally able to exit the thing. Yeah…exit it. At this moment the measure of the complexity of this thing should be kicking in already, but it’s unfair to judge it based on today’s standards of user friendly-ness. It was born in a much simpler time. Before even the mouse graced the realms of the personal computing world.
But anyhow I’ll cut to the chase, for all of you who skipped most of the post to get to this point, it’s “:q!”. That’s the keyboard command to quit…well kinda this will quit the program. But…You know what just go here: The Manual. In-fact that’s probably not going to help either, I recommend reading on :p
My curiosity was peaked. So I went off in search of a way to understand this: VIM thing. It seemed to be pretty awesome, looking at some video’s on YouTube, I could do pretty much what Sublime text could but from the terminal. Imagine ssh’ing into a server and being able to make code edits, with full autocomplete et al. That was the dream, the practice…was something different. So I decided to make the commitment and use VIM for editing one of my existing projects.
So fired the program up and watched the world burn behind me. Ahhh…why can’t I type anything, no matter what I typed nothing seemed to appear on screen. Surely I must be missing something right? Right! After firing up the old Google machine, again it would appear there is this concept known as modes. When VIm starts up it defaults to a mode called “Normal” mode, hitting keys in this mode executes commands. But “Insert” entered by hitting the “i” key allows one to insert text.
Finally I thought I think I understand how this VIM thing works, I can just use “insert” mode to insert text and the arrow keys to move around. Then when I want to execute a command, I just press “Esc” and the command such as the one for saving the file. So there I was happily editing my code using “Insert” mode and the arrow keys, but little did I know that my happiness would be short lived, the arrow keys were soon to be a thorn in my VIM journey.
Join me for part two of this rant in which we learn the untold truth about arrow keys, touch typing and vimrc created from scratch. Until next time..
:q!4 -
Dear God,
Not a single time in my life I was able to correctly spell "sudo" on the first shot: I always get "sudp" first. Am I praying the wrong prayers?8 -
Someone recently told me that learning command line is pointless for a developer today, the world has moved towards GUIs for a reason and there is no point in making your dev life harder.
Opinions?25 -
My favorite command of day is 😂
rm -rf {foo}/{bar}
Reference if you don't know what happened today:
http://independent.co.uk/life-style...2 -
Homebrew eats shit. It is easily the slowest and least effective package manager I have ever used on the command line. It feels like software that was great in 2006, but hasn't changed since then.9
-
I had a collage who kept linux commands like ls -l, ssh and git commit/pull/push in .txt file and when he needed to use them, he just copy from the file and paste them to command line EVERY F*CKING TIME. He just didn't won't to learn them.7
-
Ranters!
A couple of days ago I started development on a cross platform command line tool to read and post rants from terminal, but other devs were working on it too.
I haven't seen anything on here about those though, so I wondered: Is there any need for me? Aka, should I resume development?10 -
How deep does the rabbit hole go?
Problem: Convert numpy array containing an audio time series to a .wav file and save on disk
Error 1:
Me: pip install "stupid package"
Console: Can't pip, behind a proxy
Me: Finds workaround after several minutes
Error 2:
Conversion works, but audio file on disk doesn't work
Encoding Error only works with array of ints not floats
BUT I NEED IT TO BE FLOATS
Looks for another library
scikits.audiolab <- should work
Me: pip --proxy=myproxy:port install "this shit"
Command Line *spits back huge error*
Googles error <- You need to install this package with a .whl file
Me: Downloads .whl file <- pip install "filename".whl
Command Line: ERROR: scikits.audiolab-0.11.0-cp27-cp27m-win32.whl is not a supported wheel on this platform.
Googles Error <- Need to see supported file formats
Me: python -c "import pip; print(pip.pep425tags.get_supported())"
Console: AttributeError: module 'pip' has no attribute 'pep425tags'
Googles Error <- Use another command for pip v10
Me: python -c "import pip._internal; print(pip._internal.pep425tags.get_supported())"
Console: complies
Me: pip install "filename".whl
Console: complies
Me: *spends 30 minutes to find directory where I should paste .dll file*
Finds Directory (was hidden btw), pastes file
Me: Runs .py file
Console: from version import version as _version ModuleNotFoundError: No module named 'version'
Googles Error <- Fix is: "just comment out the import statement"
Me: HAHAHAHAHAHA
Console: HAHAHAHAHA
Unfortunately this shit still didn't work after two hours of debugging, lmao fuck this7 -
This is a story of how I did a hard thing in bash:
I need to extract all files with extension .nco from a disk. I don't want to use the GUI (which only works on windows). And I don't want to install any new programs. NCO files are basically like zip files.
Problem 1: The file headers (or something) is broken and 7zip (7z) can only extract it if has .zip extension
Problem 2: find command gives me relative to the disk path and starts with . (a dot)
Solution: Use sed to delete dot. Use sed to convert to full path. Save to file. Load lines from file and for each one, cp to ~/Desktop/file.zip then && 7z e ~/Desktop/file.zip -oOutputDir (Extract file to OutputDir).
Problem 3: Most filenames contain a whitespace. cp doesn't work when given the path wrapped in quotes.
Patch: Use bash parameter substitution to change whitespace to \whitespace.
(Note: I found it easier to apply sed one after another than to put it all in one command)
Why the fuck would anyone compress 345 images into their own archive used by an uncommon windows-only paid back-up tool?
Little me (12 years old) knowing nothing about compression or backup or common software decided to use the already installed shitty program.
This is a big deal for me because it's really the first time I string so many cool commands to achieve desired results in bash (been using Ubuntu for half a year now). Funny thing is the images uncompressed are 4.7GB and the raw files are about 1.4GB so I would have been better off not doing anything at all.
Full command:
find -type f -name "*.nco" |
sed 's/\(^./\)/\1/' |
sed 's/.*/\/media\/mitiko\/2011-2014_1&/' > unescaped-paths.txt
cat unescaped-paths.txt | while read line; do echo "${line// /\\ }" >> escaped-paths.txt; done
rm unescaped-paths.txt
cat escaped-paths.txt | while read line; do (echo "$line" | grep -Eq .*[^db].nco) && echo "$line" >> paths.txt; done
rm escaped-paths.txt
cat paths.txt | while read line; do cp $line ~/Desktop/file.zip && 7z e ~/Desktop/file.zip -oImages >/dev/null; done3 -
I always feel inspired by programming when I create some algorithms or programs which I can use when I need to.
Small utilities and command line programs r what I make at times... and I also enjoy trying to implement them awesome algorithms 😍
However, most inspiration I get is from looking at C code though ( especially the Linux kernel... that code is SO clean 😍😍 )2 -
Git on VS doesn't want to ignore the files I've added in the .gitignore.
Still no shell for command line.
Well, looks like my changes will be filled with DLL files.12 -
A custom script that makes a Jira ticket, assigns it to me, marks it as in progress, check out a git branch, set the commit title and the Jira title to my command line argument…. Push, open a PR, and fuck it, merge that shit too.
I checked all the corporate boxes and you got the typo fixed. -
It's embarassing and you guys will find it either rude or annoying but I have readied myself and here goes my confession;
Whenever I see the abbreviation for Command line interface I cringe. You know because cli ? And I read it in my head as 'Kli' which is like the shortened form of a female part ?
I can't just read it as "See, el, ai" or think 'Command line interface' directly.
My brain's first thought is it must be an acronym so you should read it like how you would read NASA which is also an acronym and not like 'cmd' which is not an acronym but just an abbreviation.
Thus whenever I see it I feel a mixture of embarassment, self-loathing and physical discomfort.
I wonder how can I not be embarassed and cringing whenever I see Something-CLI.
I just noticed when it's in uppercase I don't cringe as much. I should code a chrome extension to change all CLI abbreviations to upper case.13 -
For all the linux weebs tired of the Windows v/s Linux debate,
how about <strike>arguing over</strike> <b>agreeing with the obviously true fact of</b> how "nano is the *best* command-line editor, better than the *obscure* ed or the *vague cryptic* vim"
:))))))))))))))))))15 -
I mean yeah I use command line Git to manage sets of Minecraft mods. It's not a big deal or anything.10
-
Visual studio is rather silly.
In one project, just changing the character set to unicode was enough for the program to work.
In another project, exact same code, I also needed to add a command-line argument to enable unicode.
Isn't. That. Just. Silly.4 -
I feel like they should break DevRant up into categories based on post content, and in order to get between categories you should have to navigate to the other directory with a linux command line interface3
-
Linux has been around since back when dinosaurs punched holes in cards, but for some reason it still takes a few hours of googling and error debugging to do something as basic as connect to a wpa2-enterprise wifi network.
What the fuck? Where's the "connect to any standard work or school wifi network" command line utility distributed with all os flavors? Why can't I just put in a username and password and be done with it instead of sudo editing networking adapter configuration files manually?2 -
Just another day, building some hearty data structures in C.
I need to make a program that can multiplex user IO to different child processes from the command line.5 -
Question for vim veterans:
I am fairly confident with vim. I know a couple of commands like delete line, delete under cursor, copy, paste, undo and stuff like that.
So in command mode it's hjkl to move the cursor, which is a good idea because I won't have to move my right palm to the arrow keys.
However, in insert mode, if I needed to move the cursor, I would still have to move my left palm to the esc key in order to use hjkl. Why not just use the arrow keys then?8 -
What game engine would you recommend to an indie developer? The type who can't afford a fucking server to run the bloated and buggy unity editor but is actually a developer so isn't afraid of typing.
I've had enough of the improper sandboxing (will crash bc of game scripts), tempfile-based crash-unaware instance tracking (won't restart afterwards) and lack of UI scaling (seriously, that's like accessibility/retina support basics) that is the unity editor. If they had command line tools I'd use them happily.10 -
Hi, I am an Linux/Unix noobie.
Is there any other command line tools like GREP?
I want to take a look at it and think whetehr it will be great for a small school project or not.5 -
Golang's standard command line parsing library suuuucckkkkssss. But who the fuck writes command line apps any more? Everything has to be a fucking asynchronous daemon in a docker container orchestrated by kuberwhateverthefuck running in the ClOuD2
-
So I was looking for a way to easily take android screenshots in a lossless image format, since my OEM only does jpeg.
Didn't want to install another adware and wound up with the adb shell screencap command since I need the pictures on my PC anyways.
But instead of a nice one-liner like
adb shell screencap -p > screenshot.png
I need 3 lines in a bash script.
Can we please just end the line ending wars?5 -
`xdg-open` on Linux is fucked up. The thing never works properly for me.
In the attached screenshot below, you can see that `feh` is the default application for opening jpg files, however, it always opens the file in the browser. It doesn't work for any other filetypes as well. It's just messed up.
By the way, I tried to do some debugging on the line number xdg-open reports. It calls this bash line: `"$command_exec" "$@"`, however, when I echo the command, it prints nothing. So this means it can't find the program to open the file with and, at the same time, it reports that the program is set as you can see in the screenshot!!3 -
I've started learning shell scripting to help me write npm scripts for my web dev workflows. I'm actually really enjoying working with the shell.2
-
Gotta love software engineers. I'm writing some python to generate PDFs, so start by looking at chrome command line, which will be some headache with temp files and other madness.
Then find puppeteer, which does exactly what I want, but requires NodeJS.
Then find the unofficial python port, with a 5 line example of pretty much what I need to do.5 -
Our "Sys admin" knows nothing. 9/10 I do his job for him because he either doesn't know how or doesn't want to learn. I write all of the scripts HE should be writing. He manages Linux servers but doesn't know how to navigate the command line (even on windows) without using a 1. 2. 3. guide to what he needs done. Am I crazy or is the "Sys Admin" title giving him too much credit?4
-
Who would be interested in reviewing an old peice of Python code I wrote..? It's a few years old, and it uses basic procedual generation to cypher text (entry, or ASCII files) using a hashed password. It's a command line tool.
I used to brag about how "secure" it was, and now I'm curious if it is secure or not.
I plan on picking it back up and open-sourcing it, but I want to know what problems might be wrong with it now.9 -
Got handed a CentOS 7 cluster, previous admin made kernel command line changes in grub.cfg instead of default/grub.
Ah, thank you. -
the best part about development is that all code looks the same to most people - including devs
so long work assignments and hello command-line digdug1 -
Bad case of schadenfreude the biggest asshole on the dev team is having issues with his code merge! Someone merged 2 mins before him...lol. This is why you used the command line not the GUI!
-
Some years ago... And some xp less.
An old WordPress installation was attacked and our server was sending thousands of spam mails.
I found out that there was a line of code in the top of every php file. And I removed these files.
The problem was that
1) I was copying this fcking line to new files because I was thinking it was my code.
2) I found a Linux command to detect all these files and I removed them one by one. In every file. Many many files.
#hacker #goodolddays -
Wanted to scrub my presence off of Facebook, but wanted to keep the account to stay in touch with friends.
That's why I built a small command-line tool to automate the deletion of my Facebook posts using Node.js & Puppeteer, in order not to resort to using third-party apps that you hand over your credentials to. What do you guys think?
https://github.com/ar-maged/...2 -
I’m studying at uni remotely at the moment. I’m taking a software engineering class. I love developing software so I was super excited about this course. First assignment is to make a tic tac toe game in python. I finish the assignment super fast within the first hour of our first class.
We end up spending the rest of the fucking semester on this fucking program. No improvements, nothing. Literally just staring at this less than 200 line command line tic tac toe game talking about the same fucking shit every class.
Our fucking final is a presentation about this fucking program. The entire class is going to present the same command line python tic tac toe game
People told me that in the past, this class would find a local client and fulfill a request (making a website, etc)
However, now there’s a new prof teaching this course.
Best way I can describe it, 3 hours of this fucking prof screen sharing a google doc and droning on for 3 hours
I wish I could get the 20+ hours of my life back that this course has taken from me10 -
My life was troublesome today, had to help a non programmer to run jar files.
The jar executed well from command line in Windows 10 but didn't work on double click.
Did all the tricks, registry edits, cmd commands and at last I found a miracle tool called Jarfix.
Just double click and all okay.
The root cause of the problem was 7zip.
This bug is reported in the Oracle bug reporting and they have closed it as " Will not fix" low-priority report.2 -
CMD MELTDOWN!!!
Can you relate to this? Please fill out this two-minute survey - https://surveymonkey.com/r/J8G8H5J/ or drop a comment below. -
I never knew that debug symbols, a core dump and gdb would be so powerful to debug
The command line is peak ol' reliable7 -
Ban visual programming programs, like scratch after the fist month introduce them to enhanced Google search strings and let them code on the command line going from imperative, over functional to object oriented programming styles using languages suited for the current style. Not like using Java from the get go. I hated it, waiting until everyone got to the point where they kind of understood the logic but failed at using correct syntax and efficient coding styles.
-
Learned how to make Command Line Tools using python because of this fun weekend project.
Link - https://github.com/itsron717/XKCD1 -
I found the best text editor for basic code fixing
For a couple of days, I was looking for a simple terminal-based text editor for taking simple code notes or basic code fixing kinds of stuff.
As an aspiring developer, I really like the concept of coding without touching the mouse.
So I downloaded the king of CLI text editors, Vim.
Now, guess what happened.
Yeah, you're right. I stuck inside vim and couldn't even quit from there.
Then, I started watching a bunch of tutorials and started reading vim's documentation.
But then I realized, I have to learn a lot of things only to operate vim and it's a pretty lengthy process.
At that time, I really needed a very simple text editor for doing basic stuff.
But, vim is not simple... you know :)
So, I had to come back to 'nano' & I was not happy enough to write codes by using 'nano'.
Suddenly, I discovered another really cool text editor called 'micro'.
It's really awesome.
It's not as advanced as vim but definitely a lot better than nano.
Micro is an open-source command-line text editor created by Zachary Yedidia.
Some basic key points of Micro:
1. It's really easy to operate.
2. It has different colours and highlights.
3. It supports syntaxes for over 70+ programming languages.
4. It has mouse support.
5. Plugins & colour schemes.
The best thing for me is colour schemes & screen split support.
Check out my full article on DEV - @souviktests.20 -
I will never fully understand why some people think command line package managers are "more complicated" than searching for and downloading software through the web browser.
I feel like the only reason why they think this is because the command line is not a user-friendly tool to them. All of my friends on Discord use Windows, and after showing them what a fantastic tool the Chocolatey package manager is, they don't want to have anything to do with it, because it involves entering commands.
I give up. If they don't want to use this amazing tool, that's their loss, not mine. I will just continue to run
> choco upgrade outdated -y
and update all of my programs with a single command, while they have to download installers and manually go through the setups.10 -
Well finished work yesterday at the company where I would be grilled over whether it was safe to run an SQL script on the server using the command line but they thought nothing of everyone having to log in to the server as root!7
-
I just scroll past this question asking how to get good at Git commands (https://devrant.com/rants/9997784/...). Figured I'd share my thoughts as a separate rant cause it's a topic I've tinkered with a bit.
So, My initial engagement with git-related queries on StackOverflow dates back to around 2021.. Surprisingly, one of my short and straight-to-the-point replies got a hand full of attention. You can check it here: https://stackoverflow.com/a/...
Now, about mastering Git commands – from my own trial and error:
1). Instead of trying to cram everything into your big brain, scribble down notes. Trust me, it’s more practical. I kept a cheat sheet of sorts as notes on my PC, noting down the commands I used day in, day out. Super handy beyond just work stuff.
2). You gotta get what each command does, but you don't need to nail it all at once. Spend a day diving into the basic commands. Leave the trickier ones for later; they start making sense as you get more into it.
3). I had this aha moment when dealing with a merge mess using a GUI tool. Switched to the command line, and bam! It made way more sense. The command line's like a secret passage to really understanding Git.
So, if you're wondering how to tackle Git commands, my take is: *notes, *baby steps, and *lean into that command line magic. Mix them up your way and see what sticks for you!1 -
Some facepalm things I've discovered recently:
- Node's require("http") doesn't work for https - you have to require("https") specifically.
- Mongofiles (command line utility for Mongo, imports files as GridFS) cannot input more than one file at a time. Regex doesn't work. [Ended up making a puny Powershell script to do it].
- Airtable doesn't let you download your attachments, even if you export a csv - it's just a url to the image on their cloud.
It's been an exhausting day.1 -
Not just a rant, also a call for help.
After 10 years using Git, I'm constrained to use Mercurial (company policy). It effing feels like playing tennis with one arm tied to my back.
Please, who knows a good GUI for Linux, or at least a command line tool to show a decent log?
Kill Mercurial!3 -
Another small update on my games modding stuff...
Currently building a command line tool to pack the game data, currently have a working sprite packer and am able to actually read data from the packed file and export all images byte for byte... Holy shit I might be able to actually do this!
Let me know if anyone might be interested in seeing a demo or some very unclean source code!5 -
I was once working on a grand vision of a suite of analytical tools, which later turned into a single web app, which later turned into a desktop app, which eventually turned into a command line app, which ultimately turned into a background service that writes the results of a small subset of what it was supposed to do into database tables.1
-
trying to do a git merge by command line, because my coworker insists on developing directly on the staging server using ssh1
-
Just discovered Chocolatey and how it installs stuff through a command line. FINALLY AN EASIER WAY TO INSTALL JDK, ANDROID SDK AND ALL THAT!!!1
-
Student 18/M looking for reliable partner.
I like tinkering, I like the command line and I find i3 convenient, but I also often just need to get things done, I want my os to be rock solid, and I would prefer debian based because I need to run lesser known/supported software occasionally.7 -
!rant
What kind of Easter eggs have you guys added to your projects (personal or work)?
There was one I added to a command-line utility for work that, as long as you ran the right command on an OS with a GUI, would open a browser and navigate to "Never gonna give you up" on YouTube. 😎 -
Tonight I spent 5 hours installing arch. After seeing everything go smoothly I do the final reboot, only to watch the grub command line appear on the screen. I tried to boot into my arch installation but it kept talking about kernels missing and stuff. I thought I learned a ton but Fuck me. Now I'm installing neon kde just so I have my fucking linux desktop ready. Maybe someday I'll make it...3
-
Don't get dependent on desktop apps. Learn to do everything on the command line. That way it doesn't matter what machine you're using.
-
Things I have learned today after hours of research, testing, installing, and uninstalling:
windows command line won't reload 'Path' unless you close the terminal
And its not even like I haven't figured this out before!3 -
Am I the only one who turns off the PC by executing "die" in the command line?
(I use Archlinux with i3wm, so there is not a graphic button to turn off the PC, and writing shutdown -h 0 was too long)6 -
I've just realised, after a couple years of node.js I still don't know how to get command line input.3
-
since everybody seems to hate gradle i would like to say how much i like gradle for its possibility to build even big java projects from the commandline without the need of a a lot o scripts and especially the possibility to create a wrapper in order to use it even when its not installed on said machine.
it is the only reason why i am learning java now (i fucking loathe eclipse at the moment).
and regarding its speed. i had both. windows and linux. and for some reason i could only verify its slowliness on windows.1 -
I learned to program with the joy of the command line and ASCII rocket ships printed and shell games on GWBasic. It was fat spiral bound manual my Dad gave me when he worked at EDS. My dad then tried to press me to leaning a program for calculating prime and perfect numbers. My dad sort of forgot I was only six and hadn't learned division yet.1
-
Laravel, Symfony...
It doesn't seem to matter what framework I pick to learn next. I rarely get past the Installation step where I have to install and learn a bunch of command line tools first.
It makes me realize I no longer want to be a web developer as even the biggest step I can reasonably make in my career will still not result in an income change significant enough to pay for a mortgage, and the smallest step still expects me to understand all of these command line tools for seemingly no payoff whatsoever.
I feel stuck and depressed looking at all the toxic positivity on LinkedIn. I cannot fathom the amount of indoctrination that must be going on between all these people chirping about how great it is to work for their company.6 -
When you start mashing the tab key to get to a specific file, then realize you put 'cd' in the beginning of the line.
Then proceed to question your intelligence or lack thereof. -
I’m finally getting used to C and my brain doesn’t like it lol. Finished a problem set in like 30 minutes but now my mind is trying to process command line arguments in main and it’s just 🤷. like how can it take anything without just dying?? it’s defined as a string, but it can be a number without dying??2
-
Rant!
Shifted to new office few days back.
Just had to put up with the shitty intermittent internet connection.
SSH failing and coming out for every 50 secs.
Trying to take Mongo Dump and restore for the past 2 hours. Finally! ufff.
When the network is disconnected SSH gets disconnected. Fine. Acceptable. Again, when the network gets connected, it should start from the same place right ? Dumb Enough. But i wanted that today.2 -
So far I feel a lil in over my head. Decided to install archlabs. Not great with command line and I wanna get better so I figure this is as good a way to learn as any. Little nervous that windows is gone but oh well!1
-
My goal for 2020: actually finish a personal project.
Last year, I built 25% of a website, 10% of a companion app for a video game, and half of a command-line utility. I would really like to finish an entire project this year, but considering that I just started a new project that promises to be huge and unwieldy, that will probably have to wait for whatever project I try next after burning out on this one.1 -
Always interested in computers, started taking stuff apart, eventually found Linux, fell in love with that a bit and through command line learnt more.
Now finished a comp sci MSc and about to start a job. All I in know is there is a huge amount more to learn before I feel competent and confident. Excited about that though. -
Ok..now its up to you guys. I couldnt find any answer on google that could help me..
SSH : is that only like a dos or batch command line (simply script language) , to go with?
I see often the "$" sign , for what does it stand for?14 -
Sometime I re-type all my command line flags instead of pressing the up arrow just to feel like a hacker from the movies...that’s normal right?4
-
Why did it take years before someone told me to add this to your bash script to see the line on which a command failed?
errorOnLine() { echo "Line $1 had an error" ; exit 1 ; }
trap 'errorOnLine $LINENO' ERR7 -
CTO needed me to add the some more functionality to a specific script and then test it out on the main site. 2 days later, I have it working from the command line, but it won't respond to the site. After some digging, I find out the script he pointed me to isn't even in use and the script that actually needs to be modified is like 1500 lines long and set up entirely different than the one I had already finished. Back to the drawing board.
-
Just noticed that my laptop runs hotter and louder with xscreensavers running than when using the command line and doing heavy compilation...
-
A command-line animation command.
Input frames and an expression
It will be able to reorder frames, play video/frames/music in the background, smooth transitions, diff and patch frames and render into a video
It will be written in Go. No idea what to call it.
What do you think?8 -
Command Prompt is archaic and useless. The most I can do with it (without using other programs) is copy files and overwrite user passwords. Both useful, granted, but nothing compared to the Windows GUI - or, like, any other command line? Heck, I'd rather just have a python shell and nothing else.
-
What terminal font and om-my-zsh theme are you using? I'm using Inconsolata font and bullet-train theme 😎3
-
Linux is great
Linux can be customized
Welp, not so much. Simple things are not possible to do.
After 1H research I can't have timestamp near each line over SSH.
I'm not talking "history", i'm talking live.
basiclly I want to see timestamp on every single output line.
Basiclly this :
https://unix.stackexchange.com/ques...
But running automaticly for each command ever.
To be fair, same problem exists in PowerShell on windows
https://stackoverflow.com/questions...
And no, I don;'t want to switch to some random halfbaked teminal.31 -
Note to self.. Check how your backup restore works before actually needing it...
Coworker got ransomware to his computer via targeted attack and managed to encrypt about 6000 files on Google Drive share... Which I have backed up. However there are a total of 100k files so total restore is not an option and with 60 users updating things can't do point in time restore either... And thanks to the backup softwares buggy cmd line interface I can't create command line script to restore the files one by one... So in the end I most likely need to restore via sluggish gui one by one...3 -
Cant believe I just figured out ctrl R in a linux terminal. I have hit the up arrow key way too many times.
-
Holy fuck, I just found out about 'set -o vi' which allows editing the readline buffer (the command line buffer) using vi bindings. All that wasted time holy fuck me.1
-
When I first got Linux, then fell in love with diving through the system on the command line. Then I also realised I finally had the confidence to learn what I wanted, instead of what was advised to me.
Still in no way confident with programming, but I'm getting there. -
So what is the best free Mongo DB client for Mac? What are you using aside from the command line?
I prefer good ui and features. Thanks! 👍5 -
Is there any good and stable devRant command line app? I have everything but that to complete my setup.6
-
1. Make it so IT teams are only directly managed by people who know their shit about IT
2. Make nvidia opensourxe their linux driver, so we can have some real improvements
3. Make me able to rm -fr people and tasks from the command line.3 -
When react says "Module Not Found" then you realise that you have to add a period infront of the forward slash 😒
-
Hi, everyone.
This is a post created for those of you who want to step up their terminal knowledge, learn new tricks, or just learn the basics.
I found these links that will help you on your path to master the command line on mac.
Links:
1. https://github.com/juanfrans/...
2. https://medium.com/@manujarvinen/...
3. https://computers.tutsplus.com/tuto...
4. https://lifehacker.com/a-command-li...
I hope you found these links useful and you learned one or two tricks!
I appreciate it if you leave a comment and Rant++ this post.3 -
Dear the jackarse the wrote our highschool ComSci course.
Go fuck yourself. Pascal is deprecated long ago, no-one using it but you. You are dragging us down on the programming yet you want us to follow up "the great 4.0 revolution" while feeding us garbage from like what, the 90s? Please consider switching to some modern language, not necessarily the C family but please be something modern. And teach us to use the command line.
For the love of god
PTH6 -
Today, rebase finally made sense to me and I was able to squash a branch to remove a whole lot of unnecessary commits.
It only took 2 years... Guess all three times I used git in command line and all the Linux terminal/acting finally made a synergy.
Given I had to use force push that means it's like overwriting an existing repo with a different one?2 -
Microsoft has sunk to a new low.
I opened a command window to check if there was an existing python install on the path. It reported nothing back. Zero errors. A second or 2 later it opened up the Microsoft Store so I can find this missing app.
The one last sacred thing was the command line, and you violated it.
FUCK YOU MICROSOFT!4 -
Yesterday I asked a question on stack overflow about what algorithm I should use in order to parse command line strings like in gnu getopt for example.. And I've got downvoted for no GOOD FUCKING REASON. On top of that, my question is on hold. WTF?! For some time now stack overflow is becoming more and more a community of fucking cunts, arse-holes and toxic people.
Title:
" What parser algorithm is best suited for command line parsing? [on hold] "
My question:
"I want to write my own command line library from scratch. What algorithm should I use in order to parse gnu style args like in getopt for example ? I mean what's the best way other than tokenizing and parse them in a naive way? Should I try to look at LR, LL algorithms or this is way too overkill?"
Their response:
"Your question sounds like "I want to do X. What's the best way to do it?". Too broad, you need to be more specific about what problem you're having. (And keep your question clean. No meta-stuff in there.)"
I mean, what more context-specific reason should I add you dense motherfucker!? I want an algorithm to parse your momma's cunt so hard 'till it blows the fuck up. This what you want? You fucking senseless piece of garbage. God, give me a car to run over their fucking internet cable and over their head, too.8 -
When Ubuntu 15.10 upgrade process fucks your nvidia drivers install halfway through the upgrade. You then have to force restart your PC, potentially corrupting you drive, and continue the installation process in the command line before being able to fix the display drivers.1
-
Spreading happiness by introducing linux in my friend's laptop . This was the same guy , who told that linux could never match Windows and stuff . but within minutes of installation , he is shocked by the power and ease of the command line .
P.S. I am not mentioning the distro here .. as it will attract a lot of hatred . !!!6 -
I think I've just fallen in love with 1Password
Locally synchronized vault, command line integration AND the desktop app is written in Rust?
Hooo boy11 -
Navigating directories have never been easier with z, this post describes how to use it and how it works
https://monades.roperzh.com/weekly-... -
Ansible be like:
[DEPRECATION WARNING]: The sudo command line option has been deprecated in favor of the "become" command line arguments. Yadda yadda yadda yadda yadda...
Me:
# grep -rnw . -e 'sudo'
#
Then why the fuck do you keep yelling at my face?10 -
The man just asked how to make folders with the command line, what on earth is this 100-line nightmare json?
https://superuser.com/a/14187013 -
(first day at Command line)
cp /path/file
yes :) no destination..because Windows user algorithm
first ctrl+c then ctrl+v
took 2 hrs to figure out what's wrong -
When did people decide that developing using a tech that doesn't even have a proper command line debugger is a safe bet for a production system?
NodeJS, tower of nonsense... -
Spend 1 hour learning to configure networking interfaces via command line on an ubuntu VM for home use.
Can't ping anything.
Double check /etc/network/interfaces, restart box, check loopback interface functions, check physical cabling.
Realize that VM is attached to a separate virtual switch.
Virtual switch is tagged for Vlan 2, connected router is a flat topology.
Face palm. -
A command line tool built in Python that helps you analyse your git logs by exporting them into a csv/json file.
Can fetch the logs from a given file path or a git directory.
https://github.com/dev-prakhar/...3 -
I use the Parrot OS linux distro and I think my built in python interpreter is broken, when I run a .py program from the command line, I get errors that I don't get when I run them in pycharm, why is this happening?8
-
Is it just me or is it nearly impossible to get Chrome to dump its cache?
I'm curling a CloudFront distribution from command line and getting a different HTML file to when I clear the cache on Chrome. Firefox browser works fine from fresh install.
Chrome incognito also works3 -
I've never really understand why i should use tools with bad UI or even command line if it's not really necessary! I'm mean, we've FUCKING 2017, give me a proper UI! I want to work, not search every damn feature of the tool!
-
PSA: VirtualBox command line setup only works if....
--cableconnected1 on
Why does virtualization replicate these problems... Why?? -
What. Setproctitle actually changes /proc/PID/cmdline? Who thought that was a good idea? Now a bunch of people at my "security" company think that makes the command line a safe way to pass secrets.1
-
I seem to have built my app and tagged it as caddy:alpine by accident. How does this happen and why does Docker allow you to override images without specifying something as obvious as --override-registry-image on the command line?7
-
I am uneasy with these VCS integrated editors. I feel like not everything is gonna be added. I still use git bash when on windows.1
-
Dad brought home a i386 based desktop with MS-DOS and Windows 3.1 back in 1993.
Learned how to use basic command line to run video games like Commander Keen, Jazz Jackrabbit, Kilo Blaster, Wolfenstein, Doom, Raptor. All the classics. Good times.
I think we still have the computer somewhere. -
What's your favourite Git client and why? Mine is a combination of git and tig in the command line.7
-
There isn't a single good hex editor for the command line.
No, xxd+vim is not a solution when you need to move bytes around or create files from scratch.
I want something that shows me e.g. u32/u64 values at certain locations as I'm editing, color coding bytes by printable or not, etc.
There are lots of *viewers*, and a lot of shitty basic editors that hardly work, but nothing that feels solid and actually usable.
Frustrating.7 -
Was the standalone android sdk manager, the one that has a gui, a problem for most of the android devs for it to be goddamn removed? The command line sdk manager (tools/bin/sdkmanager) is a fucking pain in the ass for fucks sake.
-
After days of debugging server errors by tonnes of back-and-forth emailing with my hosting company, we finally arrived on the conclusion that I need to upgrade my account to be able to successfully execute python scripts.
This is apparently because when uploading files, they get encoded into a format that python doesn't like. APPARENTLY the ONLY solution is to create the files with the command line. How convenient that the command line is not made available to plebs not renting their premium package.
I guess this is what you get when paying the equivalent of $10 per year for web hosting.1 -
I have a couple of small ones, but one that stands out is actually fairly recent.
It was an independent project, more for practice than anything, but it involved fetching daily horoscopes from an RSS feed and showing it to the user upon request. I first just made it as a command line program,using some new modules I hadn't used before, and seeing everything work smoothly and neatly printed out made me super excited.
Not too long ago I even made a proper GUI for it using Tkinter, which also works nicely. :) Nothing so far has beaten that first excitement upon finishing the command line one, though. -
I hate windows, the fucking constant updates and restarts as soon as I start working.
I have been wanting to make the change for a while now but I would like to ask the community first, which Linux distro should I start with? I understand most basic bash commands and am fine navigating the command line, but would love to hear people's opinions. Thanks!6 -
JUST FUCKING NOTHING WORKS!
ERROR HERE ERROR THERE.
Then i tried to copy the exact sample code and it ALSO DIDN'T WORK.
AND THEN FUCKING VSCODE shows errors THAT AREN'T EVEN THERE. THEY MAYBE WERE THERE 10 MINUTES AGO. IS THIS SOME FUCKING INTERNET EXPLORER SHIT. ALSO COMPILING THROUGH IT DOESN'T WORK JUST THROUGH THE COMMAND LINE. AAAAAAAAAAAAAAAAAAAAAAAAAAAAH FUCK IT8 -
Whats your favorit command line text editor and why is it vim? #tiredofreposts #whoringfor++s #vimforthewin1
-
HP Switches are a clusterfuck of shit.
The command line interface seems to be designed in a way to ensure that HP support engineers will always be needed.
My supervisor and I figured it would be easier for our task to go and steal some Cisco switches from the other department to avoid having to deal with this giant pain in the ass -
Started messing around a bit with @LucaScorpion JavaRant API thinking I might make a command line app. Well I have about 50 lines of code later and it's working to get a random rant and all the comments. The trouble is now instead of working on it I'm just back to reading rants... No way I'll ever be able to work on this without getting distracted.2
-
I was so happy after I managed to integrate some Python code into Java with Jython. Then I realized the application uses 1200Mb of RAM, it should run on a small home router with 1GB of RAM. Yeah... Giving up Jython and going back to old fashion command-line parsing!2
-
Windows 10 , I just want a flipping built in command line executable to log off another (local) user. I'm not a server, I don't have active directory, I don't want to switch to log in as that user first, i want to just kill their inactive local session because cisco freaking vpn doesn't allow you to connect when a other user is logged in. I can kill the session from admin task manager, I just want to be in the commandline. If your gonna let software check the number of logged in users, let the freaking administration modify the number of logged in users with a cli.
Idk if I could turn it off an on again. On a server I would just issue "query sessions" or "query users" followed by "logoff ##". Why not let me do the same damn thing on my home computer sk I don't have to restart MY SESSION just to close MY WIFE'S session. You stupid fraking company that cannot provide consistent command line programs across various systems. SCREW YOU MICROSOFT AND YOUR UTTER ASANINE DECISION MAKING REGARDING WHAT FEATURES TO INCLUDE IN WHAT BUILDS.2 -
Node isn't setup correctly after installation. 😤😩
Help me troubleshoot this issue so that I can move forward in my lesson please!
I just wanna learn dammit.13 -
I cannot turn on wifi in kali linux. And when in recovery mode using command line i try to turn on wlan using
Ifconfig wlan0 up
I get a message
Wlan0 link not ready
What should i do i am not getting any soluyion tried many by searching on internet anyone can help?3 -
Comment your favorite line of any song, and use only print command of your suitable programming language. :)6
-
Trying to write a program a la `man` in ncurses and just, is this hell?
I just want a floating header, a scrollable main body that reads from a file, and a command line footer, why is that so difficult? I finally got it to handle resizing terminals but now I need to try to compile it for windows, which does have unofficial ports of ncurses, but I have no idea how to use them.
Should I just restrict the windows version to a non-interactive command instead of a TUI like I want?2 -
So I am running Spark on Docker. I have hardcoded the docker-compose file to 1 master and 3 workers which works fine. What would be a good way to dynamically scale the number of workers up and down through the command line ? I guess we have to use --scale or replica, but how ?
-
I have decided to set up a full Linux desktop pc, and go for everyday use and learn, mostly to catch up and understand better the whole UNIX and to get familiar with the command line there.
The problem is that there are hundreds of them, so if you can write some tips which one shall I go for?
Here is the info about what I need:
1 - I'm a web developer, so later I will move the work there too, capable of running a web server.
2 - I'm NOT looking for windows likeness or easiness, I'm looking for a distro which will help me the most to understand how it works in general, the file system, and the command line.5 -
Instagram "personal brand revolving code" checklist:
1. Quirky Hello World captions
2. Always has a mug of coffee
3. Code in background (usually HTML) with a pop open terminal showing the file directory to show that they know how to use the command line.
4. quirky pseudocode (usually a while loop) on there shirt.
5. Starting aimlessly on a laptop in places that don't make sense to work.
Seriously, Instagram is the worst place to have your personal brand for stuff like this. -
interesting conversation with the department head at my college (I'm a graduating senior): for incoming freshmen with no programming experience, do you think we should be teaching them to use a nice IDE, or start them with just a decent text editor and command line?
I was trying to convince the department head that we shouldn't show them an IDE until they've got the basics of command line down, and understand that a lot of what an IDE does is just abstraction of the command line.8 -
Has anyone used catch2? How do I pass the command line arguments to a test when I have test in a separate file. The supplying main yourself document is quite useless, it only tells you how to get the arguments but not how to pass it to tests. I saw people setting a global variable in main but it’s not working for me.
-
The more I explore npm, the more helpful knowing the CLI will be to me. Can you recommend any resources for learning how to use the command line better?
I have a couple but I'm curious what else is out there?6 -
Linux users needing to run literally ANY script again:
⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️...4 -
Anyone here do animation?
So I'm developing this command-line animation program. It'll obviously only be for quick stuff
I'm thinking of accepting frames and an expression to order, overlay and diff/patch frames.
What kinds of things should I implement? I have done basically no animation ever.
Previous post: https://devrant.com/rants/2312640/...
PS join the chat! https://gitter.im/animator-project/...
https://github.com/skuzzymiglet/...2 -
You may have the latest IDE with all the cool interactions and what not, but knowing how to use either Vim or Emacs on the command line will take you super far in your dev career.
-
God damn it, Gatling. Why didn't you put your fucking command line argument passing at the front of your docs instead of being buried under 'cookbook'? It's not a fucking recipe! it's core mother fucking functionality! "how do I run this command-line utility from the command-line by script?". "I don't know, maybe I should check the fucking cookbook since apparently it's not basic functionality that LITERALLY everyone using the fucking product will need!
So now I have to go back and parameterize one of the sims I've built AFTER I've mimicked our entire performance test matrix! FUCK! -
So I am gonna build a bashrc from scratch again.
There is just one thing messes me right now:
I don't know how to avoid the bug(?) described at the bottom.
Last time when I made one, used a line break, but whenever I went back in the command history and there is a long command (chain) it just messes up whole PS1 by getting inside, pressing backspace furiously to get the start of the command (mostly eating half of the PS1) and an up and a down to get back to command and see it properly.
Any good ideas to destroy that bug while it isn't born yet?1 -
I've only recently started learning how to use the command line for more than changing directories. Is there an equivalent of MDN for shell scripting? Is there Idiot's Guide to Shell Scripting (also works for me)?
-
Was trying to compile typescript files when suddenly my command line lagged and i can not acess it, i hate myself4
-
Ive got a weird issue with my raspberry pi script that doesn't let me type anything into the command line after the script runs.
I should explain I'm trying to write a script for retropie to load games from a script and to exit the current game from a script.
Anyone have any experience?4 -
[`script(x) ` for x in iterable if condition else command] [#:#]
Complex code in one line
#python
PS. That can be more complex, but I am lazy to continue with this -
*through gritted teeth* BLUEJ WHATS UR FKIN PRBLM. DON'T LET ME MAKE SOMETHING THAT WORKS IN YOUR OWN COMMAND LINE BUT NOT MY TERMINAL.
I just want to read a single integer from System.in on different occasions during the same program. You even let me close System.in without a warning and try to reopen it later, which I'VE LEARNED ISN'T SUPPOSED TO WORK. EVER.
BlueJ you have beautiful bracket highlighting but that's it, I'm leaving.
#edit
What the shit javac let's me compile this without warnings from command line?2 -
So for one of our applications we have this custom made build system with no real documentation made by someone who left the company and uses old tech with 2010 visual studio files
And despite never having had a chance to work with it before, im not only expected by the PM and other staff to use this command line build too to make a build for production; but also to add a whole new application to be built.
Fuck me4 -
Hey so I'm guessing embedding mysql is probably pretty much just creating a custom install under a subdirectory and starting it with a special config file with a custom port etc.
but is it possible with a single package and command line or is mssql possible to embed as well ?
that last interests me more. I prefer t-sql.7 -
Thanks to the simplicity of android command line tools I wasted 2 days trying to set it up and then ended up deleting every byte it created to install android studio which comes with its huge IDE which I'm never going to use.
-
Git Semantic commits. Any thoughts? I just came across this today. Any tools you could suggest? I came across a command line tool for feat, chore, test, bug, fix etc. by russiann on github should I run with that or something else?
-
List all commands for troubleshooting networking issues! (For Microsoft) Go!!!! (I feel like I'm forgetting some!)4
-
Spent all day yesterday and a pile of StackOverflow good will on debugging the fact that I was missing a hyphen and a period.
I really, really, really suck at this. -
Let's exclude some files from our coverlet coverage test!
Sure! That's easy, just remember to pass this super short, understandable, and rememberable command-line argument:
-- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.ExcludeByFile="**/myFile.cs/**"
You're fucking kidding me, right?
It's 2022 and tools are still using PowerShell syntax... just kill me1 -
Does anybody knows a command line tool that convert C file (sample.c) to hex file (sample.hex).
I don't need any GUI tool only command line tool.9 -
Does anyone have any recommendations for command line parsers for Python? I've looked at argparse click docopt so far. I am clearly bad at making informed decisions.
-
Do you guys listen to any programming podcasts which do not just center around one particular programming language? Any podcasts regarding topics like universal programming concepts, history of programming etc. At the moment I'm listening to Command Line Heroes (from RedHat) but I have almost listened to every episode and need new stuff :)
-
Spent all day fucking around with a tool, hoping to make it work, only to realize that I could just use Jinja templating and a cheap command line alias to render the template all along.
-
What's the minimal feature set that can make a language as ornamented as JS into a comfortable REPL?
Should I write a full parser or should I try to patch my way around with regex?
It will have to interface a lot with JS so it has to be able to manage JS datastructures in some fashion, which means that I can't just make a whole new command line with its own programs.
My current plan:
Some delimiter (probably a semicolon) will take the output of a command and inject it in the next in case you decide halfway through a line to do some more processing, It also awaits promises and does some other nice stuff to make controlling such pipelines easy. I have an elaborate system in mind to decide where a value must be injected to make the line valid so in most cases you don't even have to indicate it. JS has beautifully simple syntax rules so I have a lot of technical balance to burn before I start building technical debt.
I have some ideas for automatic parentheses and commas in function calls. I realize while using a command line you do not want to tap shift often. My main idea here is that two names or values in js are always joined by an operator so the first missing operator is a call and following missing operators are commas until the end of line. This has lots of nasty edge cases though, like that no argument expression can begin with a unary operator or a bracket of any shape. You can always prepend a comma but it's cognitive load.
Anyway, do you have any suggestion or warning besides "js bad" which I know but it's the most popular sandboxable language and has a massive existing set of libraries which I kinda need.3 -
I wish there is an open source alternative to forge or serverpilot. Not to use on production servers but for local development environment.
Yes, I'm not a command line person.4 -
I once blew up my git project by doing a find and replace string thru the command line. Long story short don't ever do it.
-
That time when you first learn command line to remove a directory and end up deleting the entire corporate intranet.
Thankfully there were backups.
Only learned afterwards they had just started doing back ups the day before.
(face palm)1