hi all,
i am using a Ubuntu work station. i have following piece of code that works ok. But i cant figure out a way to insert a string call $Name into the title of the window i am opening. As you can see, i tried two different ways without a success. Can someone please help me out here?
if [ "`uname`" = "Linux" ]; then
#xterm -n $i -T $Name -sl 9999 -sb -bg black -fg yellow -geometry 90x24 -exec vi $log/logs/test.txt
gnome-terminal --window-with-profile=Win --title=$Name -e "vi $log/logs/test.txt " &
else