Some of the Linux commands which we regularly use in our daily work space
- mkdir directory_name = to create a directory
- ls -lrt = to view the list of files/directories in any directory
- vi file_name = to create a new file (or) edit file. [after creation of file press 'ESC' then 'shift key' + :wq! to save the file] after opening the file click I to insert the data.
- cat file_name = to view the contents in the file
- df -kh = to view the list of mount points
- cd mount point name = to change the directory
- unname - a = to know the platform of software
- ifconfig -a = to know the ip address of server
- pwd = to know the present working directory
- cd .. = to move one step backward
- cd ../.. = to move two steps backward
- cp = to copy the content from one file location to another file location
- mv = to move the content from one file location to another file location
- hostname = to view the hostname of database server
- unzip = to unzip any zip files
- rm -rf = to remove any file or directory be cautious before using this command
- chown username = to change the ownership of the directory or file
- chmod 775 = to change the privileges of the directory or file
- usermod -g groupname username = to merge user and group name
- useradd = to add username
- groupadd = to add groupname
- su - root = switch to root user
- ./run file_name = to run the file
- ./deinstall = to uninstall database software
- cat /etc/password = to know how many users are present
- ps -ef | grep pmon = it will display whether database is running or not
- lsnrctl start listner_name = to start the listner process
- lsnrctl stop listner_name = to stop the listner process
- ps -ef | grep tns = to check whether my listner is running or not
- free -g = to show memory details
- du -sh = to know complete size
- du -sh* = to know each file size
Comments
Post a Comment