Guest User!

You are not Sophos Staff.

Astaro useful shell commands.

Hi to All.
I'm opening this thread so any of you which happens to run into useful Shell commands, can add it in here.
My goal is to create a document with many Astaro useful shell commands.
You are welcome to add, remark or reject any of the commands in here.
[:)]



This thread was automatically locked due to age.
[unlocked by: BAlfson at 2:53 PM (GMT -7) on 4 Jun 2021]
Parents
  • Hello

    Anyone know the shell command for creating a new user in a specified group via shell?
    I would like to create VPN-users with scripts.

    Thank you
    ---
    Ok, i found another solution, ignore my posting [:)]
  • Hello, 

     

    This is my first post, sorry if it is obvious or common sense. But I searched for an answer to my question and I am yet to find a decent answer. 

     

    I am trying to find a shell command to list all active IPs on the network. I tried the "/usr/local/bin/count_active_ip.plx --showcount" and it continues to list the IP of my phone even after turning off my phone's WiFi. 

    I also tried "arp -a" but it also returned the same IP regardless of the face that the phone is no longer on the network. 

    My question is, Is there a way to list only currently connected devices using a shell command ? 

    Thank you, 

Reply
  • Hello, 

     

    This is my first post, sorry if it is obvious or common sense. But I searched for an answer to my question and I am yet to find a decent answer. 

     

    I am trying to find a shell command to list all active IPs on the network. I tried the "/usr/local/bin/count_active_ip.plx --showcount" and it continues to list the IP of my phone even after turning off my phone's WiFi. 

    I also tried "arp -a" but it also returned the same IP regardless of the face that the phone is no longer on the network. 

    My question is, Is there a way to list only currently connected devices using a shell command ? 

    Thank you, 

Children