Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on cafe.coffee-break.cc

22 replies

sh.itjust.works

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

13

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 ?

4
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)

5

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.

4
lemmy.world

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

5

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

1

You reached the end

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