2. -p : To view all exported variables on current shell
SYNTAX :
EXAMPLE :
3. -f: It must be used if the names refer to functions. If -f is not used, the export will assume the names are variables.
SYNTAX :
EXAMPLE :
4. name[=value]: You can assign value before exporting using the following syntax.
SYNTAX :
EXAMPLE:
5. -n: Named variables (or functions, with -f) will no longer be exported.
SYNTAX :
EXAMPLE:
Name | Views | Likes |
---|---|---|
Usermod command in Linux | 4510 | 1 |
SSH Command In Linux | 788 | 7 |
Introduction to Named Pipes | 1057 | 3 |
Linux KILL Command | 2782 | 5 |
Soft Link and Hard Link In Linux | 421 | 2 |
Vi Editor in Linux | 594 | 6 |
FDisk Command in Linux | 540 | 5 |
How to view the History in Linux | 448 | 2 |
Process Manipulation in Linux | 1614 | 4 |
Export command in Linux | 411 | 1 |
ID command in Linux | 413 | 1 |
Netstat Command in Linux | 624 | 3 |
Chmod Command in Linux | 437 | 1 |
Compressing Files in Linux | 354 | 1 |
Crontab in Linux | 477 | 1 |
File Manipulation in Linux | 615 | 5 |
Curl Command in Linux | 505 | 1 |
Env Command in Linux | 398 | 5 |
LSOF Command in Linux | 406 | 1 |
User Manual in Linux | 433 | 1 |
Whereis command in Linux | 436 | 1 |
4 Lesser Known Commands in Linux | 468 | 6 |
Shell Scripting in Linux | 631 | 4 |
Alias command in Linux | 373 | 1 |
How to Kill a Process using Command Line | 471 | 3 |
Comments