- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
How to Add a New Environment Variable Permanently on Linux..? (source Command)
In this video, you’ll learn how to add or make environment variables permanent in Linux using the source command — a crucial step for keeping your configurations active even after rebooting.
Normally, environment variables created with export are temporary and reset once you close the terminal. By saving them in shell configuration files and reloading with source, you can make them permanent!
🖥️ Commands Covered:
export VAR=value → Create a new variable
echo $VAR → Verify the variable
nano ~/.bashrc → Open the bash configuration file
Add the line → export VAR=value
source ~/.bashrc → Apply changes immediately
printenv VAR → Check if it’s set permanently
💡 The source command reloads configuration files without restarting your terminal — perfect for developers, admins, and cybersecurity learners who customize their Linux environment.
📺 Channel: Secure2Cyber
Learn Linux, Cybersecurity, and IT Skills through short, practical tutorials.
Subscribe to @Secure2Cyber and make mastering Linux commands easy and fun!
📲 Follow Secure2Cyber on Social Media:
🔹 Instagram: @secure2cyber
🔹 Facebook: @secure2cyber
🏷️ Hashtags:
#linux #linuxcommands #sourcecommand #environmentvariables #secure2cyber #linuxbasics #linuxshorts #linuxforbeginners #cybersecurity #linuxlearning #terminaltips #techshorts #ubuntu
Видео How to Add a New Environment Variable Permanently on Linux..? (source Command) канала Secure2Cyber
Normally, environment variables created with export are temporary and reset once you close the terminal. By saving them in shell configuration files and reloading with source, you can make them permanent!
🖥️ Commands Covered:
export VAR=value → Create a new variable
echo $VAR → Verify the variable
nano ~/.bashrc → Open the bash configuration file
Add the line → export VAR=value
source ~/.bashrc → Apply changes immediately
printenv VAR → Check if it’s set permanently
💡 The source command reloads configuration files without restarting your terminal — perfect for developers, admins, and cybersecurity learners who customize their Linux environment.
📺 Channel: Secure2Cyber
Learn Linux, Cybersecurity, and IT Skills through short, practical tutorials.
Subscribe to @Secure2Cyber and make mastering Linux commands easy and fun!
📲 Follow Secure2Cyber on Social Media:
🔹 Instagram: @secure2cyber
🔹 Facebook: @secure2cyber
🏷️ Hashtags:
#linux #linuxcommands #sourcecommand #environmentvariables #secure2cyber #linuxbasics #linuxshorts #linuxforbeginners #cybersecurity #linuxlearning #terminaltips #techshorts #ubuntu
Видео How to Add a New Environment Variable Permanently on Linux..? (source Command) канала Secure2Cyber
Комментарии отсутствуют
Информация о видео
10 ноября 2025 г. 9:30:01
00:02:23
Другие видео канала





















