What is the path to the htb-students mail?

Linux Fundamentals - System Information

1.What is the path to the htb-students mail?

2.Which shell is specified for the htb-student user?

I have looked for about an hour and can't find the answers for both of them.

Comments

  • @Keato said:

    Linux Fundamentals - System Information

    1.What is the path to the htb-students mail?

    2.Which shell is specified for the htb-student user?

    I have looked for about an hour and can't find the answers for both of them.

    Start with cat /etc/passwd

    Thsi gives you the shell for the htb-student account and tells you the path where the mailbox lives.

    You can validate the path with ls to confirm there is a htb-student folder there.

    TazWake

    Note: https://www.nohello.com/

    Happy to help people but PLEASE explain your problem in as much detail as possible! If you say vague things like "It's not working", I cant help. This isn't Twitter so my DMs are always open.

  • Hi @Keato ,

    1.What is the path to the htb-students mail?

    $ env | grep MAIL
    MAIL=/var/spool/mail/$USER

    2.Which shell is specified for the htb-student user?

    $ env | grep SHELL
    SHELL=/bin/bash

  • Spoiler Removed

Sign In to comment.