Description | Command |
---|---|
Start a new session with session name | screen -S <session_name> |
List running sessions / screens | screen -ls |
Attach to a running session | screen -x |
Attach to a running session with name | screen -r <session_name> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to view the system specs in linux | |
Open terminal and type sudo dmidecode --type. | |
Don't click Enter yet! after --type, you can write bios or system, etc. to view the related specs. | |
For example: sudo dmidecode --type bios will display the BIOS specs. | |
Complete list of "What can I write after --type" (common parameters are in bold): | |
Memory | |
BIOS | |
System |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Keyboard Control | |
LEFT and RIGHT | |
Seek backward/forward 5 seconds. Shift+arrow does a 1 second exact seek (see --hr-seek). | |
UP and DOWN | |
Seek forward/backward 1 minute. Shift+arrow does a 5 second exact seek (see --hr-seek). | |
Ctrl+LEFT and Ctrl+RIGHT | |
Seek to the previous/next subtitle. Subject to some restrictions and might not always work; see sub-seek command. | |
Ctrl+Shift+Left and Ctrl+Shift+Right | |
Adjust subtitle delay so that the next or previous subtitle is displayed now. This is especially useful to sync subtitles to audio. | |
[ and ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# install the smartctl package first! (apt-get install smartctl) | |
if sudo true | |
then | |
true | |
else | |
echo 'Root privileges required' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
:top | |
ping 8.8.8.8 | |
ECHO. | |
ECHO File start %time% | |
ECHO. | |
:: wget -O - "http://ipv4.download.thinkbroadband.com/100MB.zip" | |
:: wget -O - "http://ipv4.download.thinkbroadband.com/50MB.zip" | |
:: wget -O - "http://ipv4.download.thinkbroadband.com/20MB.zip" | |
:: wget -O - "http://speedtest-ca.turnkeyinternet.net/100mb.bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for sd in /dev/sd[a-z]; do echo $sd; smartctl -t short $sd; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
watch -c -n 1 -d --exec smart-test-status-all.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for sd in /dev/sd[a-z]; do echo $sd; smartctl -c $sd | grep Self-test | grep -v supported; smartctl -c $sd | grep remaining; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for sd in /dev/sd[a-z]; do echo $sd; smartctl -t short $sd; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ART OF MINIMAL TECHNO TRIPPING Music Live 24/7 Deep, Melodic, House, Chill & High: | |
mpv.exe https://www.youtube.com/watch?v=fOH_MdwbXhY --no-video | |
ART OF TECHNO 'DEEP' RADIO - Melodic - Progressive - House: | |
mpv.exe https://www.youtube.com/watch?v=thd6h-ZZIfo | |
Tech House Mix Jan 2019: | |
mpv.exe https://www.youtube.com/watch?v=Bd4Wxux_pTU&t=556s --no-video | |
Boris Brejcha @ Art of Minimal Techno Tripping - Mickey & Bad Hot Dogs by RTTWLR |