(still a work-in-progress)
This file contains hidden or 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
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
This file contains hidden or 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
cd /etc/systemd/system/; curl -O https://raw.githubusercontent.com/minio/minio-service/master/linux-systemd/minio.service ) | |
adduser --system --no-create-home --group --disabled-login --shell=/bin/false minio-user | |
systemctl enable minio.service | |
$ cat <<EOT >> /etc/default/minio | |
# Volume to be used for Minio server. | |
MINIO_VOLUMES="/tmp/minio/" | |
# Use if you want to run Minio on a custom port. | |
MINIO_OPTS="--address :9199" | |
# Access Key of the server. |
This file contains hidden or 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
:w !sudo tee % |
This file contains hidden or 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
dd if=/dev/input.file of=/path/to/output.file bs=block-size count=number-of-blocks oflag=dsync | |
## GNU dd syntax ## | |
########################################################## | |
##***[Adjust bs and count as per your needs and setup]**## | |
########################################################## | |
dd if=/dev/zero of=/tmp/test1.img bs=1G count=1 oflag=dsync | |
dd if=/dev/zero of=/tmp/test2.img bs=64M count=1 oflag=dsync | |
dd if=/dev/zero of=/tmp/test3.img bs=1M count=256 conv=fdatasync | |
dd if=/dev/zero of=/tmp/test4.img bs=8k count=10k | |
dd if=/dev/zero of=/tmp/test4.img bs=512 count=1000 oflag=dsync |