Lädt...

🐧 I didn't realize how nuanced it is to apply global environment variables to any shell in any context. It'd be nice to see something maybe added to the kernel that supports this I don't know if that's right spot for that. I don't know how else you co


Nachrichtenbereich: 🐧 Linux Tipps
🔗 Quelle: reddit.com

The concept of a global environment a variable that runs in every context is specific to the system. What do I mean by this?

I want FOO=bar to exist for everything that runs on the system. How would you go about this?

Some people are going to say /etc/environment. Okay that's if that .profile is set up to source that sure. And then off the top of my head I'm not sure if that's for non interactive shells. Well put it in your bash.rc. So first what if my shell isn't bash? From what I'm reading sh is USUALLY bash emulating sh. But I think sh can actually be a different flavor of shells. Then again off the top of my head I don't think it works in non interactive. But then what if I use zsh? Then when you get into docker you've got all sorts of different stuff going on. Different images are going to do all sorts of different things.

I'm just surprised this late in the game there's not some way to set a global environment variable that is universal to the entire system across every system.

submitted by /u/XxCrispyChipxX
[link] [comments] ...

🔧 Tìm Hiểu Về RAG: Công Nghệ Đột Phá Đang "Làm Mưa Làm Gió" Trong Thế Giới Chatbot


📈 39.49 Punkte
🔧 Programmierung

🎥 When you see the look you didn’t know you needed — find it with Google Lens in Chrome desktop.


📈 39.04 Punkte
🎥 Video | Youtube

🎥 When you see the look you didn’t know you needed — find it with Google Lens in Chrome desktop.


📈 39.04 Punkte
🎥 Video | Youtube

🐧 I've come to realize something that I think a lot of us don't fully appreciate.


📈 38.84 Punkte
🐧 Linux Tipps

🕵️ CVE-2023-45356 | Atos Unify Unify OpenScape 4000 Platform V10 1.42.2 Portal command injection


📈 37.17 Punkte
🕵️ Sicherheitslücken

🕵️ CVE-2023-29475 | Atos Unify Atos Unify OpenScape 4000 Platform 10 R1 Inventory command injection


📈 37.17 Punkte
🕵️ Sicherheitslücken

📰 MEG B550 Unify und Unify-X: ATX-Mainboards mit Fokus auf OC kosten ab 280 USD [Notiz]


📈 37.17 Punkte
📰 IT Nachrichten

🔧 Are You Confused About context.TODO() vs context.Background()? Here's What You Need to Know


📈 37 Punkte
🔧 Programmierung

📰 11 things you didn't realize your Windows laptop's Precision Touchpad can do


📈 36.84 Punkte
📰 IT Nachrichten

📰 7 things you didn't realize your phone can do


📈 36.84 Punkte
📰 IT Nachrichten

📰 Somebody's doing something weird, maybe you guys know what it is


📈 36.57 Punkte
📰 IT Security Nachrichten

🔧 AmazonECS now supports AWS Graviton-based Spot compute with AWS Fargate Spot


📈 34.86 Punkte
🔧 Programmierung

matomo