Search:

Type: Posts; User: Ballena; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    348

    Change forum nickname?

    Hello there!

    Is it possible to change ones nickname here one the forums because I really would like to do that.

    /Erikw
  2. Replies
    17
    Views
    1,057

    [all variants] Re: su & and password problems in init.d-scripts

    @unutbu: :D OK so I just had no luck at first. I will try to pick some lower numbers for my own /etc/init.d/ scripts. Thanks for the answer!
  3. Replies
    17
    Views
    1,057

    [all variants] Re: su & and password problems in init.d-scripts

    One last question tho: Am I free to use what ever unused number for my softlink that I want? Maybe some numbers are not allowed to use or such.
  4. Replies
    17
    Views
    1,057

    [all variants] Re: su & and password problems in init.d-scripts

    Ahhh that was the problem. Of course the soft links should begin with a k (kill) and not a s. I just tested it and it works!

    As some mentioned another variant is ti kill the whole screen process...
  5. Replies
    17
    Views
    1,057

    [all variants] Re: su & and password problems in init.d-scripts

    @justleen: You seems to be right because I could execute that command as root whitouy a prompt for password. But the script is still not run (which I know since no works.txt file can be found in my...
  6. Replies
    17
    Views
    1,057

    [all variants] Re: su & and password problems in init.d-scripts

    @Frozsyn: That sure sounds interesting! But you are probably right that it's maybe not the best solution. Are there no other ways of closing screen sessions the belongs to another user than actually ...
  7. Replies
    17
    Views
    1,057

    [all variants] Re: su & and password problems in init.d-scripts

    @Gunman1982: I don't think root can quit screen sessions. Look here:



    erikw@compton:~$ screen -ls
    There is a screen on:
    5270.irctor (Detached)
    1 Socket in /var/run/screen/S-erikw.
    ...
  8. Replies
    17
    Views
    1,057

    [all variants] su & and password problems in init.d-scripts

    Hi.

    I have written (or at least I'm trying) a script that will close a session of screen when the system is going down (rc0) or rebooting (rc6).

    I have placed this script in /etc/init.d/ and...
  9. Replies
    3
    Views
    694

    [all variants] Re: Unoacking tarballs 'tar vxfz

    Oh thanks! That explained everything.
  10. Replies
    3
    Views
    694

    [all variants] Unoacking tarballs 'tar vxfz

    Hi

    How come you always use the parameters :


    tar xvfz <file>

    when you unpack tarballs? Why just xvfz? I have red the man for tar but still I don't see why you use the combinations of x,...
  11. Replies
    1
    Views
    1,324

    [all variants] Add script to the shutdown process

    Hello.

    I want to make a script or add a part to an existing script that checks if there are any screen sessions running and if so send a quit message to them. But where do I find the shutdown...
  12. Replies
    2
    Views
    463

    [all variants] Does Ubuntu still use Dash?

    Hello

    I just wonder if Ubuntu still uses the lightweight version of Bash called Dash. I found this document and started to wonder if it still is like that: https://wiki.ubuntu.com/DashAsBinSh
    ...
  13. [ubuntu] Re: Get rid of the .sudo_as_admin_successful-file!

    Belh, so crappy!
  14. [ubuntu] Get rid of the .sudo_as_admin_successful-file!

    Hello.

    How do I get rid of the .sudo_as_admin_successful-file in my hom directory for ever? It keeps coming back all the time after rm:ing it. I'm using Ubuntu Server 8.04.

    Thanks.
  15. Replies
    8
    Views
    756

    Re: Hel with easy bash script

    Thanks for the answers guys! I'm almost there.



    #!/bin/bash

    case $1 in
    start)
    echo 'Startning irctor...'
    /home/erikw/.screen-start.sh
  16. Replies
    8
    Views
    756

    Hel with easy bash script

    Hi. I want to make a simple Bash script that can 1. start screen 2. attach screen 3. stop screen.

    I would probably look something like this



    if %1 = start
    then execute command1
    fi
  17. Replies
    2
    Views
    712

    [ubuntu] Text interface is too big

    Hi

    I have installed Ubuntu Server 8.04 and it works like a charm except one thing. The text interface is too big on my screen so I can't nearly type anything. Usually I SSH the machine so normally...
  18. Replies
    716
    Views
    51,928

    Re: Post your top 10 used terminal commands

    My stats:


    51 clear
    48 cd
    40 sudo
    27 ls
    21 unrar
    14 unzip
    14 cowsay
Results 1 to 18 of 18