[Newbies] .bash_login and .bash_logout Does it work on Deepin?
Tofloor
poster avatar
webipsum
deepin
2022-10-10 16:38
Author

.bash_login
.bash_logout
Does it work on Deepin?

Reply Favorite View the author
All Replies
vivian_me
deepin testing team
2022-10-11 21:48
#1

yeap it does

Reply View the author
webipsum
deepin
2022-10-18 09:00
#2

@vivian_me, Thanks for the answer.

Thanks for the answer.

I created the .bash_login and put a command to copy a file from one folder to another. Just to test
Did not work:

#!/bin/bash
cp /home/user-linux/Texto.txt /home/user-linux/Desktop

The .bash_logout already exists with the second content:

# ~/.bash_logout: executed by bash(1) when login shell exits.
# when leaving the console clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi
cp /home/user-linux/Texto.txt /home/user-linux/Desktop

And I put the same test: a command to copy a file from one folder to another. Just to test. Did not work.

You could help me?

Reply View the author
f***8@gmail.com
deepin
2022-11-29 19:26
#3
The user is banned, and the content is hidden.