Monday, May 6, 2019

Unix Basic Commands - 1

[oracle@ODIGettingStarted ~]$ echo $HOME
/home/oracle
[oracle@ODIGettingStarted ~]$ pwd
/home/oracle
[oracle@ODIGettingStarted ~]$ uname
Linux
[oracle@ODIGettingStarted ~]$ uname -i
x86_64
[oracle@ODIGettingStarted ~]$ uname -n
ODIGettingStarted
[oracle@ODIGettingStarted ~]$ uname -rs
Linux 2.6.39-400.17.1.el6uek.x86_64
[oracle@ODIGettingStarted ~]$ uname --help
Usage: uname [OPTION]...
Print certain system information.  With no OPTION, same as -s.

  -a, --all                print all information, in the following order,
                             except omit -p and -i if unknown:
  -s, --kernel-name        print the kernel name
  -n, --nodename           print the network node hostname
  -r, --kernel-release     print the kernel release
  -v, --kernel-version     print the kernel version
  -m, --machine            print the machine hardware name
  -p, --processor          print the processor type or "unknown"
  -i, --hardware-platform  print the hardware platform or "unknown"
  -o, --operating-system   print the operating system
      --help     display this help and exit
      --version  output version information and exit

Report uname bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
For complete documentation, run: info coreutils 'uname invocation'
[oracle@ODIGettingStarted ~]$ date
Mon May  6 05:33:10 EDT 2019
[oracle@ODIGettingStarted ~]$ cal
      May 2019     
Su Mo Tu We Th Fr Sa
          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

[oracle@ODIGettingStarted ~]$ cal 02 2019
    February 2019  
Su Mo Tu We Th Fr Sa
                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

