#!/bin/bash
PS1="\e]2;melakukan shutdown\a\u@\h:\$ "
setterm -term linux -back green -fore yellow -clear
function count{
local OLD_IFS="${IFS}"
IFS=":"
local ARR=( $1 )
local SECONDS=$(( (ARR[0] * 60 * 60) + (ARR[1] * 60) + ARR[2] ))
local START=$(date +%s)
local END=$((START + SECONDS))
local CUR=$START
while [[ $CUR -lt $END ]]
do
CUR=$(date +%s)
LEFT=$((END-CUR))
printf "\r%02d:%02d:%02d" \
$((LEFT/3600)) $(( (LEFT/60)%60)) $((LEFT%60))
sleep 1
done
IFS="${OLD_IFS}"
echo " "
}
count "00:00:21"
sudo init 0 #untuk linux mint
#kalo archlinux systemctl poweroff -i dan hapus sudo init 0
$@
/bin/bash
copy kan script yang kita simpan contoh tewas
cp tewas /usr/local/bin
kemudian run dengan mengetikkan perintah tewas
PS1="\e]2;melakukan shutdown\a\u@\h:\$ "
setterm -term linux -back green -fore yellow -clear
function count{
local OLD_IFS="${IFS}"
IFS=":"
local ARR=( $1 )
local SECONDS=$(( (ARR[0] * 60 * 60) + (ARR[1] * 60) + ARR[2] ))
local START=$(date +%s)
local END=$((START + SECONDS))
local CUR=$START
while [[ $CUR -lt $END ]]
do
CUR=$(date +%s)
LEFT=$((END-CUR))
printf "\r%02d:%02d:%02d" \
$((LEFT/3600)) $(( (LEFT/60)%60)) $((LEFT%60))
sleep 1
done
IFS="${OLD_IFS}"
echo " "
}
count "00:00:21"
sudo init 0 #untuk linux mint
#kalo archlinux systemctl poweroff -i dan hapus sudo init 0
$@
/bin/bash
copy kan script yang kita simpan contoh tewas
cp tewas /usr/local/bin
kemudian run dengan mengetikkan perintah tewas
7 komentar:
You've made your point quite nicely.!
my page :: cydia gratuit ios 7
Whats up this is kind of of off topic but I was wondering if blogs use WYSIWYG editors or if you
have to majually code witfh HTML. I'm starting a bllog oon but have
no coding expertise so I wanted to get advice from someone with
experience. Any help would be greatly appreciated!
Feel free to visit my site: voice overs online australia
I am really imƿressed with youг writing skillѕ as well as
with tthe layout on your blog. Is this a pad theme or did you customize it
уourself? Anyway keep up the excellent quality writing,
it's rare to seee a gгeat blog like this one
nowаdays.
Also visit mʏy blog: free hacked pokemon oms
ffor android ()
Does youг site have a contact page? I'm haѵing trouble loϲating
it but, I'd like to shooit you an email. I've got some suggesttions for your blog you might be interested in heaгing.
Either way, grеat website ɑnd I loоk forward to
seeing it expand over time.
Also visit my blog post :: zip cloud review
Sweet blog! I found it whіile seafϲhing on Yahoo News.
Do you have any tips on how to geet listed in Yahoo News?
I've been trƴing fߋr a while but I never seem to get there!
Thanks
my web site: romantic things to say To get her back
It's difficult to find experienceed people about this subject, however,
you sound like you know what you're talking about!
Thanks
Review my wesbsite :: program To compress files
Every weekend i used to ppay a quick visit this web site,
because i want enjoyment, as this this web site conations actually fastidious funny stuff too.
Here is my web site: best hacked pokemon roms gba download
Posting Komentar