+ Responder ao Tópico



  1. #1

    Padrão 2 duvidas básicas

    ola a todos, tenho 2 duvidas basicas que acho que voces podem me ajudar:

    1 - Qual a diferença entre os comandos who e rwho ?

    2 - Qual a diferença entre compilar usando ./ e sh ?

    desde já agradeço a atenção de todos

  2. #2

    Padrão Re: 2 duvidas básicas


    Bom , eu executei os 2 comandos na questão 1.

    O who mostra quem é você. O rwho, não aconteceu nada. Pelo menos comigo.

    Entrei com o comando man who e man rwho. O rwho diz que faz a mesma coisa do who.
    No meu caso, o rwho não trouxe resposta nenhuma.
    Pode ser que em outra distro aconteça alguma coisa.

    Na questão número 2, o resultado é o mesmo.

    Que me corrijam se eu estiver errado ..............




  3. #3

    Padrão Re: 2 duvidas básicas

    NAME
    rwho - who is logged in on local machines

    SYNOPSIS
    rwho [-a]

    DESCRIPTION
    The rwho command produces output similar to who, but for all machines on the local network. If no report has been
    received from a machine for 11 minutes then rwho assumes the machine is down, and does not report users last known
    to be logged into that machine.

    If a users hasn't typed to the system for a minute or more, then rwho reports this idle time. If a user hasn't
    typed to the system for an hour or more, then the user will be omitted from the output of rwho unless the -a flag
    is given.

    -----------------
    NAME
    who - show who is logged on

    SYNOPSIS
    who [OPTION]... [ FILE | ARG1 ARG2 ]

    DESCRIPTION
    .
    .
    .