Say I have a python script (you can run a python script as a bash command by doing python script.py). a. I want to be able to run it as a command from any directory, what do I need to do to accomplish this? b. Now I want it to run every time I login to Attu, how would I do this??

A+ Guide To It Technical Support
10th Edition
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:ANDREWS, Jean.
Chapter18: Macos, Linux, And Scripting
Section: Chapter Questions
Problem 12TC
icon
Related questions
Question

Please help answer ques. 2 (both parts and b) 

will leave a like

 

2. Say I have a python script (you can run a python script as a bash command by doing python
script.py).
a. I want to be able to run it as a command from any directory, what do I need to do to
accomplish this?
b. Now I want it to run every time I login to Attu, how would I do this??
Transcribed Image Text:2. Say I have a python script (you can run a python script as a bash command by doing python script.py). a. I want to be able to run it as a command from any directory, what do I need to do to accomplish this? b. Now I want it to run every time I login to Attu, how would I do this??
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A+ Guide To It Technical Support
A+ Guide To It Technical Support
Computer Science
ISBN:
9780357108291
Author:
ANDREWS, Jean.
Publisher:
Cengage,
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L