└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # What's on Lambda? 2 | 3 | AWS Lambda runs Amazon Linux, a version of Red Hat. There's lots of 4 | command-line tools installed in the environment. Here's a list. I've 5 | excluded some boring programs. 6 | 7 | These programs are already in `$PATH`; they don't count towards your 8 | task's code size limit. So instead of including a dependency in your 9 | archive, consider shelling out to one of them. 10 | 11 | See also: 12 | 13 | * [docker-lambda](https://github.com/lambci/docker-lambda): container 14 | replica of the Lambda environment 15 | 16 | ## Cryptography and hashing 17 | 18 | * `certutil`, `cmsutil`, `crlutil`, `pk12util`, `signtool` (Mozilla NSS tools) 19 | * `gpg2` (GNU Privacy Guard; OpenPGP encryption/signing) 20 | * `md5sum` (file checksum tool) 21 | * `openssl` (cryptographic tool) 22 | * `sha1sum`, `sha224sum`, `sha256sum`, `sha384sum`, `sha512sum` (hash digest tools) 23 | 24 | ## Language runtimes 25 | 26 | * `bash` (GNU bash 4.2.46) 27 | * `java8`, `javac8`, `javadoc8`, `keytool8`, etc (Java JDK) 28 | * `lua`, `luac` (Lua 5.1.4 programming language) 29 | * `node` (Node 0.10.42, JavaScript execution environment) 30 | * `perl` (Perl 5.16.3) 31 | * `python2.7`, `pydoc2.7` (Python 2.7) 32 | * `python3.4`, `pydoc3.4`, `pyvenv3.4` (Python 3.4) 33 | * `xsltproc` (XSLT processor) 34 | 35 | ## Compression and archiving 36 | 37 | * `bunzip2`, `bzip2`, `bzcat`, `bzcmp`, `bzdiff`, `bzgrep` (bzip2 tools) 38 | * `gzip`, `gunzip`, `zcmp`, `zdiff` (GNU; gzip tools) 39 | * `tar` (GNU; archive tool) 40 | * `zip`, `unzip`, `zipgrep` (zip archive tools) 41 | 42 | ## Documents and images 43 | 44 | * `convert`, `mogrify` (ImageMagick) 45 | * `dvipdf` (GhostScript) 46 | * `ghostscript`, `gs` (PostScript/PDF interpreter and printing tool) 47 | * `ps2ascii`, `ps2pdf`, `ps2ps` (PostScript conversion tools from GhostScript) 48 | 49 | ## Networking 50 | 51 | * `curl` (URL transfer tool) 52 | * `ipcalc` (perform simple manipulation of IP addresses) 53 | * `urlgrabber` (URL downloading tool) 54 | 55 | ## Databases 56 | 57 | * `sqlite3` (single-file relational SQL database) 58 | 59 | ## Other tools 60 | 61 | * `dd` (file byte range copying tool) 62 | * `hexdump` (binary file formatter) 63 | * `pgrep`, `pkill` (find or kill processes) 64 | * `rpmdb`, `rpmbuild`, `rpmkeys`, etc (RPM package tools) 65 | * `uuidgen` (generate time-based or random UUIDs) 66 | 67 | ## GNU tools 68 | 69 | * `as` (assembler) 70 | * `awk`, `gawk` (text processing language) 71 | * `base64` (Base64 decoder/encoder) 72 | * `diff` (find differences, create patches) 73 | * `du` (count file byte sizes) 74 | * `elfedit` (ELF binary header updating tool) 75 | * `eqn` (equation formatting for troff and MathML) 76 | * `factor` (factorize number into primes) 77 | * `file` (MIME type classifier) 78 | * `find` (file system search tool) 79 | * `fmt` (monospace line formatter) 80 | * `fold` (monospace line wrapper) 81 | * `gdb` (debugger, possibly not runnable) 82 | * `getopt` (command line option parser for shell) 83 | * `gprof` (C profiling tool) 84 | * `grep` (file searching tool) 85 | * `groff`, `troff` (document formatting tool) 86 | * `idn` (Internationalized Domain Names and Punycode tool) 87 | * `ld` (linker) 88 | * `make`, `gmake` (build tool) 89 | * `patch` (apply patches) 90 | * `sed` (stream/file editing tool) 91 | * `sort` (line sorting tool) 92 | * `tbl` (table formatting for troff) 93 | * `tr` (character substitution tool) 94 | * `uniq` (uniquify lines of sorted file) 95 | 96 | --------------------------------------------------------------------------------