Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Fedora 31 Essentials

You're reading from   Fedora 31 Essentials Learn how to install, administer, and deploy Fedora 31 systems

Arrow left icon
Product type Paperback
Published in Apr 2020
Publisher Packt
ISBN-13 9781800562790
Length 271 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Neil Smyth Neil Smyth
Author Profile Icon Neil Smyth
Neil Smyth
Arrow right icon
View More author details
Toc

Table of Contents (32) Chapters Close

1. Introduction 2. A Brief History of Linux FREE CHAPTER 3. Installing Fedora 31 on a Clean Disk Drive 4. Dual Booting Fedora 31 with Windows 5. Allocating Windows Disk Partitions to Fedora 31 6. A Guided Tour of the GNOME 3 Desktop 7. An Overview of the Fedora 31 Cockpit Web Interface 8. Using the Bash Shell on Fedora 31 9. Managing Fedora 31 Users and Groups 10. Understanding Fedora 31 Software Installation and Management 11. Configuring Fedora 31 systemd Units 12. Fedora 31 Network Management 13. Basic Fedora 31 Firewall Configuration with firewalld 14. Configuring SSH Key-based Authentication on Fedora 31 15. Fedora 31 Remote Desktop Access with VNC 16. Displaying Fedora 31 Applications Remotely (X11 Forwarding) 17. Using NFS to Share Fedora 31 Files with Remote Systems 18. Sharing Files between Fedora 31 and Windows Systems with Samba 19. An Overview of Virtualization Techniques 20. Installing KVM Virtualization on Fedora 31 21. Creating KVM Virtual Machines using Cockpit and virt-manager 22. Creating KVM Virtual Machines with virt-install and virsh 23. Creating a Fedora 31 KVM Networked Bridge Interface 24. Managing KVM using the virsh Command-Line Tool 25. An Introduction to Linux Containers 26. Working with Containers on Fedora 31 27. Setting Up a Fedora 31 Web Server 28. Configuring a Fedora 31 Postfix Email Server 29. Adding a New Disk Drive to a Fedora 31 System 30. Adding a New Disk to a Fedora 31 Volume Group and Logical Volume 31. Adding and Managing Fedora 31 Swap Space Index

8.12 Environment Variables

Shell environment variables provide temporary storage of data and configuration settings. The shell itself sets up a number of environment variables that may be changed by the user to modify the behavior of the shell. A listing of currently defined variables may be obtained using the env command:

$ env

SSH_CONNECTION=192.168.0.19 61231 192.168.0.28 22

MODULES_RUN_QUARANTINE=LD_LIBRARY_PATH

LANG=en_US.UTF-8

HISTCONTROL=ignoredups

HOSTNAME=CentOSFedora-pc.ebookfrenzy.com

XDG_SESSION_ID=15

MODULES_CMD=/usr/share/Modules/libexec/modulecmd.tcl

USER=demo

ENV=/usr/share/Modules/init/profile.sh

SELINUX_ROLE_REQUESTED=

PWD=/home/demo

HOME=/home/demo

SSH_CLIENT=192.168.0.19 61231 22

SELINUX_LEVEL_REQUESTED=

.

.

.

Perhaps the most useful environment variable is PATH. This defines the directories in which the shell will search for commands entered at the command prompt, and the order in which it will do so. The...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image