#! /bin/bash @_bin_bash
Joined September 2011-
Tweets26
-
Followers21
-
Following27
-
Likes0
# echo -e "$(sed 's/#Port 22/Port 2222/' /etc/ssh/sshd_config)" > /etc/ssh/sshd_config # Changing sshd port configuration.
# for i in user1 user2 user3 ; do useradd $i ; echo "test" | passwd $i --stdin; done # Mass user creation with "test" password.
# restorecon -vv -F /etc/resolv.conf # Restore file context. #selinux
semanage port -a -t http_port_t -p tcp 8888 # Add port 8888 to http_port_t context. #selinux
python -c 'import crypt; print crypt.crypt("MyPass", "$6$SomeSalt$")' # Generate salted SHA512 shadow password.
tail -f access.log | awk -F " " '{system("echo -n $(date -d @\"" $1 "\")") ; $1=""; print $0 }' # Real time convert timestamp.
openssl -h |& grep client # Use |& to pipe stderr so that you can search for what the client command is for openssl.
echo {00..10..2} # Sequence from 0 up to 10, incrementing 2. All items contain same number of digits, zero-padding where necessary.
ls -l test; !!:s/test/log/ # Repeat the last command (ls), replacing "test" with "log".
var="cdefg.hi.j.k.lm.nopq"; echo ${var%.*} # Remove a ocorrência mais curta do padrão informado após o "%", do fim para o começo. @_bin_bash
var="00:21:27:e4:05:28"; echo ${var:3:2} # Expand up to 2 characters starting at index 3 character.
var="example"; var+=".foo.bar" # Append to the value of variable.
date -d @1299569890 # Convert Unix timestamp to readable date/time.
Today’s #bash lesson: you can use any of the bracketing constructs as part of the definition and get the side-effects of those brackets.
var="test"; echo ${var^} # Capitalize the first character.
echo $(($RANDOM % 20 + 1)) # Random number between 1 and 20.

bblgmsd @bblgmsd
1 Followers 35 Following
Aiden Mortis 🧪 @aizen89r
228 Followers 1K Following
Anthony Romano @bashscriptdef
13 Followers 331 Following
Andreas Frank @andreasgfrank
270 Followers 440 Following i like bash programming, Linux, Unix, Sci-Fi, taking a walk, new releases of my bash framework...
Jovino Gonçalves @jovinosumicity
493 Followers 2K Following Viciado em Software Livre decide usar o Gwibber que vem no novo Ubuntu 10.04 LTS Lucid Lynx. Ubuntu GNU/Linux social desde o inicio.
Hristo Malinov @hmalinov
38 Followers 130 Following Senior Systems Manager in IT Ops, passionate about continuous improvement, creativity, #leanthinking and problem solving. Kubernets, python, automation.
Hiroshi @1992_Hiroshi
19 Followers 63 Following
Felipe Lima @felipefls
48 Followers 541 Following Tennis, NFL, NBA, MLB, tecnologia, um pouco de política e piadas. Não necessariamente nessa ordem.
shell_script @shell_script
221 Followers 43 Following Interests are network security, hacking, guns, and bbq. I am not anon and I am not prosec. I make my own decisions.
Douglas Landgraf @dougsland
254 Followers 541 Following
Esdras Moreira @esdrasmo
131 Followers 120 Following CEO na Introduce, pessoas e empresas a se adaptar ou acelerar seus resultados com transformação digital.
Fabrício Müller @fabricio8800
7 Followers 53 Following
Carlos Vasata @cevasata
58 Followers 176 Following
Geraldo Albuquerque @AprendiNoLinux
210 Followers 702 Following cat Dicas | comandos | frases | truques | dúvidas | soluções. Seguindo de volta amantes do GNU/Linux. Sigo usuários de qualquer distribuição LINUX.
Marcos Freddo🇧🇷... @marcosfreddo
114 Followers 313 Following
Brayan Poloni @brayanpoloni
115 Followers 236 Following
Jeronimo Zucco @jczucco
892 Followers 1K Following Try to learn something about everything and everything about something.
Fabrício Müller @fabricio8800
7 Followers 53 Following
Esdras Moreira @esdrasmo
131 Followers 120 Following CEO na Introduce, pessoas e empresas a se adaptar ou acelerar seus resultados com transformação digital.
Douglas Landgraf @dougsland
254 Followers 541 Following
Odair Bourscheidt @odair_sr
42 Followers 8 Following
Regular Expression @RegexTip
75K Followers 19 Following Learn to use regular expressions by following RegexTip. From @JohnDCook.
Web Hacks @webhax
247 Followers 583 Following Trying to prove a point that the Internet isn't that secure as people think. No malicious actions are executed, yet.
Nagarjuna @TechSavyTweets
156 Followers 409 Following Information Technology, Technology Freak, Voracious Reader, Intrigued by Social & Professional Networks, Early Adopter of New Tech & a FAN of all things.
Aiden Mortis 🧪 @aizen89r
228 Followers 1K Following
Geraldo Albuquerque @AprendiNoLinux
210 Followers 702 Following cat Dicas | comandos | frases | truques | dúvidas | soluções. Seguindo de volta amantes do GNU/Linux. Sigo usuários de qualquer distribuição LINUX.
Никитос Ива... @greenlool
46 Followers 111 Following Придумывание штук http://t.co/hPUWH6sMTw http://t.co/ddXogFiv2B
Hiroshi @1992_Hiroshi
19 Followers 63 Following
Kenny Casagrande @kennycasagrande
57 Followers 134 Following Senior DevOps Engineer && Python Dev Not quite often here, even less after Elon Musk has bought it....
Marcos Freddo🇧🇷... @marcosfreddo
114 Followers 313 Following
Jeronimo Zucco @jczucco
892 Followers 1K Following Try to learn something about everything and everything about something.
Carlos Vasata @cevasata
58 Followers 176 Following
Brayan Poloni @brayanpoloni
115 Followers 236 Following
Commandlinefu 10 up @commandlinefu10
5K Followers 0 Following 10 star command line gems - known to make experienced sysadmins weep with joy.
Command Line Magic @climagic
190K Followers 11K Following Cool Unix/Linux Command Line tricks you can use in $TWITTER_CHAR_LIMIT characters or less. Here mostly to inspire. Also on https://t.co/YYJE9JpVnF
Linux Commands @LinuxCmd
3K Followers 4 Following Linux Command Line & and Shell Scripts by Domenico Rigattieri
shell_script @shell_script
221 Followers 43 Following Interests are network security, hacking, guns, and bbq. I am not anon and I am not prosec. I make my own decisions.