-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
termux.0-to-hero (#1): started 0-a-heroi.sh & 0-a-heroi-informacao.sh
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
#=============================================================================== | ||
# | ||
# FILE: 0-a-heroi-informacao.sh | ||
# | ||
# USAGE: ./0-a-heroi-informacao.sh | ||
# | ||
# DESCRIPTION: Script escrito como apoio ao rascunho do documento | ||
# "Do zero ao seu perfil profissional no GitHub usando apenas | ||
# Smartphone Android e internet móvel" iniciado em 2019-05-07 | ||
# na comunidade de Facebook "Ligação Africa Brasil (Programação | ||
# e informática)" | ||
# | ||
# OPTIONS: --- | ||
# REQUIREMENTS: --- | ||
# BUGS: --- | ||
# NOTES: --- | ||
# AUTHOR: Emerson Rocha, [email protected] | ||
# COMPANY: EticaAI | ||
# LICENSE: Public DOmain | ||
# VERSION: 1.0 | ||
# CREATED: 2019-05-08 18:03 BRT | ||
# REVISION: --- | ||
#=============================================================================== | ||
|
||
if (( $EUID == 0 )); then | ||
echo "EXECUTANDO COMO SUPER USUARIO: sim (pode ser perigoso!)" | ||
# echo "Cuidado! Parece que esta executando como superusuario sudo." | ||
else | ||
echo "EXECUTANDO COMO SUPER USUARIO: nao" | ||
fi |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
echo "Leia-me; nao fui feito para ser executado com ./0-a-heroi.sh" | ||
exit 1 | ||
#=============================================================================== | ||
# | ||
# FILE: 0-a-heroi.sh | ||
# | ||
# USAGE: cat 0-a-heroi.sh | ||
# | ||
# DESCRIPTION: Script escrito como apoio ao rascunho do documento | ||
# "Do zero ao seu perfil profissional no GitHub usando apenas | ||
# Smartphone Android e internet móvel" iniciado em 2019-05-07 | ||
# na comunidade de Facebook "Ligação Africa Brasil (Programação | ||
# e informática)" | ||
# | ||
# OPTIONS: --- | ||
# REQUIREMENTS: Android 5.0+ | ||
# Termux (https://termux.com/) | ||
# BUGS: --- | ||
# NOTES: --- | ||
# AUTHOR: Emerson Rocha, [email protected] | ||
# COMPANY: EticaAI | ||
# LICENSE: Public Domain | ||
# VERSION: 1.0 | ||
# CREATED: 2019-05-08 17:48 BRT | ||
# REVISION: --- | ||
#=============================================================================== |