Permanently add a directory to shell PATH on Linux

Posted by LinuxCareer on Oct 13, 2021 1:19 PM EDT
linuxconfig.org; By Luke Reynolds
Mail this story
Print this story

When you type a command into a Linux terminal, what’s really happening is that a program is being executed. Normally, to execute a custom program or script, we need to use its full path, such as /path/to/script.sh or just ./script.sh if we’re already in its residing directory. Alternatively, we can execute a lot of commands without specifying paths, like uptime or date, etc.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.