What are the fun ways to learn and master the file management system in Linux ?

50 points · 22 comments · view on lemmy.world

22 Comments

neidu3@sh.itjust.works · 13 pts · 81d (2 replies)

Are you referring to how to manipulate files, or more what the various files and folders do?

EDIT, now that I'm typing on a keyboard (connected to a linux PC, obviously), and not on a phone:

Depends entirely on your definition of fun, really, but the way I learnt it was basically by breaking stuff, sometimes intentionally:

  • Poking/editing files in /etc to see what happened
  • read and write data from/to files in /dev (Careful, these are devicenodes. This is an easy way of overwriting your partition table). As far as I can see, /dev/dsp doesn't exist anymore, but you could cat a .wav file to it and it'd play through the soundcard. I gues modern sound pipelines are a lot more sophisticated hence why I can't find it
  • Play around with redirects and pipes: > >> 2>&1 | 1>/dev/null
  • Get comfortable with file permissions and how to use them. I had many users on this server I had, and I liked to (ab)use the group bit to grant access to various things.
  • Poke every binary in /bin and /sbin to see what they do

:wq

LoveEspresso@cafe.coffee-break.cc · 4 pts · 80d (1 reply)

Had no idea that it was such a huge topic :))

Let's start off with something very simple : how to track a particular file existing in your system ?

urushitan@kakera.kintsugi.moe · 5 pts · 80d
find / -iname "filename" 2>/dev/null

Find a file by (case insensitive) file name. Search the whole filesystem (/). Pipe errors to /dev/null (since it will output permission denied errors trying access directories you don’t have access to, among other things)

CannedYeet@lemmy.world · 6 pts · 79d (1 reply)
LoveEspresso@cafe.coffee-break.cc · 1 pts · 79d

Thanks. This link arrives just in time.

Onomatopoeia@lemmy.cafe · 6 pts · 80d
luthis@lemmy.nz · 5 pts · 80d (2 replies)

There's the program that makes it 3d like in Jurassic park. 3dfsb

LoveEspresso@cafe.coffee-break.cc · 2 pts · 80d (1 reply)

Any link regarding this ?

luthis@lemmy.nz · 1 pts · 79d

https://github.com/3dfsb-dev/3dfsb

It's in the AUR if you use arch

Novocirab@feddit.org · 4 pts · 81d (2 replies)
LoveEspresso@cafe.coffee-break.cc · 2 pts · 80d (1 reply)

Why not MX ?

Novocirab@feddit.org · 4 pts · 80d

Haven't tried MX. The point with installing Arch (even if you just do it half-way) is that you get to tinker with fdisk, fstab, chroot and other disk-related things for setting up your basic system, and the instructions for that are really good.

Oisteink@lemmy.world · 4 pts · 80d

Linux from scratch.

Forester@pawb.social · 3 pts · 81d (6 replies)

Play hacknet

frankenswine@lemmy.world · 3 pts · 80d

it's spelled NetHack

LoveEspresso@cafe.coffee-break.cc · 2 pts · 80d (4 replies)

What sort of a game is that ?

A_Union_of_Kobolds@lemmy.world · 5 pts · 80d (3 replies)

Hacking simulator. Gives you a fake Unix-style computer with a terminal and window environment, you try to hack other computers and access a specific file etc

LoveEspresso@cafe.coffee-break.cc · 3 pts · 80d (2 replies)

Where to get that ?

Forester@pawb.social · 3 pts · 80d

Steam for like $3

dbx12@programming.dev · 3 pts · 80d
[ removed ]
just_another_person@lemmy.world · 3 pts · 81d

Bunch of sites out there like: https://www.learncmd.io/

nutcase2690@lemmy.dbzer0.com · 2 pts · 80d

You can combine practicing navigating the filesystem along with a game like rpg-cli !

hedders@fedia.io · 1 pts · 80d

You can think of it as basically "programs", "more programs", "stuff", "gubbins", "misc" and "other".