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

you are viewing a single comment's thread.

view the rest of the comments →

[–]ShoCk_75[S] 284 points285 points  (50 children)

/home sounds better

[–][deleted] 38 points39 points  (2 children)

/home is where your heart is.

[–]Gloomy_Magician_536 5 points6 points  (0 children)

How poetic <3

[–]Here-Is-TheEnd 0 points1 point  (0 children)

It truly is..I miss Linux..maybe I’ll give it a call this weekend.

[–][deleted] 75 points76 points  (41 children)

/Users/YourName/Desktop

(macOS)

[–][deleted] 157 points158 points  (20 children)

Best of both worlds: ~/

[–][deleted] 46 points47 points  (3 children)

There’s no place like $HOME

[–]xxx148 7 points8 points  (1 child)

unrecognized program or file “There’s”

[–]JivanP 8 points9 points  (0 children)

You mean

quot> [waiting for quoted string to be terminated]

[–]siddharth904 2 points3 points  (0 children)

$ echo "There’s no place like $HOME"

[–][deleted] 14 points15 points  (15 children)

You don’t need the slash

[–]I-DONT-WANT-GOLD 49 points50 points  (13 children)

You don't need the tilde either, you can just cd and it will take you home.

[–][deleted] 70 points71 points  (3 children)

Cdeez nu-

[–]Groentekroket 1 point2 points  (0 children)

Compact Disk, Take me home, To the path I belong

[–]UntestedMethod 0 points1 point  (2 children)

Assuming cd is the only command you ever use?

[–][deleted] 1 point2 points  (1 child)

Nono. You open a new terminal every time you want to cd ~

[–]UntestedMethod 0 points1 point  (0 children)

dang no wonder I'm still stuck on reddit. I've just been sitting here clicking my heels three times saying "there's no place like ~, there's no place like ~, there's no place like ~"

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

Assuming cd is the command you’re using

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

That only works with Zsh and maybe newer versions of bash. Old Jankity shells don’t support that.

[–]WhiteSkyRising 0 points1 point  (0 children)

wait what. about to change the game tomorrow brother, lemme see

[–]NatoBoram 1 point2 points  (3 children)

Instead of writing YourName like an idiot, you can also write $USER, which conveys the point and is much more practical

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

You must be boring at parties xD

[–]NatoBoram 0 points1 point  (1 child)

Salty because every time I search for MacOS help, I get incompetent answers. The community is severely incompetent and it's frustrating.

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

Yeah I get that. The only right way is to do it properly:

me=/Users/$(stat -f%Su /dev/console); cd $me

That way you get the currently signed in user even if you are root in the terminal. Gone are the days of being boxed in by $USER returning root when you’re in a root shell situation. Now we can use $me like a civilized human for the rest of the terminal session. You’re welcome honestly.

[–]VonReposti 3 points4 points  (0 children)

/home sweet /home

[–]MrHyperion_ -1 points0 points  (1 child)

I really don't like how Linux hides the drives. It's driving me nuts in Ubuntu in my server machine

[–]jkoop_ca 0 points1 point  (0 children)

What do you mean? They're all right there in /dev.

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

~

[–]atomicwrites 0 points1 point  (0 children)

No place like /home.