# SLED 12 default shell directory

**URL:** <https://forums.suse.com/t/sled-12-default-shell-directory/28620>\
**Category:** SLED Configure-Administer\
**Created:** [September 9, 2016, 1:34pm UTC](https://forums.suse.com/t/sled-12-default-shell-directory/28620 "2016-09-09T13:34:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttrcf](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@ttrcf](https://forums.suse.com/u/ttrcf)\
**Post date:** [September 9, 2016, 1:34pm UTC](https://forums.suse.com/t/sled-12-default-shell-directory/28620/1 "2016-09-09T13:34:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [September 9, 2016, 4:13pm UTC](https://forums.suse.com/t/sled-12-default-shell-directory/28620/2 "2016-09-09T16:13:21Z")

</div>

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:

```auto
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…
