Linux/Unix writing script/scripts

Linux/Unix Script to move a file from directory:

#moving the file from a directory
tdate=$(date +"%F")
export userchk=`whoami`
if [[ $userchk != "username" || $userchk != "username" ]]; then
echo "ERROR: This script must be executed as application owner only!!"
exit 1
fi
read -p "ORACLE HOME check - Please type Yes/Y/y if OK : $OHS_HOME " userans
if [[ $userans == "Y" || $userans == "y" || $userans == "yes" || $userans == "Yes" ]]; then
cd $OHS_HOME/cgi-bin
mv test-cgi test-cgi_$tdate
else
echo "Did not get the expected input so Exited"
fi

check if a particular port is open:

lsof -Pi :5556 -sTCP:LISTEN|awk 'FNR == 2 {print $9}'|wc -l

0 thoughts on “Linux/Unix writing script/scripts

  1. StevenDak says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Click the “Download Now” button to download Awave Studio with crack.
    The process will just take a few moments.

    An advanced and efficient application designed to help you convert your music to and from a vast array of audio formats, and you can also edit and add instruments to your tracks

    MIRROR —> https://onyxsoftware.in/cracked?app=awave-studio&n=32421

    · Release version: 11.3
    · Crack date: Jan 3rd 2019
    · Developer: FMJ-Software
    · Downloads: 16739
    · Download type: safety (no torrent/no viruses)
    · File status: clean (as of last analysis)
    · File size: small
    · Price: free
    · Special requirements: no requirements
    · Supported systems: Win 10 / Win 8 / Win 7 / Win Vista / Win XP
    · User rating:

    Keywords:
    awave studio crack version, awave studio serial code, awave studio crack serial number, awave studio full crack, awave studio cracked, awave studio license crack, awave studio crack keygen serial, awave studio crack windows, awave studio crack new, awave studio how to ctack

    Popular software: this way

    It may be interesting:
    Online art store opening soon | Christoher Crane Texas Based Artist, Austin, Houston and Dallas
    повысить процент уникальности текста
    – mr.news
    Download ProStroke Golf – World Tour 2007 Crack Patch
    First YouTube Upload! My Straight-Read Commercial Voice-Over Demo! | VoiceOver Freak.com
    Turn Off Windows Defender programm
    Скачать Crypt-o crack и keygen
    готовые домашние задания
    Repair missing or corrupt libssl.dll

  2. StevenDak says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Push the “Download Now” button to download Software Lag Switch Full Version With Keys Latest.
    It will just take a few seconds.

    Straightforward piece of software that helps you free up the bandwidth by simulating a poor Internet connection, using low system resources

    Mirror —> Software Lag Switch crack keygen serial

    · Release version: 1.2
    · Release date: Mar 15th 2017
    · Company: softwarelagswitch.com
    · Downloads: 26974
    · Download type: safety (no torrent/no viruses)
    · File status: clean (as of last analysis)
    · File size: unknown
    · Price: no cost
    · Special requirements: no
    · Systems: Windows 8, Windows 7, Windows Vista, Windows XP, Windows 2K
    · User rating:

    Keywords:
    software lag switch + crack latest, software lag switch keygen crack, software lag switch crack for windows free download, software lag switch crack new, software lag switch license crack, software lag switch licence keys, software lag switch crack patch, software lag switch crack serial number, software lag switch crack files, software lag switch keygen serial

    More software: this way

    Popular software:
    Zombie Outbreak Simulator: Funded By and For Australia | Binary Space
    Антиантиплагиат онлайн
    Top 5 Hummingbird Myths – Roy Dunn
    Download No Pineapple Left Behind license
    Trip to the cinema | Kemsley Primary Academy
    Google Books Downloader
    Скачать SmartHide серийный ключ и кряк
    How to repair missing or corrupt ext-ms-win-rtcore-gdi-rgn-l1-1-0.dll
    Typesy Full Version Serial Keys Latest – ?????????? – ???????? – Powered by Discuz!

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!