I mean I feel stupid typing it now, but Iā€™ve been using Windows since I was 5 years old, and Linux for about 30 days. It was not apparent to me that many of my folders were actually shortcuts to stuff in my user directory, and now that I know to look out for them the location of my applications make sooo much more sense.

29 points

Wait until you learn about hard links

permalink
report
reply
13 points

And bird mounts

permalink
report
parent
reply
15 points

Uh I think you meant bind mounts lol

permalink
report
parent
reply
12 points

Stupid autocorrect!

Errā€¦ I mean uhhā€¦ No, I mean bird mounts! Donā€™t you like mounting birds in your filesystem?

permalink
report
parent
reply
3 points

They might have but I certainly donā€™t

permalink
report
parent
reply
13 points

He said BIRD mounts and he meant it. It is up to us to rise to the level where we too can use bird mounts.

permalink
report
parent
reply
1 point

came here for this

permalink
report
parent
reply
45 points

Donā€™t feel dumb! This is just normal learning!

Symlinks are possible in Windows (at least in NTFS filesystems) but to my knowledge they arenā€™t used by anything official.

Windowsā€™s weird ā€œpsuedo foldersā€ thing it does with ā€œDocumentsā€ etc is something else entirely.

permalink
report
reply
14 points

Adding on to Windows: Thereā€™s no way (in the UI) to add symlinks. In Windows 10, symlinks must be created in an administrative command prompt. It is pretty damn clunky.

permalink
report
parent
reply
3 points

I think ntfs does some weird shit with translating names of files in different languages too, and maybe they are simlinks

Say desktop is translated to ntesctop in some language, the real file is still desktop but there is a link as ntesctop --> desktop so without changing the system it flips from one language to another. I am not sure, I havenā€™t really spent much time on it, in recent years I did some installations at work but never got to play with it much.

permalink
report
parent
reply
1 point

I donā€™t think that does an actual rewite point. A lot of the localisation features were done using file explorer. You can even ā€œlocaliseā€ folders yourself using custom desktop.ini files. But those changes only showed in file explorer.

Now email! In exchange the standard folders such as inbox are localised, but donā€™t have a fixed alias. So if doing administration you need to know the language of a mailbox to know the name of say the Calendar folder, so you can update permissions.

permalink
report
parent
reply
3 points

I just assumed they were the same as ā€œshortcutsā€ on Windows, coz to the end user theyā€™re not all that different - File that points you to a different file or directory when you open it

permalink
report
parent
reply
3 points

There are some really old introductory unix texts of how the system is structured and why, 99% of this stuff is still true for most linux (except some weird experimental alternatives where people tried to create ms-unix ). The basic terminal commands should also be useful, and help you understand. For example open a terminal and see the command for copy (cp) or (mv) or mkdir rm rmdir and use -h for the help of the options of each (if -h doesnā€™t work then --help does) and then extensive documentation is found by name of command after ā€œmanā€ for manual ex: man chmod

One of the most magical things that happens in unix is mount, where you create a directory (mount point /mnt), take a device like your usb stick volume named sdb1

mount /dev/sdb1 /mnt

ls -lah /mnt

say you create /tmp/disks and in it a b c d e and mount 5 disks in a through e and it appears as one subdirectory /tmp/disks

Instead of looking at a file browser and something going cling-clong and appearing as a volume, what dumb people do

permalink
report
reply
11 points

protip: put bind -s 'set mark-symlinked-directories on' in your ~/.bashrc and also bind -s 'set completion-ignore-case on' because why not :)

permalink
report
reply
24 points

Hey no worries, we all start somewhere.

Now that you know about symlinks, you can get creative with them: https://sparkventure.net/the-versatility-of-symbolic-links-in-linux-a-guide-with-examples/

The hard part now is to avoid overdoing it: https://www.ceos3c.com/linux/understanding-linux-symbolic-links-a-beginners-guide/#best-practices-and-common-pitfalls

permalink
report
reply

ā€œOverdoing itā€ doesnā€™t exist when you understand what it can accomplish. Bedrock Linux for example is based on symlink abuse from what I understand

permalink
report
parent
reply
6 points
*

Iā€™ll have to look into that distro later. Anything particularly noteworthy about it, besides the symlink abuse?

Edit: I did some rudimentary searching, apparently itā€™s a meta distro that letā€™s you mix and match stuff from multiple linux distros: https://bedrocklinux.org/

Thatā€™s actually pretty wild. I might play around with this in the future

permalink
report
parent
reply
5 points

That beginners guide says to avoid creating circular symlinks. What if, entirely hypothetically, I already have a circular symlink?

permalink
report
parent
reply
1 point

Delete one

permalink
report
parent
reply
2 points

I created a symlink to the directory the symlink is in. If I try and simply ā€˜deleteā€™ the symlink in a file browser it tells me that gigs of data will be deleted

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word ā€œLinuxā€ in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by AlpƔr-Etele MƩder, licensed under CC BY 3.0

Community stats

  • 7.8K

    Monthly active users

  • 7.1K

    Posts

  • 191K

    Comments