Something like that indeed.
Every active network connection, every process, every piece of hardware and others are in your file system.
Then there’s also the possibility for linking to a file and links take up no space, but can show up like files.
You can use a command like ‘stat’ to get more information about a file (or directory).
- 0 Posts
- 12 Comments
Something to realise when starting with Linux is that everything is a ‘file’. Sockets, processes, input, output etc. That’s very different from Windows and part of why scripting on Linux is so powerful. You can interact with anything.
So some directories are filled with things that aren’t necessarily files but look like it. Someone else posted a whole list, just realise that under those directories/paths shouldn’t be messed with unless you know what it’s for.
Generally when you’re getting used to Linux, /home/$user (aka ~) is where you put personal things. The rest is managed by OS and applications, don’t worry about it.
Edit: spelling
If you’re hosting websites and not applications, perhaps you can use SSGs like Hugo/Gatsby. You could deploy your site in a bucket and put cloudflare in front. They can also be used on your own server of course. If you are hosting applications and want to keep them on 4g, you could put a CDN (CloudFlare or …) in frint of it. That would cache all static resources and greatly improve response times.
If you’re hosting websites and not applications, perhaps you can use SSGs like Hugo/Gatsby. You could deploy your site in a bucket and put cloudflare in front. They can also be used on your own server of course. If you are hosting applications and want to keep them on 4g, you could put a CDN (CloudFlare or …) in frint of it. That would cache all static resources and greatly improve response times.
forwardvoid@feddit.nlto
Selfhosted@lemmy.world•Kubernetes? docker-compose? How should I organize my container services in 2024?English
6·2 years agoPortainer + caddy + watchtower, this will give you the benefits of containers without the complexity of Kubernetes. As someone who professionally works with Kubernetes, I agree with what other people have said here: “only run it if you want to learn it for professional use”.
Portainer is a friendly UI for running containers. It supports docker compose as well. It helps with observability and ops.
Caddy is an easy proxy with automatic Let’s Encrypt support.
Watchtower will update and restart your containers if there’s an update.
(Edit: formatting)
forwardvoid@feddit.nlto
Technology@lemmy.world•China launches test runs for world’s largest plant that can convert coal to ethanolEnglish
25·2 years agoIt’s not efficiency that makes people prefer democracy.
forwardvoid@feddit.nlto
Linux@lemmy.ml•I created a shitty Python script to manage multiple SSH connections because I couldnt find a decent one
15·2 years agoGreat attempt on making a tool, I think your usecase might not be as appealing to others. If I need to list the hosts I have config for I would use: grep Host ~/.ssh/config If your list of servers is too long to remember, you might want to look at Ansible for configuration. But whatever works for you :)
forwardvoid@feddit.nlto
Selfhosted@lemmy.world•Mapping ports to domain URI [Solved]English
5·2 years agoI would suggest using Caddy. I think it’s a little simpler than Traefik and can automatically handle LetsEncrypt SSL/TLS certificates for you
My 2c, buy RPi’s because what makes them so great is the availability of drivers and information. You will end up paying with your time if you try to save some money up front. I had several OPi, one randomly started throwing errors. After several reinstalls with various sd card, the information I could find was that the SoC itself was causing the errors. Also getting any hardware to work with it is just a major pain, driver support is severely lacking. Support for the Linux versions is community driven, so you’re dependent on Armbian maintainers. If you have a very new or an older board, you’re probably out of luck when you want to do anything outside of Linux. Example, I could not get a camera and BT module working. I later bought a RPi4 and had the same hardware working within hours.
forwardvoid@feddit.nlto
Technology@lemmy.world•Apple to Limit iPhone 15 USB-C Cables to USB 2.0 Speeds: ReportEnglish
3·2 years agoIf this is all based on just the teardown of a cable than the article is just speculation. If it really lacks all additional pins this is just malicious compliance on Apple’s part. “Oh you asked for a usb-c connector EU Commission? Here it is”.
forwardvoid@feddit.nlto
Technology@lemmy.world•Apple to Limit iPhone 15 USB-C Cables to USB 2.0 Speeds: ReportEnglish
1·2 years agodeleted by creator
forwardvoid@feddit.nlto
Technology@lemmy.world•Apple to Limit iPhone 15 USB-C Cables to USB 2.0 Speeds: ReportEnglish
12·2 years agoThe article states that the iPhone (the device itself) will be limited to USB 2.0 speed. Do you have information otherwise? Also limiting the speed does not mean it will not support the additional protocols that USB-C would allow for. I believe why people are making a fuzz over this is that people with iPhones want to be able to do large exports/backups/imports. Specifically those that use the devices professionally. In those cases you would want all the speed you can have, and this feels like an arbitrary limit set by Apple because they don’t want to fully comply. Perhaps there are good reasons due to heat issues in the storage controller.
That’s not what ‘keyless entry’ means. You still have to open your door, you just don’t need to press a button to unlock it first.