Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In

Captcha Click on image to update the captcha.

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have a permission to ask a question, You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Tech Answered Logo Tech Answered Logo
Sign InSign Up

Tech Answered

Tech Answered Navigation

  • Home
  • Tutorials
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Blog
  • Contact Us
Home / Questions /Q 1425
Next
In Process
samipixo
samipixo

samipixo

  • United States (US)
  • 7 Questions
  • 0 Answers
  • 0 Best Answers
  • 8 Points
View Profile
  • 0
samipixo
Asked: March 4, 20212021-03-04T11:15:06+05:30 2021-03-04T11:15:06+05:30In: Networking

how to set environment variable in linux

  • 0

how to set environment variable in linux ? I made my mind to build my carrer on linux and i just installed linux on my computer and i need to set environment variable. So how do we set environment variable in linux ?

how can we set environment variable in linuxhow do we set environment variable in linuxhow to set environment variable in linuxhow to set environment variable in linux 2021linuxlinux questionsset environment variable in linuxtutorial to set environment variable in linux
  • 1
  • 1,059
  • 0
  • 0
Answer
Share
  • Facebook

    Related Questions

    • Uninstall kali Grub from Computer
    • How to fix linux error 13 permission denied 13: Permission denied Kali Linux
    • You are the system administrator your Linux server is not functioning properly
    • 25 linux commands with examples and syntax
    • Which Operating System is better among Windows, Linux and Mac

    1 Answer

    1. Venkata Sai G M

      Venkata Sai G M

      • India
      • 3 Questions
      • 5 Answers
      • 0 Best Answers
      • 36 Points
      View Profile
      Venkata Sai G M
      2021-08-11T17:32:07+05:30Added an answer on August 11, 2021 at 5:32 pm

      This is how you can set environment variables in Linux, setting environment variables in Linux is a bit easier process. I’m also new to Linux while I’m going through this i have faced problem and found a way to set Environment variable in Linux i tried this and it worked. Maybe this can also help you

      Easiest steps to set Environment Variables in  Linux :-


      [VARIABLE_NAME]=[variable_value]

      1. As an example, create a variable called EXAMPLE with a text value. If you type the command correctly, the shell does not provide any output.

      2. The set | grep command confirms the creation of the variable. However, printenv does not return any output.

      Setting a shell variable

      This is because the variable created in this way is a shell variable.

      3. Another way to confirm this is to type bash and start a child shell session. Using the echo command to search for the EXAMPLE variable now returns no output:

      Using echo in a child shell to search for a variable

      • 1
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    More Questions

    • muller

      How to ensure privacy regulations, GDPR or CCPA

    • muller

      404 error

    • arunraj503

      failed to propagate agent release message: no buffer space available

    • Aniya

      i/o error on routing socket no buffer space available -

    • Raja441

      how to connect wireless mouse to laptop

    • Sharmila

      Is possible to connect without user click on Accept in

    • Raja441

      What is The most common difference between DHCP and Static

    • Raja441

      how to convert to word to pdf

    Stats

    • Questions 1,991
    • Answers 2,102
    • Posts 12
    • Best Answers 73

    Related Questions

    • Venkata Sai G M

      Uninstall kali Grub from Computer

    • nora khan

      How to fix linux error 13 permission denied 13: Permission denied Kali

    • dynamicapps5

      You are the system administrator your Linux server is not functioning properly

    • sita

      25 linux commands with examples and syntax

    • Pooja Jakhar

      Which Operating System is better among Windows, Linux and Mac

    Explore

    • Home
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help

    Footer

    Recent Comments

    • muller on how to solve export problem in kinemaster
    • muller on how to solve export problem in kinemaster
    • muller on how to solve export problem in kinemaster
    • AaronBlackburn on why can’t i find my message requests on instagram
    • shree on How to use philips citrus press juicer 25 watts Demo
    Ask A Question

    Archives

    Tags

    laptop buying guide (1) limit google news notifications (1) printer buying guide (1) stop google news notifications (1) turn off google news notifications (1)

    Social media

    © 2023 @ Techanswered.com.
    Terms, Privacy policy & Sitemap.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.