Test 2

WHOAMI

My name is:

whoami

EXECUTED bash:

tom

MKDIR

Create new Folder

mkdir TEST

EXECUTED bash:

mkdir: das Verzeichnis »TEST“ kann nicht angelegt werden: Die Datei existiert bereits

LS

Show your folders

ls -la

EXECUTED bash:

insgesamt 62
drwxrwxrwx 1 tom tom 4096 Mai  8 11:03 .
drwxrwxrwx 1 tom tom 4096 Mai  2 20:30 ..
drwxrwxrwx 1 tom tom 4096 Mai  8 09:21 1
drwxrwxrwx 1 tom tom 4096 Mai  7 20:41 2
-rwxrwxrwx 1 tom tom   34 Mai  6 19:54 clean.sh
-rwxrwxrwx 1 tom tom   22 Apr 29 09:10 CNAME
-rwxrwxrwx 1 tom tom   26 Mai  7 15:06 _config.yml
drwxrwxrwx 1 tom tom 4096 Mai  8 11:36 DOCS
drwxrwxrwx 1 tom tom 4096 Mai  8 11:05 .git
-rwxrwxrwx 1 tom tom 1724 Mai  7 20:21 .gitignore
drwxrwxrwx 1 tom tom 4096 Mai  7 20:16 html
drwxrwxrwx 1 tom tom 4096 Mai  8 11:06 .idea
-rwxrwxrwx 1 tom tom   58 Mai  6 19:54 install.sh
-rwxrwxrwx 1 tom tom 1066 Apr 29 09:10 LICENSE
-rwxrwxrwx 1 tom tom  499 Mai  8 11:37 logs.txt
drwxrwxrwx 1 tom tom 4096 Mai  8 09:35 plainedit
-rwxrwxrwx 1 tom tom  145 Apr 29 14:37 .plainedit.cfg
-rwxrwxrwx 1 tom tom 1643 Mai  7 21:31 plainedit.sh
-rwxrwxrwx 1 tom tom  528 Mai  8 11:37 readme.logs.txt
-rwxrwxrwx 1 tom tom 3463 Mai  8 11:37 README.md
-rwxrwxrwx 1 tom tom 1231 Mai  8 11:03 readme.sh
-rwxrwxrwx 1 tom tom  179 Mai  7 20:21 readme.txt
drwxrwxrwx 1 tom tom    0 Mai  7 13:44 TEST
-rwxrwxrwx 1 tom tom   16 Mai  7 20:20 uninstall.sh
-rwxrwxrwx 1 tom tom  225 Mai  8 11:01 update_all_projects.sh
-rwxrwxrwx 1 tom tom   40 Mai  7 12:23 update.sh

PHP version

Check PHP version

php -version

EXECUTED bash:

PHP 8.0.8 (cli) (built: Mar  3 2022 14:51:53) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.8, Copyright (c) Zend Technologies
    with Zend OPcache v8.0.8, Copyright (c), by Zend Technologies

PHP script

Show global variable

class Fruit {
    public $name;
  
    function __construct($name) {
        $this->name = $name;
    }
    function __toString() {
        return $this->name;
    }
}

$apple = new Fruit("Apple");
echo (string ) $apple;

EXECUTED php:

Apple

PING

Show your folders

ping -q -c 1 softreck.com ; echo $?

STOP


LOCAL MENU