How To Use Shell Environment Variables

How To Use Shell Environment Variables

DistroTube

2 года назад

32,031 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Supersoniq Amanyi
Supersoniq Amanyi - 11.06.2023 02:24

Title should be “Environment Variable for 8years olds…” it’s actually that CLEAR !!! Thanks, man.

Ответить
Mountain of the Angels
Mountain of the Angels - 20.04.2023 21:33

You are very good and decently detailed with you presentations. How many years will it take a newbie to get to your level?

Ответить
AmithSingh
AmithSingh - 17.04.2023 00:01

love the explaination, why can't people keep videos nice and simple like this.

Ответить
Somalibooks
Somalibooks - 09.10.2022 15:30

thank you Very Much

Ответить
Prashant Sharma
Prashant Sharma - 28.02.2022 05:23

love the T-Shirt

Ответить
Thalha S
Thalha S - 27.01.2022 08:48

Thanks

Ответить
Shubham SRT
Shubham SRT - 18.01.2022 21:37

thank youuuu

Ответить
tn5421
tn5421 - 28.09.2021 03:49

I just realized you have /home/dt/.local/bin in your path twice

Ответить
Rishi
Rishi - 16.09.2021 10:22

THANK YOU!

Ответить
RobertElson
RobertElson - 13.09.2021 03:36

shell-color-scripts: local (1.0.r52.3dbdfac-1) is newer than AUR (1.0.r39.143937f-1) getting this how do you fix it?

Ответить
Ignis Immensus
Ignis Immensus - 13.09.2021 02:21

Can you please use timestamps on your videos? thanks

Ответить
Sourabh K
Sourabh K - 12.09.2021 06:10

What is a Hindu Goddess doing on your t-shirt ?

PS: Nice video!

Ответить
Mikåel
Mikåel - 12.09.2021 05:38

Thanks

Ответить
Long Hòa Cao Phục
Long Hòa Cao Phục - 11.09.2021 22:15

Hey DT, how do you colourize your ls command?

Ответить
Paul
Paul - 11.09.2021 21:30

Thx. for doing great job on this channel. Currently I'm migrating back to Linux. Currently I'm struggeling to set up my printer (ET-3750). But I guess it's just a matter of setting the right permissions or the right environment variables.....

Your channel is doing a great job bringing me back up to speed!

Ответить
Willie Maddox
Willie Maddox - 11.09.2021 11:47

You have an extra /home/dt/.local/bin in your $PATH just fyi...

Ответить
Kapellimestari 007
Kapellimestari 007 - 11.09.2021 08:48

Hello, i just watched you video about irssi, and do you know some chat program like this one? but safety and privacy... Or batter, maybe could you teach how create a chat between two computer? wait, a better topic, if you know could you please make a video about cryptography, and the asymmetric cryptography, and the most important, how to apply the asymmetric, because for example , I know about it, but I don't really know how to use it, how to implement and so on and so forth. Or maybe anyone who is reading this comment could please send me a video or a site or a book about it please

Ответить
xaris fil
xaris fil - 11.09.2021 03:05

do you have any dotfiles for the specific qtile or something else I think window manger setup?

Ответить
Bill Farley
Bill Farley - 11.09.2021 00:15

I don't have mouseface. not in repo. I found it in Github. Can someone please tell me the command to download it. The Github-clueless among us would appreciate it. I do have fortune though. The first time I tried it I got this : Q: How many existentialists does it take to screw in a light bulb? A: Two. One to screw it in and one to observe how the light bulb itself symbolizes a single incandescent beacon of reality in a netherworld of endless absurdity reaching out to a maudlin cosmos of nothingness.

Ответить
Paul
Paul - 10.09.2021 23:22

👍

Ответить
S B
S B - 10.09.2021 22:45

I disable $HISTFILE when debugging in Codium

Ответить
Kerod Fresenbet Gebremedhin
Kerod Fresenbet Gebremedhin - 10.09.2021 20:50

it is 32767 because it uses 16 bits to store

Ответить
MrTAL69
MrTAL69 - 10.09.2021 19:32

Sorry DT but there are actual definitions for concepts of local and global variable, and that's not it. Since you're being (for a good reason!) followed by total newbies, you really shouldn't be playing it fast and loose. Oher people may at a later point need to un-teach incorrect concepts before they can learn correct ones; and that's a bi*ch job.

Ответить
Neu Zen
Neu Zen - 10.09.2021 19:11

BTW I use fish

Ответить
Soc Virnyl Estela
Soc Virnyl Estela - 10.09.2021 19:03

