forked from vaamonde/ubuntu-1804
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Bash.sh
33 lines (31 loc) · 1.32 KB
/
Bash.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
#Autor: Robson Vaamonde
#Site: www.procedimentosemti.com.br
#Facebook: facebook.com/ProcedimentosEmTI
#Facebook: facebook.com/BoraParaPratica
#YouTube: youtube.com/BoraParaPratica
#Data de criação: 01/07/2019
#Data de atualização: 22/07/2020
#Versão: 0.02
#Comandos básicos de Bash/Shell
_00. bash (Ctrl+Alt+T ou Ctrl+Alt+F? ou Alt+F? - F7 terminal gráfico)
_01. ls (List information about file(s) and directory)
_02. cd (Change Directory)
_03. pwd (Print Working Directory)
_04. mkdir (Create new folder)
_05. rmdir (Remove folder)
_06. echo (Display message on screen)
_07. touch (Change file timestamps)
_08. cat (Concatenate and print (display) the content of files)
_09. cp (Copy one or more files to another location)
_10. mv (Move or rename files or directories)
_11. rm (Remove files and Folder)
_12. du (Estimate file space usage)
_13. df (Display free disk space)
_14. find (Search for files that meet a desired criteria)
_15. head (Output the first part of file)
_16. tail (Output the last part of file)
_17. less (Display output one screen at a time)
_18. grep (Search file(s) for lines that match a given pattern)
_19. history (Command History)
_20. exit (Exit the shell | Ctrl+D)