Topic
[Newbies] .bash_login and .bash_logout Does it work on Deepin?
Tofloor
poster avatar
webipsum
deepin
2022-10-10 00: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 05:48
#1

yeap it does

Reply View the author
webipsum
deepin
2022-10-17 17: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
fo******88@gmail.com
deepin
2022-11-29 03:26
#3

I would like to express my gratitude to you for sharing this excellent post. I have to say that I am very impressed with your post because the information provided is both comprehensive and simple to grasp. Your subsequent post will receive a lot of attention from me. retro games

Reply View the author
Use Markdown Editor
Loading