Things you did not learned.

As this is totally non freebsd related, want to say about things in youth.
- I can good play piano, but i was 13 , if i was 6, my brain would have other connections, i dont have. I miss it a bit. As being retired. Music is good.
- Sports, except music , sport is also good, i cannot go into politics, rules you know, but these things sport , music, one does become rich, like mister Alibaba, but it some things gives something in life.
Please excuse me if i sound like a drunk one.
 
I heard the Ali guy was missing but that was a year ago or so. Did he return meanwhile?
 
Actual scripting with language like most scripts on https://forums.freebsd.org/threads/useful-scripts.737/

I just have programs execute in a certain order with flags :p
Code:
#!/bin/sh

'/usr/sbin/service' 'nginx' stop
'/usr/local/bin/certbot' 'certonly' --quiet
'/usr/sbin/service' 'nginx' start

# End

But have no idea when I'd want to use stuff like:
Code:
sub check_ping_server
{
$host_alive=1;
$ping=Net::Ping->new('icmp');
if( $ping->ping($_[0]) ) { $host_alive=1;}
 else  {$host_alive=0;}
return $host_alive;
Code:
    "cleandist" | "C")
        perm_check

        if [[ -d "distfiles/" ]]; then
            rm -rf distfiles/
        else
            echo "It's already clean!"
        fi
        ;;

I'm not sure if it's about interactivity and condition checks, but with those random snippets I'd run ping or rm and do the thing directly
 
Back
Top