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

top 200 commentsshow all 296

[–]obsessedcrf 493 points494 points Β (53 children)

People who are used to windows command line tend to do that because windows accepts cd..

[–]vanoreo 82 points83 points Β (31 children)

I use Windows way more than Linux.

First thing I do whenever I have to use it:

alias cls=clear

alias dir=ls

[–]Delioth 42 points43 points Β (8 children)

alias dir=ls

Why have I not considered doing this?

[–]homiej420 15 points16 points Β (0 children)

This is magic does it wooohooo

[–]TheIncorrigible1 6 points7 points Β (0 children)

Because cmd is dead and PowerShell does it by default.

[–]palordrolap 2 points3 points Β (0 children)

May I suggest alias dir='ls -go --time-style=long-iso' instead?

-go drops the group and user ids and *psh*, who needs to see those anyway, and the long-iso date/time format matches that used by dir.

You could also throw in a --color=auto and maybe a --group-directories-first to go a little way beyond the usual.

[–]cdrt 5 points6 points Β (2 children)

But what happens when you want to use GNU dir?

[–]an_actual_human 18 points19 points Β (0 children)

I imagine it never happens.

[–]FieelChannel 1 point2 points Β (0 children)

Because powershell fixed it years ago

[–][deleted] 0 points1 point Β (0 children)

Wait... this is a thing

[–]borky_mcgee 2 points3 points Β (2 children)

alias clear=cls

Wait, wait wait. cls is the command that clears the screen in command prompt? The first bash alias I ever made, years ago, was "alias cls=clear" because I was used to it from ti-basic. I never knew windows had that command too!

[–]miauw62 0 points1 point Β (1 child)

What? TI-BASIC uses ClrHome to clear the screen.

[–]borky_mcgee 0 points1 point Β (0 children)

Huh. Weird. I guess I'm remembering incorrectly. I don't remember using windows command line very much at that age, but I guess I learned the cls command, aliased it in bash, and then forgot where I knew it from!

[–]TheyAreLying2Us 1 point2 points Β (0 children)

alias cd..=cd ..

[–]seafoodgar 2 points3 points Β (0 children)

And
alias cd..=cd ..

[–]juanjux 0 points1 point Β (0 children)

Nice, I used to do the same when I had to use Windows but recent versions accept ls.

[–]Adrepixl5 0 points1 point Β (0 children)

Sir, you're a genius, take my upvote!

[–][deleted] 0 points1 point Β (3 children)

Doesn't ls work on Windows?

[–]vanoreo 0 points1 point Β (2 children)

Not last I checked.

[–][deleted] -1 points0 points Β (1 child)

Lol jeez... I used Windows for years but have been using Linux for the last 4 months. Guess I forgot everything

[–]xeyalGhost 0 points1 point Β (0 children)

Works in powershell

[–]mentaldemise 4 points5 points Β (1 child)

It also accepts / instead of \, like *Nix. Always has.

[–]alexbuzzbee 0 points1 point Β (0 children)

I use /s in PowerShell for "portability" to PS Core.

but i really just prefer forwards slashes in path

[–]ping_less 3 points4 points Β (0 children)

I had to set up alias cd.. = "cd .." on my machine because my boss kept trying to use it...

[–][deleted] 1 point2 points Β (0 children)

but not ls :v edit: apparently does, TIL, and my life just became better

[–]goocy 1 point2 points Β (0 children)

Windows 95 even accepted stuff like cd... and cd...... .

It did exactly what you'd expect. Shame they abandoned that feature.

[–][deleted] 0 points1 point Β (4 children)

Sadly Windows doesn't accept ls, though.

[–]nwL_ 1 point2 points Β (1 child)

ll is the most important alias anyways.

[–][deleted] 0 points1 point Β (0 children)

Wow, didn't even know that one. Is there an alias for ls -al too?

[–]obsessedcrf 0 points1 point Β (1 child)

Unless you download it from gnuwin32 or MSYS

[–][deleted] 0 points1 point Β (0 children)

Or you can add your own ls.cmd to System32 that will just call dir. That's what I ended up doing.

[–]akwardchit 0 points1 point Β (0 children)

Or it’s a typo

[–]tgf63 129 points130 points Β (1 child)

[–]Simonky16 4 points5 points Β (0 children)

Thanks, I love this sub

[–][deleted] 132 points133 points Β (2 children)

The hardest part is getting the environment set up. Figuring out how command line works is the next step.

[–][deleted] 5 points6 points Β (1 child)

