Skip to main content
Search
Join
Log in
Mentorship
Join CCMNet
CCMNet Guide
Mentorship Opportunities
Community
CCMNet Members
CCMNet Affinity Group
People
Affinity Groups
Blog
Jobs
Organizations
Community of Communities
Join the CSSN
Get Help
Ask a Question
Resources
Request a Consult
Projects
Knowledge Base
Mentorship Resources
KB Resources
Ask.CI Forum
Tags
About Us
About Us
User Guide
Become a Campus Champion
User Guide
Affinity Groups FAQ
Governance
Code of Conduct
News
About CCMNet
Annual Meeting
Tags
Using Linux commands in a python script (and the difference between the subprocess and os python modules)
Submission navigation links for Knowledge Base Resources
‹
Previous submission
Next submission
›
Submission information
Submission Number:
54
Submission ID:
261
Submission UUID:
79b723ab-e045-4cff-8a3b-697b90c49580
Submission URI:
/form/resource
Created:
Tue, 03/22/2022 - 16:58
Completed:
Tue, 03/22/2022 - 16:58
Changed:
Sun, 11/12/2023 - 12:31
Remote IP address:
70.77.241.128
Submitted by:
Tolu Oyeniyi
Language:
English
Is draft:
No
Webform:
Knowledge Base Resources
Approved
Yes
Title
Using Linux commands in a python script (and the difference between the subprocess and os python modules)
Category
Learning
Tags
cluster-management
,
programming
,
python
Skill Level
Beginner
,
Intermediate
Description
Learn how to use Linux commands in a python script. Specifically, learn how to use the subprocess and os modules in python to run shell commands (which run Linux commands) in a python script that is run on a cluster.
Link to Resource
Using Linux Commands in a Python Script