Here are several different ways to test a TCP port without telnet.
BASH (man page)
$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C
$ cat < /dev/tcp/127.0.0.1/23
Here are several different ways to test a TCP port without telnet.
$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C
$ cat < /dev/tcp/127.0.0.1/23
Link to these links: https://git.io/vKSVZ
Module 1:
jenkins -jar jenkins.wardocker run -d \
--restart unless-stopped \
--name jenkins \| i=0; for srvrecord in `host -t SRV $SrvServiceDiscoveryServiceDns | awk '{ print substr($8, 1, length($8)-1)}'`; do arr[$i]=$(host $srvrecord | grep -oE '((1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])\.){3}(1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])'); echo "arr[$i] is ${arr[$i]}"; i=$(expr $i + 1); done |
| #!/bin/bash | |
| mkdir /tmp/skype/; cd /tmp/skype | |
| wget https://repo.skype.com/latest/skypeforlinux-64.deb | |
| sudo apt install ./skype*.deb -y |
| mkdir /tmp/flash; cd /tmp/flash | |
| wget https://fpdownload.adobe.com/get/flashplayer/pdc/29.0.0.140/flash_player_npapi_linux.x86_64.tar.gz | |
| tar -xzf *.tar.gz; ls -la | |
| sudo cp libflashplayer.so /usr/lib/mozilla/plugins | |
| sudo cp -r usr/* /usr | |
| #Source: https://wiki.debian.org/FlashPlayer |
| #save region to clipboard and file | |
| #work fine via terminal but won't viakeyboardshirtcut association: ~/Pictures/screenshots/--/--.png | |
| sh -c 'gnome-screenshot -ac | mkdir -p ~/Pictures/screenshots/$(date +%Y-%m-%d) && xclip -selection clipboard -t image/png -o > ~/Pictures/screenshots/$(date +%Y-%m-%d)/$(date +%H-%M-%S).png' | |
| #save to clipboard only | |
| bash -c 'gnome-screenshot -ac' |
| lspci -k | grep -EA3 'VGA|3D|Display' | |
| #Integrated | |
| lspci | grep VGA | |
| #00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) | |
| glxinfo|egrep "OpenGL vendor|OpenGL renderer" | |
| lspci | grep VGA ; lsmod | grep "kms\|drm" ; find /dev -group video ; \ | |
| cat /proc/cmdline ; find /etc/modprobe.d/; cat /etc/modprobe.d/*kms* ; \ |
| HW: XPS 15 9560 i7-7700HQ 2x8GB 4K TouchScreen with Nvidia GTX 1050 and Intel HD 630 | |
| scale: 200% scale | |
| browser: chromium | |
| mode: F11 | |
| https://web.basemark.com/ | |
| Fedora 27: 66.17 (GPU: Intell) | |
| CSS Capabilities58.07% | |
| HTML5 Capabilities92.61% | |
| Page Load and Responsiveness Capabilities93.09% |
| #amazonlinux | |
| docker run --rm -it microsoft/powershell:amazonlinux | |
| #ubuntu16.04 | |
| docker run --rm -it microsoft/powershell:ubuntu16.04 | |
| # https://hub.docker.com/r/microsoft/powershell/ | |
| # https://github.com/PowerShell/PowerShell |