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
4 years ago $0.02 earnedWhy Rumble.com?
1952 -
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]
30 -
0:07
PhilMarte
4 years agoevangelistphilmarte.com
120 -
LIVE
StoneMountain64
5 hours agoBattlefield 6 News and Extraction Gaming
125 watching -
9:21
Tundra Tactical
2 hours ago $0.31 earnedThe Dumbest Gun Questions Of All Time Answered! Part 2
4.55K1 -
LIVE
LumpyPotatoX2
1 hour agoWorld of Tanks 2.0 | Public Service Announcement - #RumbleGaming
36 watching -
LIVE
GritsGG
5 hours agoQuad Win Streaks w/ Bobby Poff!🫡 Most Wins in WORLD! 3600+
30 watching -
LIVE
Badlands Media
12 hours agoQuite Frankly Ep. 23
511 watching