Create folder (it did not exist on my machine) (it is included in the PATH env.var. before /usr/bin so it is OK) and open file for editing
Put into that file:
sudo mkdir /usr/local/bin
sudo nano /usr/local/bin/gnome-panel
Make it executable
All this makes easy get-back path:
sudo chmod +x /usr/local/bin/gnome-panel
with possible addition of erasing even folder if iw was not there before this operation...
sudo rm /usr/local/bin/gnome-panel
For the sake of security I will not give code for that erasure since (if it was there before and had some files) that could make certain problems to someone who does copy&paste blindly...