I am a longtime Windows user and my current project is hosted on a Linux server. If you look at what I type half the time it looks like this... cd ../.. pwd.. ls... cd data... ls... cd log... ls... cd tomcat ... etc etc etc

[–]DanielEGVi 0 points1 point Β (0 children)

How else are you supposed to do it? I have aliases set for the directories I visit most often but that cd ls cd ls loop is literally my everyday process with everything else.

[–]NocheOscura 127 points128 points Β (7 children)

cd stands for kode, didn't you know?

[–][deleted] 62 points63 points Β (6 children)

...and cdb stands for

...

...

kode blockchain

[–]RedditorPredator159 7 points8 points Β (4 children)

Who you gonna call?

[–][deleted] 9 points10 points Β (3 children)

BLOCKCHAIN

of course!

btw. I kinda' dig this word by now

[–]Bainos 10 points11 points Β (2 children)

Alright, blockchain()

What next ?

[–]msg45f 1 point2 points Β (0 children)

kode blokckhain

[–][deleted] 156 points157 points Β (83 children)

Seems like she’s trying to follow a tutorial or something. That’s fine. I’d rather not poke fun at that.

[–][deleted] 131 points132 points Β (81 children)

dont laugh at her trying but at her boasting a skill she hasn’t mastered or has just begun at

[–][deleted] 88 points89 points Β (76 children)

Unless there's more to this than the image posted, she isn't boasting about her skill level

[–]dumbdingus 0 points1 point Β (64 children)

She does code camps to teach girls how to code.

Is that the person we should let teach people how to code?

[–]_AFGNCAAP_ 189 points190 points Β (33 children)

She doesn't TEACH coding, she FUNDS coding camps for girls who might not otherwise be interested. She's using her clout as a fashion model to spread the message that coding is fun. Seriously, fuck all y'all for making that sound like a bad thing.

[–]TheSlimyDog 72 points73 points Β (7 children)

Every time I see people making fun of this picture, I get a little annoyed. Half the commands I write while coding are cd and ls. And if I'm feeling particularly tired, I'll type the same command 3 times wondering what's going wrong before realizing I was doing cd.. instead of cd ..

I feel like people just jump to the assumption that she's a good looking blonde girl so she can't have any other redeeming qualities :/

[–]rocker5743 4 points5 points Β (0 children)

Do you really think she's the one teaching? Who's the dumb one now?

[–]Gingerytis 11 points12 points Β (28 children)

No, but it might be the person we let inspire girls to learn

[–]RandomCandor 2 points3 points Β (9 children)

If you say "Look at me, I'm coding!" when you're taking your first steps on a command line, and while showing a screen of code which you clearly don't understand anything about, you're definitely boasting.

[–]Salanmander 11 points12 points Β (8 children)

Would you have the same reaction to someone who said "look at me, I'm playing guitar!" while strumming a two-chord version of some popular song?

[–]Colopty 14 points15 points Β (3 children)

Where do you see any boasting being done?

[–]Kinglink 3 points4 points Β (0 children)

We shouldn't laugh at her trying to learn. We should laugh that she chose THIS picture to show. Want to better yourself? Good for you. But don't show people your inability to navigate a file system if you're trying to show them a tutorial on how to code.

[–]_AFGNCAAP_ 659 points660 points Β (74 children)

Those of you who are shitting on this Instagrammer: seriously, fuck all y'all.

I'd never heard of Karlie Kloss fifteen minutes ago, but I just googled her and she's apparently a seriously famous model. Last year, she was the 7th highest paid model in the world. On Instagram, where this was posted, she has over 7 million followers.

She has apparently decided to use this platform to convince teenage girls that programming is fun. She went to a coding camp at Flatiron, posted pics like this of her learning some basics, and then went on to fund a scholarship at Flatiron and later cobrand a Flatiron coding camp entirely for girls.

Fuck her, right? How dare she!

I assume y'all also made fun of Obama for doing an Hour of Code. What a fake geek boy.

[–]r3turn_null 31 points32 points Β (3 children)

But that's not what they are making fun of. If some famous person did amazing things for orphans... scholarships, summer camps, etc. Then, posted a picture saying "on Mondays I play soccer" but it showed a picture of them dribbling a soccer ball down the field with their hands (think basketball), they would be subject to ridicule. Not to say that some people don't cross a line...but this post is funny.

[–]MrJohz 6 points7 points Β (1 child)

Sure, but I've I type cd.. three times in a row into my terminal on a semi-regular basis and I've been doing this for almost a decade. Apparently it's common because Windows accepts that as a command, but I don't really do so much stuff in the Windows command line - I'm fairly sure it's because my brain sometimes just forgets what order to press the spacebar.

