Blog Archives

Exporting variables in shell scripting

The export command is mostly used when setting up a new PATH. You need to export a variable, in order to use it globally. By default, a variable can be used only local, unless it is exported. $ x=/home/razvan $

Tagged with: , , , ,
Posted in The Linux and Unix Articles!
Support LinuxG via Patreon
Support on Patreon!


Subscribe to get the latest Linux news and how to guides directly on your e-mail!