Saturday, December 26, 2020

Chapter 5 : Automating Export of LFS Environment Variable

 Hi,

In this post/chapter I am going to talk about how the export the environment variable required to build a linux system from scratch.

This post/chapter is going to be the shortest of all still it is mandatory for the process.

Start your virtual host from your virtual box, and login as the user.

After you login, Open a terminal and edit the ".profile" of the user using the following command.

$ vi .profile

Append the file with the following...

export LFS=/mnt/lfs

Save the file and exit.

Well that is it, next time you login you do not have to worry about exporting this variable again, this variable is made available when the profile of the user is loaded.




No comments:

Post a Comment

How to change the root password in linux when it is forgotten/to change

This blog is all about changing the root password of the Linux system when it is forgotten or to reset the password...   Let's get it ...