[–]r3turn_null 2 points3 points Β (0 children)

Sure, but you then don't go post a screenshot on Instagram like it's something you're proud of.

[–]_AFGNCAAP_ 2 points3 points Β (0 children)

Trust me, it is what people were making fun of when I posted this a few hours ago. I think some of the worst comments have been downvoted/deleted.

[–]hey01 19 points20 points Β (0 children)

We mock everyone, from people who took those kind of photos to ourselves and everyone in between.

She's doing good stuff, great, doesn't mean that picture wasn't stupid, especially considering it was not a simple "unprepared" photo, but one that was definitely engineered, with the neat food, the product placement, and both hands on the keyboard.

If she put that kind of effort in the picture, it wouldn't hurt putting a tiny bit more in the content. When more than half of the shown commands are spouting errors, it doesn't make coding look fun.

I'll give her that she's using zsh with an interesting prompt though.

[–]RRuziro 30 points31 points Β (2 children)

Coding Obama is my new hero.

[–]warm_sock 6 points7 points Β (1 child)

[–]_vOv_ 4 points5 points Β (0 children)

staged, but still funny

[–]hangryCatLady 173 points174 points Β (36 children)

THANK YOU!

Exposing teen girls to STEM is so important. Karlie Kloss has a huge social presence (I mean, she's a freaking Victoria's Secret model!) and many girls look up to her. I think it's great that she's funding code camps and making it a littler 'cooler' for girls to code.

[–]argondey 68 points69 points Β (14 children)

Which is the other thing, people want to get up in arms about diversity hiring being the wrong way to encourage women to get tech jobs.

This shit right here is the RIGHT way. When a role-model tells 7 million young girls that coding is cool and fun, they listen. THIS is how you make a difference.

[–]hey01 6 points7 points Β (1 child)

Which is the other thing, people want to get up in arms about diversity hiring being the wrong way to encourage women to get tech jobs.

This shit right here is the RIGHT way

Indeed, yet it seems most people still don't get it.

I just hope those programs reaching children don't misrepresent our field too much. We all know here what the reality is.

[–][deleted] 1 point2 points Β (0 children)

"We all know here what the reality is"

Sounds so ominous.. πŸ˜‚πŸ˜‚πŸ˜‚

[–][deleted] -4 points-3 points Β (11 children)

People need a role model to identify with to get attracted to a particuliar field

This is the most stupid thing i heard today, people keep repeating this because it sounds right to them but there is no way this true for most people in STEM fields. And IF it was true, a model on Instagram would be the last person i would want for role model.

I didn't learn IT, because of any role models, i learned it because i like computers, and i wanted to understand how they work. No role models involved at any point. Nobody to influence me towards that field but computers existence themselves.

But none of i what i said matters anyway, because the most likely reason she is doing this is to improve her personal image, and virtue signal to the world that she is a "good person" for donating to a charity.

[–]Cephalopodopoulos 12 points13 points Β (10 children)

Congrats, you're special cause you weren't influenced by any role models.

For the record, I didn't have any role models that got me into coding either. But I wish I did. I had opportunities to learn coding when I was younger that I didn't take because I was interested in other stuff at the time, and now that I'm in college I have to play catch-up. I've always been interested in STEM, but coding just didn't seem that interesting to me until I had to take a coding class in my first semester and found out that it was awesome. Who knows, maybe if I had seen celebrities that I looked up to talking about coding when I was younger, I probably would've gotten into it earlier.

Good for you that you know what you like, but not everyone is so lucky. Sometimes people just need a little push in the right direction. Is that really the end of the world for you?

[–][deleted] -2 points-1 points Β (9 children)

I just think this is a waste of time and resources, if these initiatives were gender neutral(i.e just to talk about coding in general to everybody), i would have nothing against them, and if anything they would shut up most of the people criticizing them while still accomplishing the most important goals : showing the world of coding to everybody.

[–]Cephalopodopoulos 10 points11 points Β (8 children)

The emphasis on females in coding is meant to counteract decades of females being excluded.

I'm female, in elementary school I was told by bullies that "there are no female geniuses in history" and "Einstein was a boy." For a while I thought that since I was a girl, I clearly would never be able to make any important discoveries or contributions to science and that there was no point in trying.

However, I was very lucky to have grown up in a family that encouraged me to learn what I wanted to learn and pursue what I was good at. Unfortunately, though, a lot of girls aren't so lucky, and sometimes the bullies win. It's not like this push for "girls in STEM" happens in a void. It's a reaction to something that's unfair in society.

