Skip to content

Instantly share code, notes, and snippets.

View williamcanin's full-sized avatar
😁
Simple is better than complex.

William C. Canin williamcanin

😁
Simple is better than complex.
View GitHub Profile
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 ntfs Dados-Ntfs 66E421B71C85E362
├─sda2
├─sda3 ext4 fedora ef0da60e-1bf5-4a7c-92d4-25999c784ad5
├─sda5 ext4 87daa4d7-ec56-460f-ab11-b2788aa373ec /mnt/home
├─sda6 ext4 db5b49b3-200a-4172-b036-1b5f42dbe73e
├─sda7 swap 035b2802-752a-45b6-a87c-c4d466cdf53d [SWAP]
└─sda8 ext4 archlinux 2253f584-8ff4-46c2-9cf6-386415684be8 /
sr0
@williamcanin
williamcanin / progress_percent.sh
Last active August 29, 2015 14:27
ProgressPercent. As parameters option beginning, end, seconds and message text.
#!/bin/bash
# Type script: Shell
# Program: Progress percent
# Description: Shell script function to demonstrate a process according with percentage inserted seconds.
# Version: 1.0.0
#
#------------------------------------------Using --------------------------------------------
# _PROGRESS_PERCENT "begin_percent" "end_percent" "seconds_time_of_progress" "message"
#
# NOTE: For cancel process, using: Ctrl+C