How to make “alt+f2” to reload PATH variable without rebooting
When I append new path like export PATH="$PATH:/opt/shortcuts" to /etc/profile, I must reboot for alt+f2 run application dialog to reload the PATH to make alt+f2 effective . Is there a way to do that without rebooting? EDIT: Is there a way to do that without rebooting or re-loggining?
Yes. You can just source the /etc/profile (it is what reboot does). source /etc/profile
Shell script, directory is writable strange behavior
forward slash escape deleting files
Calculating a to power b (a^b) in shell script
for loop in UNIX Script is not working
sed replace patterns except when it matches some specific pattern
Shell Script, finding time difference and traversing a file
Portable shell solution to check if PID is zombied
Awk adding constant values
How to comment out particular lines in a shell script?
Unix shell / ssh - How to remove folder “backups\r\r”
how to verify unix wait and then run next command
Chain multiple awk commands and shell scripts in sequence
sml configuration on ubuntu, how to run sml on command instead of the full path?
Grep to extract the word matching the given pattern
Find all *.sh files in directory
What are the uses of the exec command in shell scripts?