Premium Only Content
Lendo o arquivo /etc/passwd e separando colunas com IFS
"#aiedonline em youtube.com/c/aiedonline"
Lendo o arquivo /etc/passwd e separando colunas com IFS
Todo o material de minhas aulas estão aqui: https://youtu.be/jSsJmD4I3Nw
Livro gratuÃto: https://docs.google.com/document/d/14S8MAcjspdbBWsja-Ijb_GQfs4C1PzJmDcTJ3bYXyeQ/edit?usp=sharing
TELEGRAM: https://t.me/joinchat/Plabo1TylY2GEPJQ1eJ9IQ
IFSsignifica "separador de campo interno". É usado pelo shell para determinar como fazer a divisão de palavras, ou seja, como reconhecer os limites das palavras.
#!/bin/bash
# script que lista os usuários e separa por campo
#
while IFS=: read -r f1 f2 f3 f4 f5 f6 f7
do
echo "Usuário $f1 usa o shell $f7 e armazena arquivos em $f6 "
done < /etc/passwd
#net-tools, #ifconfig, #route, #arp, #rarp, #netstat,#RedesComputadores, #Tanenbaum, #Linux, #GNU, #CamadaApresentação, #ModeloOSI, #Modelo #TCP/IP, #Impacta, #Faculdade, #Universidade, #CiênciaComputação, #ADS, #Tecnologia, #Hospedagem, #Bicoin, #Ubuntu, #KaliLinux, #mintLinux, #diolinux, #bosontreinamentos
-
3:46
Rumble Tutorials
5 years ago $0.02 earnedWhy Rumble.com?
1982 -
1:11
LostCoastWellness
4 years ago $0.01 earnedLostCoast Wellness.com
53 -
0:59
wisehairstyles
4 years agoVideo - wisehairstyles.com
19 -
4:25
RobSmithJr2
4 years ago[email protected]
31 -
0:07
PhilMarte
4 years agoevangelistphilmarte.com
120 -
2:18:57
vivafrei
12 hours agoEp. 294: Pipe Bomber Caught? Pfizer Fraud before Appeals! Venezuela Boat Strikes! EU v. Elon & MORE!
182K90 -
LIVE
EricJohnPizzaArtist
2 days agoAwesome Sauce PIZZA ART LIVE Ep. #72: John Lennon
318 watching -
LIVE
meleegames
1 hour agoSteam Roulette Sunday! - Chaos Is Back in Town
75 watching -
LIVE
Akademiks
3 hours agoOffset and Steffon Diggs squabbled in the Club? Fif on Warpath still vs Diddy. NLE Choppa vs YB pt2?
1,127 watching -
2:32:02
Laura Loomer
3 hours agoEP159: The Pentagon Press Corps Gets LOOMERED
19.1K14