[oracle@ODIGettingStarted ~]$ clear
[oracle@ODIGettingStarted ~]$
[oracle@ODIGettingStarted ~]$ ls
Desktop  Documents  Downloads  mountshared.sh  Music  openssl-1.0.1g  openssl-1.0.1g.tar.gz  oradiag_oracle  oraInventory  Pictures  Public  Templates  Videos
[oracle@ODIGettingStarted ~]$ ls -a
.              .bash_profile~  .dmrc      .gconfd          .gtk-bookmarks   .local          .odi                   oraInventory         .sqldeveloper              .vboxclient-display.pid      .xsession-errors.old
..             .bashrc         Documents  .gnome2          .gvfs            mountshared.sh  .odi_jdk               Pictures             .ssh                       .vboxclient-draganddrop.pid
.abrt          .cache          Downloads  .gnome2_private  .ICEauthority    .mozilla        openssl-1.0.1g         Public               Templates                  .vboxclient-seamless.pid
.bash_history  .config         .emacs     .gnote           .icons           Music           openssl-1.0.1g.tar.gz  .pulse               .themes                    Videos
.bash_logout   .dbus           .esd_auth  .gnupg           .imsettings.log  .nautilus       .oracle_jre_usage      .pulse-cookie        .thumbnails                .viminfo
.bash_profile  Desktop         .gconf     .gstreamer-0.10  .lesshst         .ocm            oradiag_oracle         .recently-used.xbel  .vboxclient-clipboard.pid  .xsession-errors
[oracle@ODIGettingStarted ~]$ ls -i
1455738 Desktop    1455739 Downloads       1455743 Music           1455875 openssl-1.0.1g.tar.gz  1456101 oraInventory  1455741 Public     1455745 Videos
1455742 Documents  1456088 mountshared.sh  1594624 openssl-1.0.1g  1455943 oradiag_oracle         1455744 Pictures      1455740 Templates
[oracle@ODIGettingStarted ~]$
[oracle@ODIGettingStarted ~]$ ls -l
total 4452
drwxr-xr-x.  3 oracle oracle    4096 Jun 17  2016 Desktop
drwxr-xr-x.  2 oracle oracle    4096 Aug 28  2013 Documents
drwxr-xr-x.  2 oracle oracle    4096 May  2 02:20 Downloads
-rw-rw-r--.  1 oracle oracle      56 Aug 30  2013 mountshared.sh
drwxr-xr-x.  2 oracle oracle    4096 Aug 28  2013 Music
drwxrwxr-x. 22 oracle oracle    4096 Apr  6 14:16 openssl-1.0.1g
-rw-rw-r--.  1 oracle oracle 4509047 Apr  7  2014 openssl-1.0.1g.tar.gz
drwxr-xr-x.  3 oracle oracle    4096 Aug 29  2013 oradiag_oracle
drwxrwx---.  4 oracle oracle    4096 Jun 20  2014 oraInventory
drwxr-xr-x.  2 oracle oracle    4096 Aug 28  2013 Pictures
drwxr-xr-x.  2 oracle oracle    4096 Aug 28  2013 Public
drwxr-xr-x.  2 oracle oracle    4096 Aug 28  2013 Templates
drwxr-xr-x.  2 oracle oracle    4096 Aug 28  2013 Videos
[oracle@ODIGettingStarted ~]$ ls Documents
[oracle@ODIGettingStarted ~]$ ls Desktop
Information about this machine   OBE_Files                          ODI 12c Studio.desktop       SQL Developer.desktop  startOGGSource.sh~  Stop OGG.desktop  stopOGGSource.sh~
Information about this machine~  ODI 12c Getting Started Guide.pdf  ODI and OGG Demo UI.desktop  Start OGG.desktop      startOGGTarget.sh~  stopOGG.sh~       stopOGGTarget.sh~
[oracle@ODIGettingStarted ~]$ ls /home/oracle/Desktop
Information about this machine   OBE_Files                          ODI 12c Studio.desktop       SQL Developer.desktop  startOGGSource.sh~  Stop OGG.desktop  stopOGGSource.sh~
Information about this machine~  ODI 12c Getting Started Guide.pdf  ODI and OGG Demo UI.desktop  Start OGG.desktop      startOGGTarget.sh~  stopOGG.sh~       stopOGGTarget.sh~
[oracle@ODIGettingStarted ~]$ ls -l Desktop
total 3652
-rw-rw-r--. 1 oracle oracle    1098 Jun 17  2016 Information about this machine
-rw-rw-r--. 1 oracle oracle    1098 Oct 21  2015 Information about this machine~
drwxrwxr-x. 5 oracle oracle    4096 Dec 16  2015 OBE_Files
-rwxr-xr-x. 1 oracle oracle 3683519 Oct 21  2015 ODI 12c Getting Started Guide.pdf
-rwxrwxr-x. 1 oracle oracle     243 Oct 16  2015 ODI 12c Studio.desktop
-rwxrwxr-x. 1 oracle oracle     234 Dec 30  2014 ODI and OGG Demo UI.desktop
-rwxrwxr-x. 1 oracle oracle     333 Jun 20  2014 SQL Developer.desktop
-rwxrwxr-x. 1 oracle oracle     159 Dec 30  2014 Start OGG.desktop
-rw-r--r--. 1 oracle oracle      95 Feb 20  2014 startOGGSource.sh~
-rw-r--r--. 1 oracle oracle      92 Feb 20  2014 startOGGTarget.sh~
-rwxrwxr-x. 1 oracle oracle     158 Dec 30  2014 Stop OGG.desktop
-rw-r--r--. 1 oracle oracle      94 Feb 20  2014 stopOGG.sh~
-rw-r--r--. 1 oracle oracle      94 Feb 20  2014 stopOGGSource.sh~
-rw-r--r--. 1 oracle oracle      95 Feb 20  2014 stopOGGTarget.sh~
[oracle@ODIGettingStarted ~]$ ls -ld Desktop
drwxr-xr-x. 4 oracle oracle 4096 May  6 06:05 Desktop
[oracle@ODIGettingStarted ~]$ ls -R Desktop
Desktop:
Information about this machine   OBE_Files                          ODI 12c Studio.desktop       Sample                 Start OGG.desktop   startOGGTarget.sh~  stopOGG.sh~        stopOGGTarget.sh~
Information about this machine~  ODI 12c Getting Started Guide.pdf  ODI and OGG Demo UI.desktop  SQL Developer.desktop  startOGGSource.sh~  Stop OGG.desktop    stopOGGSource.sh~

Desktop/OBE_Files:
Complex_Files  ODI Exchange  XML

Desktop/OBE_Files/Complex_Files:
Purchase_sample.txt

Desktop/OBE_Files/ODI Exchange:
bundle.xml

Desktop/OBE_Files/XML:
GEO_DIM.dtd  GEO_DIM.xml

Desktop/Sample:
[oracle@ODIGettingStarted ~]$
[oracle@ODIGettingStarted ~]$ uname;cal;date
Linux
      May 2019     
Su Mo Tu We Th Fr Sa
          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

Mon May  6 05:48:51 EDT 2019
[oracle@ODIGettingStarted ~]$

No comments:

Post a Comment