btw have u tried river? a tiling window manager for wayland?

Ответить
Max Hero
Max Hero - 10.09.2021 17:40

32767 is the maximum number you can represent with 15 bits. I don't know why they used 15 bits for it, though.

Ответить
bob lol
bob lol - 10.09.2021 15:20

do a video on hannah montana linux

Ответить
call_me_Lloydy
call_me_Lloydy - 10.09.2021 15:15

I keep on learning 😊

Ответить
hulio
hulio - 10.09.2021 14:53

Why if I put my envs in zprofile or zshenv system doesn't see they? For example sxhkd can't use it.

Ответить
aEr0
aEr0 - 10.09.2021 14:19

That print on his T-shirt is of religious Goddess in Hinduism...

Ответить
Chad's Tech Hut
Chad's Tech Hut - 10.09.2021 12:35

hey dt!, i have a question, how can i make the dtos installer?, like when you launch dtos installer it is a GUI INSIDE TERMINAL LIKE NCURSES HOW CAN I DO THAT?

Ответить
Punisher
Punisher - 10.09.2021 12:23

Thats a 'KALI' on his t-shirt

Ответить
Mohammad Bahathir Hashim
Mohammad Bahathir Hashim - 10.09.2021 11:48

$ p='Hello. '

$ echo $p
Hello,

$ p+='world!'

$echo $p

Hello, world!

Ответить
Owen David Malicsi
Owen David Malicsi - 10.09.2021 11:39

Wow DT. Your lighting is getting better and better

Ответить
Partha Chattopadhyay
Partha Chattopadhyay - 10.09.2021 07:16

Hey DT, the range 32767 is int with size 2 (byte). So for a variable defined with integer size 2 can store -32768 to 32767. Thanks for the videos.

Ответить
It Depends
It Depends - 10.09.2021 05:32

can someone explain the difference between ~ and $HOME. When should you use one over the other?

Ответить
Tomoghno Sen
Tomoghno Sen - 10.09.2021 04:56

Is it goddess Kali maa in your tshirt

Ответить
Chiranjeevi Naidu
Chiranjeevi Naidu - 10.09.2021 04:26

Bro can you make a video on how we can setup our own cross platform terminal that can run all the commands of bash and cmd it will be really cool if you could make a video on this topic.

Ответить
Geoff Lane
Geoff Lane - 10.09.2021 01:47

Why would someone use a sub shell?

Ответить
Miguel Pérez
Miguel Pérez - 10.09.2021 01:35

Awesome content DT cheers from Spain

Ответить
Phydoux
Phydoux - 10.09.2021 00:00

The PATH stuff was getting to me. I have been wanting to dig deeper into this but never did. Your short and sweet description on how to add paths was a Godsend!

Ответить
Chris Pratt
Chris Pratt - 09.09.2021 23:44

Great video! Thanks for the education.

Like a script-kiddie, I was just copy/pasting the line: PATH="$HOME/Applications:$PATH" (changing "Applications" to whatever I needed to add) without fully understanding the simple syntax. Now I do. This means worlds to me!

I also agree that a playlist of these UNIX/Linux/POSIX commands would be great to help find them all.

Ответить
Rafi Ahmed
Rafi Ahmed - 09.09.2021 23:42

Thank u. I thought installing arch would be really hard ; but your previous tutorial videos had really taught me a lot about that

Ответить
Anders Jackson
Anders Jackson - 09.09.2021 22:49

Actually, Environment variables are defined in the process that run any program, not just Shells.
And in Bash, and other Shells, there are variables in the Shell (Bash has both local and global variables in the Shell).
Environment variables are the ones in the process.
The Good thing is that Environment variables are copyed to the child process. Then the parent process can't change them for the child process.
And No process can change any other process Environment variables. Not even the patents.

MS Dos have global Environment variables, so any process can change any other programs Environment variables. Which is bad.

Ответить
nnywadd
nnywadd - 09.09.2021 22:41

You're looking lean bro. Great video.

Ответить
Anik Biswas
Anik Biswas - 09.09.2021 22:16

Wow! your T-Shirt is so awesome 😃

Ответить
Ed Beckerich
Ed Beckerich - 09.09.2021 22:07

I need this info in a cheat sheet, i forget it everytime i need it, as long as its in Bash, it never changes

Ответить
Stephen Ingle
Stephen Ingle - 09.09.2021 21:46

Niceee!
👏👏👏

Ответить
Agustín Ranieri
Agustín Ranieri - 09.09.2021 20:55

Daniel: echo $VAR
The cooler Daniel: printenv VAR

Ответить