Summary

After reading this chapter, you now know how to create and modify environment variables in a shell. You also know how .bashrc and .bash_profile help in making changes that are available permanently for all sessions of a user. You learned how to search the history of commands that we have previously executed and also how to run and manage different tasks in a shell by using the fg and bg shell built - in commands.

In the next chapter, we will see what important types of files are available on Linux-based systems and what operations can be performed on them to get meaningful results.

Get Linux Shell Scripting Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.