Fichas
Simple Commands in Linux
Fichas del conjunto (30)
- 1pwdPresent working directory
- 2date -RViews date in Email format
- 3calCalendar on any month
- 4freeMemory Logistics of the system
- 5groupsShows which groups current user is in
- 6"sudo" GroupSuperuser
- 7ls -lLong listing of contents of a directory
- 8-Last working directory
Regular file - 9-iReturns the number of inodes of a file while running the ls command
- 10mkdirMaking a new directory. Name of the directory in inputted after the command.
- 11chmodChanging permissions of the file or directory entered after it.
- 12touchChanges the timestamp of last modification of a particular file or folder.
Also creates a new empty file - 13cpCopy of a particular file. First argument is the file to be copied an second argument is the name of the copy file
- 14mvMoves a file to another directory or file
Rename the file - 15rmTo remove a file
- 16aliasUsed to make alias of commands
- 17whoamiReturns the current user using the system
- 18lessUsed to read a file, along with cat
- 19fileGives us the type of file being passed as an argument.
- 20head tailfirst n and last n lines of a file
- 21wcNumber of lines, words and bytes in the file
- 22whichLocation of the command given in the argument
- 23whatisbrief description of the command in argument
- 24aproposSearches all those commands with the keyword (given as argument) in the description
- 25psGives us the data on the shell that we were running
- 26typeGives the type of the command given in the argument
- 27rmdirRemoves an empty directory
- 28rm -rRecursively removes the contents of a directory
- 29ln -sUsed to create Symbolic links. Will create Hard links without the -s option. First argument is the file whose link is being created and second is the name of the created link
- 30ls -sSpecifies the size of the files in the given directory or drive. Similar to the stat or du commands.
Información
- Descripción
- GATE (Simple Commands) System Commands Fichas sobre Simple Commands in Linux, creado por ISHANI UPADHYAY el 04/01/2023.
- Creado por
- ISHANI UPADHYAY
- Visitas
- 1
- Valoración