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 -
7:13
China Uncensored
18 hours agoChina’s Military Is Out of Control. Can This INSANE Plan Stop It?
5.35K8 -
1:46
WildCreatures
17 days ago $0.52 earnedButterfly risks its life to drink crocodile tears in the Pantanal
5.13K5 -
24:38
Professor Nez
17 hours agoTrump Just SHOOK the Democrats to the CORE with THIS MOVE!
19.8K12 -
14:16
Actual Justice Warrior
3 days agoManhattan DA Says It's Okay To ATTACK Pro Life Activists
20.4K29 -
5:31
Buddy Brown
1 day ago $3.79 earnedJames Comey Forgot This Video EXISTS! | Buddy Brown
24.4K13