Find the answer to your Linux question:
Results 1 to 3 of 3
How do I run a script with the following codes on start up? Code: su - Password cables-start gaim Another question is how do I show every process that works? ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Posts
    19

    Some Questions :]


    How do I run a script with the following codes on start up?
    Code:
    su -
    Password
    cables-start
    gaim

    Another question is how do I show every process that works?

    Another 1 is : How do I make groups of users with diffrent permissions and how do I change User's group? how do I change group permissions?

    Another 1 : what is the Kill signal, and why is it difrence from killall signal.


    Thanks alot, those will help me alot.

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,890
    You probably want to add 'cables-start' to a scripts in /etc/rc.d, or alternatively call it directly in /etc/rc.d/rc.local

    I'd advise against starting gaim as root, you probably just need to add

    gaim &

    to your .xinitrc file (in your home directory).

    To show processes running, use the 'ps' command, e.g.:

    ps -ax

    You can control the addition of users and groups with the adduser script, and by editing /etc/groups and /etc/passwd.

    You can change user and group permissions with the 'chmod' command, and user/group ownership with the 'chown' command. You can change just the group with 'chgrp'.

    The kill command terminates a single instance of a running task - killall is a bit more indiscriminate...

    To find out about these commands, use the:

    man <command>

    statement, this pulls up the manual for the command, and should be your first port of call when you're working out how to do something. Try it with all the commands I've mentioned above.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    you can also look at this excellent site on basic linux commands: http://www.linuxcommand.org/

    for general help and info on the command line
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •