Results 1 to 3 of 3

Thread: Difference between the commands

  1. #1
    Contributing Member
    Join Date
    Jul 2006
    Answers
    57

    Difference between the commands

    What is the difference between the commands wall, sleep and killall? If an example is given on each it would help me to understand better.


  2. #2
    Contributing Member
    Join Date
    Jul 2006
    Answers
    63

    Re: Difference between the commands

    sleep:
    This command is used in UNIX operating system to suspend execution of the system for the specified time limit mentioned in it as parameter.
    wall:
    wall is used for sending messages to users of UNIX operating system
    killall:
    The command killall is used to kill processes which are active. The main aspect in this is killall command can be issued only by the super user.


  3. #3
    Expert Member
    Join Date
    Sep 2006
    Answers
    130

    Re: Difference between the commands

    Additional Info about the Messaging command,
    Wall - sends messages to all users who are logged in.
    This command displays the contents of file or, by default, its standard input, on the terminals of all currently logged in users.

    Only the super-user can write on the terminals of users who have chosen to deny messages or are using a program which automatically denies messages.
    Reading from a file is refused when the invoker is not superuser and the program is suid or sgid.

    Another command to send messages is write command.
    The write utility allows to communicate with other users (user or terminal id mentioned) by copying lines from your terminal.
    write user [tty]

    You can prevent users (other than the super-user) from messaging you with the mesg command.

    *** Innila ***


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact