• Forester@pawb.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

    Sudo find -f

    Super user do command find and look for all files in the current directory

    Makes a tempory separate session (shell) to run command as root user from the current working directory

    Doas find -f

    Super user do command find and look for all files in the current directory

    Makes a tempory separate session (shell) to run command as root user from the current working directory

    Doas bob find -f

    Do as Bob look for all files that can be accessed

    Makes a tempory separate session (shell) to run command as bobs user from the current working directory, will show any files that bobs group or user owns.