Skip to Content
Linux eficiente na linha de comandos
book

Linux eficiente na linha de comandos

by Daniel J. Barrett
April 2025
Intermediate to advanced
248 pages
6h 19m
Portuguese (Portugal, Brazil)
O'Reilly Media, Inc.
Content preview from Linux eficiente na linha de comandos

Capítulo 4. Navegando pelo sistema de arquivos

Este trabalho foi traduzido com recurso a IA. Agradecemos o teu feedback e comentários: translation-feedback@oreilly.com

No filme As Aventuras de Buckaroo Banzai na 8ª Dimensão, uma comédia clássica de culto de 1984, a personagem-título oferece as seguintes palavras de sabedoria zen: "Lembra-te, não importa para onde vás... lá estás tu." Buckaroo poderia muito bem estar a falar sobre o sistema de ficheiros Linux:

$ cd /usr/share/lib/etc/bin              No matter where you go...
$ pwd
/usr/share/lib/etc/bin                   ...there you are.

É também o caso que onde quer que estejas no sistema de ficheiros Linux - o teu diretório atual - irás eventualmente para outro sítio (para outro diretório). Quanto mais rápido e eficiente for esta navegação, mais produtivo poderás ser.

As técnicas neste capítulo irão ajudar-te a navegar no sistema de ficheiros mais rapidamente e com menos digitação. Elas parecem enganosamente simples, mas têm um enorme retorno sobre o investimento, com pequenas curvas de aprendizado e grandes recompensas. Essas técnicas se dividem em duas grandes categorias:

  • Passa rapidamente para um diretório específico

  • Regressar rapidamente a um diretório que já visitaste anteriormente

Para uma rápida atualização sobre os diretórios Linux, veja o Apêndice A. Se usar uma shell diferente de bash, veja o Apêndice B para notas adicionais.

Visitar diretórios específicos de forma eficiente

Se perguntares a 10 especialistas em Linux qual é o aspeto mais ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Aprende o Linux moderno

Aprende o Linux moderno

Michael Hausenblas

Publisher Resources

ISBN: 9798341642164