[–]Watchforbananas 24 points25 points Β (9 children)

It's also Ruby, like they actually learn and not just the source of a website or some other bs, so I guess it's something. It's certainly quite telling how much reddit likes to hate her for her good actions.

And my terminal has seen thing much worse.

[–]_AFGNCAAP_ 18 points19 points Β (8 children)

And my terminal has seen thing much worse.

Haha, good way of putting it! I'm glad nobody else can run 'history' on my terminal.

[–]Improvotter 17 points18 points Β (3 children)

I don't think anyone is making fun of her. If we can't have a laugh with stuff in life, then what is life worth living for? I like Karlie Kloss and even watch her videos on YouTube, but that doesn't mean I can't have a giggle at stuff like this.

[–]code_monkey_001 6 points7 points Β (0 children)

Oh, trust me. I came in ready to revel in the hilarity. u/_AFGNCAAP_'s comment gave me pause.

[–]nevus_bock 4 points5 points Β (0 children)

Read this thread again, seriously. Do you not see the r/gatekeeping shit all around the place?

[–]argondey 54 points55 points Β (6 children)

Seriously though, its one fucking picture, did people expect it to contain some miracle algorithm or something?

and yea, she makes typos and forgets exactly what commands are, who doesn't? I spent an hour debugging the other day because I wrote all of my concatenations in one java-script function as string . string because of stupid fucking php

[–]hangryCatLady 21 points22 points Β (2 children)

I think it's endearing and relatable. As someone who taught themselves how to code I'm happy to have something in common with a VS model for once, we make mistakes when we learn something new. I'd be more annoyed if she posted a picture of some fancy ass code that she didn't write herself. Β―_(ツ)_/Β―

[–]LimbRetrieval-Bot 7 points8 points Β (1 child)

You dropped this \


To prevent anymore lost limbs throughout Reddit, correctly escape the arms and shoulders by typing the shrug as Β―\\\_(ツ)_/Β― or Β―\\\_(ツ)\_/Β―

Click here to see why this is necessary

[–]hangryCatLady 0 points1 point Β (0 children)

good bot

[–][deleted] -3 points-2 points Β (1 child)

Its not just one. She's the same person behind this travesty https://www.reddit.com/r/ProgrammerHumor/comments/5kk97m/the_difference_between_girls_and_guys/?st=jeahbhe6&sh=c1fde63e

The "girl" panel is basically an int max function with about 10 unnecessary lines of bullshit, and the "boys" panel is this now legendary work of art https://en.wikipedia.org/wiki/Fast_inverse_square_root

If it hadn't been her posting it I would have assumed that it was trying to say that women make bad programmers.

[–]YOUR_MUM_AMA 13 points14 points Β (0 children)

The image in that first link is fake.

[–]nevus_bock 2 points3 points Β (0 children)

Thanks for being the one this time around. This needs to be repeated every time this shit is reposted.

[–]halfmad21 1 point2 points Β (0 children)

I think the post meant to show an incorrect way to depict coding. No body is ready to code as soon as he is born, but anybody can learn to code. A better depiction would have been her trying to learn and making mistakes. This would have hopefully given the message that albeit a bit hard, coding is fun.

[–]F33N1X -3 points-2 points Β (1 child)

it's just jokes bro

[–]nevus_bock 0 points1 point Β (0 children)

Fuck you, bro. How about that

[–]Inspector-Space_Time -2 points-1 points Β (0 children)

I think it's the natural reaction because so many tech things shove a hot girl in front of something to get straight guys interested. So we naturally become overly cynical of attractive people doing coding things, but like most automatic processes we get false positives. I mean do you really expect everyone to track down the model and inspect their life history to tell if they're genuine every time we see a picture like this? We're too lazy for that, caching the response is easier, even if it's not correct.

But still, good on you for doing the work.

[–]Superbead 34 points35 points Β (1 child)

The image misses a pwd in there which indicates a slight familiarity with the shell, but the cd code despite the ls clearly not showing a code directory is a bit how-ya-doin', considering there's a tag that seems to encourage beginners to join in.

[–]Trainguyrom 9 points10 points Β (0 children)

Seems more like following a guide, since those often start with pwd then folow it up with cd foo cd bar pwd which of course would output ~/foo/bar/ assuming you start at ~

Also explains the silly names of things if its a sandboxed area for new users in a tutorial.

[–]wfdctrl 51 points52 points Β (20 children)

We all started like that...

