Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit 0d5c5b7

Browse files
committed
add termshot file content
1 parent 53093a1 commit 0d5c5b7

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

termshot/cli

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
➜ php -v
2+
/bin/sh: 1: php: not found
3+
➜ ./php -v
4+
PHP 8.2.13 (cli) (built: Jan 7 2024 12:09:11) (NTS)
5+
Copyright (c) The PHP Group
6+
Zend Engine v4.2.13, Copyright (c) Zend Technologies
7+
➜ ls -lah ./php
8+
-rwxr-xr-x 1 jerry jerry 11M Jan 9 21:53 ./php
9+
➜ file ./php
10+
./php: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
11+
➜ echo '<?php echo "Hello world\n";' > a.php && ./php a.php
12+
Hello world

termshot/micro

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
➜ echo '<?php echo "Make php-app more portable!\n";' > app.php
2+
➜ cat ./micro.sfx app.php > my-app && chmod +x my-app
3+
➜ ./my-app
4+
Make php-app more portable!
5+
➜ file ./my-app
6+
./my-app: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped

0 commit comments

Comments
 (0)