Take Control of the Mac Command Line with Terminal by Joe Kissell
Author:Joe Kissell [Kissell, Joe]
Language: eng
Format: azw3
Publisher: TidBITS
Published: 2016-02-02T05:00:00+00:00
Modify Your PATH
As I explained in How Your PATH Works, when you run a program by entering just its name, your shell looks for it in several predetermined directories. You may want to specify additional places where programs or scripts are located, to make it easier to run them. For example, if you’re experimenting with your own scripts and you store them all in ~/Documents/scripting, you should add that directory to your PATH.
To add a directory to your PATH, put this in your .bash_profile:
export PATH=$PATH:/your/path/here
For example, to add the directory ~/Documents/scripting, enter this:
export PATH=$PATH:~/Documents/scripting
You can add as many of these export statements as you need. You can also add multiple directories to your PATH in a single export statement by separating them with a colon, like so:
export PATH=$PATH:~/Documents/scripting:/Library/Scripts
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7767)
Filmora Efficient Editing by Alexander Zacharias(5796)
The Infinite Retina by Robert Scoble Irena Cronin(5276)
Learn Wireshark - Fundamentals of Wireshark. by Lisa Bock(3983)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3935)
Edit Like a Pro with iMovie by Regit(3436)
Linux Administration Best Practices by Scott Alan Miller(2858)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic & Jasmin Redzepagic(2836)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2522)
Mastering PowerShell Scripting - Fourth Edition by Chris Dent(2408)
Docker on Windows by Stoneman Elton(2319)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(2315)
Creative Projects for Rust Programmers by Carlo Milanesi(2257)
Hands-On AWS Penetration Testing with Kali Linux by Karl Gilbert(2110)
Hands-On Linux for Architects by Denis Salamanca(2053)
Programming in C (4th Edition) (Developer's Library) by Stephen G. Kochan(2005)
Computers For Seniors For Dummies by Nancy C. Muir(2003)
The Old New Thing by Raymond Chen(1941)
Linux Kernel Debugging by Kaiwan N Billimoria(1762)