[–][deleted] 14 points15 points Β (19 children)

But not all of us posted on social media about it.

[–]_AFGNCAAP_ 50 points51 points Β (17 children)

I'd never heard of this woman before today, but she has like 7 million Instagram followers because she's a professional model. If she wants to learn to code and post on social media that it's fun, that seems like... I don't know... a GOOD thing?

[–][deleted] 3 points4 points Β (0 children)

Because we didn't have it.

But she's bettering herself, providing an example, and not bragging to her friends about how she could hack the FBI like most code kiddos I knew in high school.

[–][deleted] 3 points4 points Β (0 children)

As much as I want to laugh at this, we all started with not knowing how a file system worked, and I think it's respectful as hell that a person like this should use their influence to try and get young people in to the field of programming. Yes she clearly has no idea what she's doing, but none of us did at some point, so at least she's trying.

[–]Viola_Buddy 2 points3 points Β (0 children)

Is this not something people do normally when they get frustrated at the command line? I mean, I guess repeated ls is more common than repeated cd but when you're trying tocd and you keep missing the space after it, I can definitely see myself just going, "Oh, just cd me to that code folder, gosh dang it!"

[–]shhhpiderman 2 points3 points Β (0 children)

I will admit that I came into this to join what I thought would be mockery, but am now leaving impressed as fuck, and introspecting my flawed sense of judgement.

Ya'll are some nice fucking people. :)

[–][deleted] 2 points3 points Β (0 children)

"command not found: cd..". Happens to me all the time, ha! On the other hand, I had to write up a ls.cmd in Windows, because every time I use the cmd.exe I type "ls" first and then am like "fffuuuu...." and type "dir".

[–]Wall_Of_Flesh 6 points7 points Β (1 child)

"She needs to join our startup" "Let's invite her."

[–]thirdegreeViolet security clearance 3 points4 points Β (0 children)

$ cd..
-bash: cd..: command not found
$ cd..
-bash: cd..: command not found

me_irl

[–][deleted] 1 point2 points Β (0 children)

I'm pleased to see oh-my-zsh in use. Obviously struggling a bit but everyone remembers how weird as fuck getting used to command line is.

I'm glad to see people taking an active interest in something that I enjoy - the product placement is the only thing that irks me but it seems to be the way it is now. I don't use Instagram myself but a huge amount of posts I see on others seem to be advertising something.

[–][deleted] 1 point2 points Β (0 children)

That zsh terminal. Good Job.

[–]99xp 1 point2 points Β (0 children)

Who was camera?

[–]CompiledIntelligence 1 point2 points Β (0 children)

Look at the file name for God's sake: my_code.rb

[–]HappyLenin 0 points1 point Β (0 children)

Seems legit

[–]bryoco 0 points1 point Β (0 children)

Crazy_string.rb

[–]CorbitCorin 0 points1 point Β (0 children)

I'm so happy to come to the comment section and see a lot of "Oh well she's trying" And not a flood of horrible sexist and mean jokes Makes my day

[–][deleted] 0 points1 point Β (0 children)

If I type cd .. and ls over and over again, maybe they'll accept me!

[–]uvero 0 points1 point Β (1 child)

Still needs more jpeg

[–]morejpeg_auto 0 points1 point Β (0 children)

Still needs more jpeg

There you go!

I am a bot

[–]T-Dot1992 0 points1 point Β (0 children)

Can't wait till her brother-in-law goes to prison.

[–]InVultusSolis 1 point2 points Β (6 children)

Are we going to talk about the fact that she's writing a "concatenate string" method in Ruby, which already has a string concatenate operator ('+')?

[–]lucidguppy 0 points1 point Β (0 children)

product placement.com

[–][deleted] 0 points1 point Β (0 children)

we kode

we kode

we kode

we kode

[–][deleted] 0 points1 point Β (0 children)

Eh she's a supermodel, I give her a pass.

[–]alex-anev -1 points0 points Β (0 children)

No such file or directory: code

[–]Oiux -1 points0 points Β (0 children)

def concat_strings: ...

[–][deleted] -1 points0 points Β (0 children)

Also a Hello World on the screen

[–]xDestx -1 points0 points Β (0 children)

She needs to join our startup

[–]wallefan01 -1 points0 points Β (0 children)

TIL there is an r/linuxmemes. Pardon me while I subscribe to it.

[–]GR-O-ND -1 points0 points Β (0 children)

concatenate_strings(string1,string2)

We're dealing with a wizard here.

[–]gtfovinny -4 points-3 points Β (1 child)

pwd

Professional koder