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
  • 487
  • 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

    Related Questions

      • Answers: 0

      how to connect wireless mouse to laptop

      Hi! i have a wireless mouse with adapter but i am not able to connect to my Laptop. I need to know how to connect wireless mouse to laptop.

      • Answers: 0

      Is possible to connect without user click on Accept in

      Hi sir in my organization i have a multiple User all are not accepting and some user accept for take so much of time. So it is some times i am more struggling because  how to take remote without user

      • Answer: 1

      What is The most common difference between DHCP and Static

      Hello sir In My Organisation we are using 50% system with Static IP and 50 % system DHCP. So I need to know what is the Difference between DHCP and Static IP.. Please give brief explanation sir...

      • Answers: 0

      how to convert to word to pdf

      Hello everyone my all word documents need to convert pdf. Please give me any one suggestion how to convert word to pdf.

      • Answers: 0

      How to find the MAC address in MACBOOK Laptop

      Hello everyone I have Macbook Laptop and  i got a requirement to find the MAC Address in The MACBOOK laptop.How to find the MAC address in MACBOOK Laptop

    Stats

    • Questions 1,828
    • Answers 1,917
    • Posts 7
    • Best Answers 70

    Recent Questions

      • Answer: 1

      How do I remove restrictions from Facebook ads?

      I tried to promote a YouTube video through Facebook ads and I am unable to

      • Answers: 0

      how to turn a bluetooth speaker into a wifi speaker

      I recently purchased Bluetooth speaker, now i want to make it as a wifi speaker.

      • Answer: 1

      which computer language is easy to learn

      i am a b tech student, completed my computer education. which computer language is easy

      • Answer: 1

      How to check current downloading files status on Android mobile

      I am downloading a video using Chrome browser on my Android mobile. I couldn't find

      • Answer: 1

      Is it possible to remove all watched videos on my

      I want to delete all the watched  videos on YouTube in a single click. Is

    Explore

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

    Footer

    Recent Comments

    • S. Yesu Bbau on YouTube channel name ideas telugu
    • Santhosh on How do I remove restrictions from Facebook ads?
    • Cfd442 on C windows system32 logfiles srt srttrail.txt how to fix
    • Satish on which computer language is easy to learn
    • gabi on Why my phone alarm is so quiet, even my volume is full
    Ask A Question

    Archives

    Tags

    laptop buying guide (1) laptop buying key points (1) laptop choosing points (1) points to remember for buying laptop (1) things to consider before buying laptop (1)

    Social media

    © 2021 @ 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.