Top Basic Unix Commands for DBA’s

On this series we’re going to try to explain all the basic commands on unix environments that as a DBA we must to know.


The df command reports on the space left on the file system.
The most used option is -h that show the information in an “human” way (M, G, T).


The find command is very powerful.
It can search the entire filesystem to find files and directories according to the search criteria you specify.
Besides using the find command to locate files, you can also use it to execute other commands (grep, mv, rm, etc.) on the files and directories you find, which makes find extremely powerful.


Short for “make directory”, mkdir is used to create directories on a file system.
If the specified DIRECTORY does not already exist, mkdir creates it.
More than one DIRECTORY may be specified when calling mkdir.


The export command will marks each VAR for automatic export to the environment of subsequently executed commands i.e. make the local shell variable ORACLE_SID global.