Course Content
Selenium Python First Script
Selenium Python First Script
0/2
HTML Form elements
HTML Form elements
0/1
Handle HTML Frames
Handle HTML Frames
0/2
Handling Dropdown Lists
Handling Dropdown Lists
0/2
Selenium Action class
Selenium Action class
0/1
Selenium Python for Beginners [ 2024 ]
About Lesson

[Linux] Setup PATH variable

PATH can be set as follows for a particular terminal session in Linux.
Assume the Python directory path: /usr/local/bin/python

In the bash shell, type the following command

export PATH=$PATH:/usr/local/bin/python

Press the Enter key.

EXPORT PATH variable Ubuntu Linux

The export command in Linux sets an environment variable in the current shell session. When you use the export command followed by the variable name, that variable becomes available to any child processes created from that shell session. This allows you to define variables that can be used by programs or scripts running within that session.

The Linux operating system is case-sensitive. So, PATH and Path in Linux are two different variables.

Setup PATH Linux Python

Join the conversation