Linux Commands 01OCT2025
Linux Commands 01OCT2025
[oracle@linux ~]$ ls -lrt ( It list all the files and folders in the directory )
total 44
drwxr-xr-x. 2 oracle oracle 4096 Jul 19 2019 Templates
drwxr-xr-x. 2 oracle oracle 4096 Jul 19 2019 Public
drwxr-xr-x. 2 oracle oracle 4096 Jul 19 2019 Documents
drwxr-xr-x. 2 oracle oracle 4096 Jul 19 2019 Videos
drwxr-xr-x. 2 oracle oracle 4096 Jul 19 2019 Pictures
drwxr-xr-x. 2 oracle oracle 4096 Jul 19 2019 Music
drwxr-xr-x. 2 oracle oracle 4096 Feb 24 2021 Downloads
drwxr-xr-x. 2 oracle oracle 4096 Feb 24 2021 Desktop
drwxr-xr-x 4 oracle oracle 4096 May 17 16:07 app
-rw-rw-r-- 1 oracle oracle 4476 Jun 12 15:58 Template_Information.txt
************************************************************************
** Note that the listener is set up to run locally (unbound.us.oracle.com)
**
** If you need to access the database outside this machine do the following:
**
** vi /etc/hosts to add machine ip and hostname details. For example:
**
** 10.10.10.123 celvpvm12345.us.oracle.com celvpvm12345
**
** edit listener.ora and change 'localhost' to hostname
** edit tnsnames.ora and change 'unbound' to hostname
************************************************************************
**
**
************************************************************************
** ORACLE_HOME=/refresh/home/app/oracle/product/23.4.0
** ORACLE_SID=orcl
** TNS_ADMIN=/refresh/home/app/oracle/product/23.4.0/network/admin
**
** type cdo to cd to ORACLE_HOME
************************************************************************
[oracle@linux ~]$
Other Information
-----------------
::
Creator : [email protected]
Built From : created from OEL 8.6 template
Build Date : 23 May 2024
Update Date : 12 June 2024
==================
Machine: Machine 1
==================
+---------------------+---------------------------------------------+
| Hostname | Not static |
+---------------------+---------------------------------------------+
| Static Hostname | No |
+---------------------+---------------------------------------------+
| HD free space | /refresh 46gb |
+---------------------+---------------------------------------------+
| OS Name | Oracle Enterprise Linux 8 |
+---------------------+---------------------------------------------+
| OS Language | US English |
+---------------------+---------------------------------------------+
| Service Pack/Update | Update 6 |
+---------------------+---------------------------------------------+
| Chipset | 64bit |
+---------------------+---------------------------------------------+
OS Accounts
-----------
+-----------------+---------------+
| Username | Password |
+=================+===============+
| root | Welcome1 |
+-----------------+---------------+
| oracle | Welcome1 |
+-----------------+---------------+
VNC Access
----------
* Hostname: <IP/machine_name>:2
* Username: (none)
* Password: Welcome1
Oracle Software
---------------
+---------------------------------------+---------------+-----------------------
+---------------------------------------+
| Product | Version | Ports allocated |
URLs |
+=======================================+===============+=======================+==
=====================================+
| Oracle Database | 23.4.0.0.0 | 1521 |
|
+---------------------------------------+---------------+-----------------------
+---------------------------------------+
| Oracle Database Client | 23.4.0.0.0 | |
|
+---------------------------------------+---------------+-----------------------
+---------------------------------------+
| Oracle VM VirtualBox Guest Additions | 4.2.36 | |
|
+---------------------------------------+---------------+-----------------------
+---------------------------------------+
Product Accounts
----------------
+-----------------------------------------------+-----------------------
+---------------+---------------+
| Application/url | Instance/Domain | Username
| Password |
+===============================================+=======================+==========
=====+===============+
| Oracle Database | orcl |
sys/system | Welcome1 |
+-----------------------------------------------+-----------------------
+---------------+---------------+
* FireFox
[oracle@linux ~]$
[oracle@linux ~]$ vi Template_Information.txt ( To edit a file )
[oracle@linux ~]$ cat Template_Information.txt
vk-test
====================
Template Information
====================
Other Information
-----------------
::
Creator : [email protected]
Built From : created from OEL 8.6 template
Build Date : 23 May 2024
Update Date : 12 June 2024
==================
Machine: Machine 1
==================
+---------------------+---------------------------------------------+
| Hostname | Not static |
+---------------------+---------------------------------------------+
| Static Hostname | No |
+---------------------+---------------------------------------------+
| HD free space | /refresh 46gb |
+---------------------+---------------------------------------------+
| OS Name | Oracle Enterprise Linux 8 |
+---------------------+---------------------------------------------+
| OS Language | US English |
+---------------------+---------------------------------------------+
| Service Pack/Update | Update 6 |
+---------------------+---------------------------------------------+
| Chipset | 64bit |
+---------------------+---------------------------------------------+
OS Accounts
-----------
+-----------------+---------------+
| Username | Password |
+=================+===============+
| root | Welcome1 |
+-----------------+---------------+
| oracle | Welcome1 |
+-----------------+---------------+
VNC Access
----------
* Hostname: <IP/machine_name>:2
* Username: (none)
* Password: Welcome1
Oracle Software
---------------
+---------------------------------------+---------------+-----------------------
+---------------------------------------+
| Product | Version | Ports allocated |
URLs |
+=======================================+===============+=======================+==
=====================================+
| Oracle Database | 23.4.0.0.0 | 1521 |
|
+---------------------------------------+---------------+-----------------------
+---------------------------------------+
| Oracle Database Client | 23.4.0.0.0 | |
|
+---------------------------------------+---------------+-----------------------
+---------------------------------------+
| Oracle VM VirtualBox Guest Additions | 4.2.36 | |
|
+---------------------------------------+---------------+-----------------------
+---------------------------------------+
Product Accounts
----------------
+-----------------------------------------------+-----------------------
+---------------+---------------+
| Application/url | Instance/Domain | Username
| Password |
+===============================================+=======================+==========
=====+===============+
| Oracle Database | orcl |
sys/system | Welcome1 |
+-----------------------------------------------+-----------------------
+---------------+---------------+
* FireFox
[oracle@linux ~]$