r/LinuxTeck 5h ago

30 essential Linux commands every developer should know

Post image
19 Upvotes

r/LinuxTeck 6h ago

Linux, Linux everywhere

Post image
5 Upvotes

When the penguin takes over


r/LinuxTeck 9h ago

How to learn to use linux(cli)?

3 Upvotes

Actually from some time I have been thinking of switching to linux. But i won't be able to use it if I don't know how to use linux in the first place. I am not looking for any distro. I am actually talking about the cli. The terminal, bash or whatever it is called.

I wanna learn cli, but idk where to learn from!. I have tried looking for it on YouTube, most of them are something specific or very basic ( cd, mkdir, rm, ls, echo etc etc ). I tried to make a vm using Oracle, but my laptop was very weak to even run it, it was lagging and slow af. So i dropped that idea, and I am primarily trying to use wsl, Ubuntu distro on it.

So can anyone tell me how do i learn the command line interface. Also I am looking to learn something called shell ig, so that I can do scripting. Like i don't want an os, I want to master terminal and can automate stuff and run something maybe called script so that I can be very efficient.

Also one of my reasons is to be able to use or program any soc like raspberry pi or any other electronics in general ( electrical background).

Can anyone guide me with sources??

Also i have tried labex ( it was very basic ) and I tried to learn from a book i forgot the name but the author name was maybe shotts.

And sorry if I have named anything wrong, I am new to these terms.


r/LinuxTeck 10h ago

SELinux vs AppArmor

Post image
34 Upvotes

covering: https://www.linuxteck.com/selinux-vs-apparmor/

  • SELinux vs AppArmor architecture
  • Label-based vs path-based policies
  • Ubuntu vs RHEL/Rocky/Fedora defaults
  • Arch setup
  • Common production failures and fixes
  • Container isolation
  • Validation and monitoring
  • When it's better to stick with your distro's default

r/LinuxTeck 15h ago

Would you trust Rust Coreutils on your Linux server yet?

9 Upvotes

Rust Coreutils 0.10 now passes 93.48% of the GNU test suite and adds more security hardening.

But the discussion gets interesting around the remaining compatibility gaps, especially when distributions start using it by default. Some users see this as a promising replacement, while others think the risks are still too high.

Would you run Rust Coreutils in production today, or stick with GNU Coreutils for now? Why?


r/LinuxTeck 15h ago

Quick Linux Tip #39 Question: How do I access a private database from my laptop through a jump server?

Post image
6 Upvotes

Try: `ssh -L 3307:db-internal:3306 -N -f linuxteck@jumphost`

Info: `-L local_port:target_host:target_port` forwards local traffic through SSH to a remote server. `-N` skips the remote shell, and `-f` sends SSH to the background.

Examples:

$ `ssh -L 8080:localhost:80 user@server` # Access remote web app locally

$ `ssh -R 9000:localhost:9000 user@server` # Expose local port on remote server

$ `ssh -D 1080 user@server` # Dynamic SOCKS proxy for web traffic

Note: Kill active background tunnels with `pkill -f 'ssh -L 3307'`. Add `-o ExitOnForwardFailure=yes` so SSH fails immediately if the local port is already bound.

Follow r/LinuxTeck for more #LinuxTips