When a user opens a terminal window in SLED12 the default directory is ~/Desktop. How can I change this to be the top level of their home directory?
ROB
When a user opens a terminal window in SLED12 the default directory is ~/Desktop. How can I change this to be the top level of their home directory?
ROB
How are they opening the terminal?
You could run the following command, as the user, to cause them to always
change to their home directory when a new shell is opened, though that may
get kind of annoying when just calling bash out of the blue, and may even
cause some problems with less-than-perfect commands:
echo -e '\
\
#Forcing change to home directory\
cd;\
' >> ~/.bashrc
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…