2.4 Criando Movendo e Deletando Arquivos Flashcards

1
Q

Mostra o caminho do diretório atual.

A

pwd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Cria um diretorio

A

mkdir nome_pasta

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Cria um diretório com sub diretório.

A

mkdir -p diretorio1/diretorio2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Mostra uma lista com todos os diretórios e sub diretórios

A

find

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Cria um arquivo vazio

A

touch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Comando que vizualiza um arquivo de texto

A

cat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Renomeia um arquivo

A

mv nome_atual novo_nome

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Comando que excluí arquivos e diretórios.

A

rm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Comando pra exclusão recursiva

A

rm -r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Comando para copiar arquivos e diretórios

A

cp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Linguagem simples de correspondência de padrões

A

Globbing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly