Home>

I'm a linux beginner. I have a question about getting my command log. I set the following in .bash_profile.

script -f -a ../../ etc/hoge/hoge.log

I got a log, but very politely every time I log in

Started script, file is script -f -a ../../ etc/hoge/hoge.log

When you log in, the message is displayed as above.
This message

Started script, file is script -f -a ../../ etc/hoge/hoge.log
How can I run a command to hide

?

What you ’ve tried

>Try/dev/null

script -f -a ../../etc/hoge/hoge.log>/dev/null


I cannot log in. If i am familiar with the details, I will be sorry for the inconvenience, but I would appreciate it if you could give me a specific code. Thanking you in advance.