Topic 3: Example: Current Info : Variables #Linux/Unix: Shell Programming – 001

bash-3.2$ cat currentinfo.ksh
#!/bin/ksh

# outputs the day, time, & current month.
day=$(date +%D)
time=$(date +%T)
print “Today is $day.”
print
print “The time is $time.”
print
print “This month’s calendar:”
bash-3.2$ ./currentinfo.ksh
Today is 04/27/18.

The time is 10:25:45.

This month’s calendar: From: http://sitestree.com/?p=12227
Categories:Linux/Unix: Shell Programming – 001
Tags:
Post Data:2018-05-05 14:28:58

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

#Engineering: #Canada: #Job/Contract/Project: Any #Engineering: #Computer, #Electrical, #Electronics, #Civil, #Chemical, #Mechanical, #Naval, #Biomedical, and misc Engineering

Date Posted:2021-07-13 .Apply yourself, or submit others as candidates; Build a recruitment team to submit others as candidates; submit RFP to be considered for projects in future; Try to become a vendor so that you are asked to submit consultants/resources in future. If these work for you. This list is posted in this blog everyday provided there are new projects under the criteria

  1. construction-services-10004
  2. Civil Works Contract 'C' Thames Campus
  • electrical-and-electronics-10006
  • Fleet Lighting and Electrical Components
  • engines-turbines-components-and-accessories-10008
  • Provision of Engineering Services for Watermain and Wastewater Main Improvements in The Town Of Oakville, Wards 1, 2, 3 (PR-3314A & PR-3314B)
  • prefabricated-structures-10022
  • DNE1 Stimulus Electrical
  • transportation-equipment-and-spares-10029
  • Fleet Lighting and Electrical Components
  • architect-and-engineering-services-10048
  • Consultants for Detailed Design and Engineering Services For Active Transportation Infrastructure
  • Engineering Services Tender 2021 & QA for Gravel Crushing
  • Engineering Services for Intersection Improvement Program
  • Request for Engineering Services for the Rehabilitation of Acton Island Bridge
  • P8143 IPD Structural Engineer Consultant – Edmonton Public School Board (EPSB) Solar Initiative: Phase 2
  • operation-of-government-owned-facilities-10039
  • Engineering Services for Intersection Improvement Program
  • Owner’s Engineering Services for the Bow River Bridge
  • research-and-development-r-d-10036
  • Engineering Services for Intersection Improvement Program
  • special-studies-and-analysis-not-r-d-10047
  • Digester 4 Condition Assessment and Feasibility Study from the 20-117 Wastewater Engineering Services Pre-Qualification
  • Keywords Used:engineer,civil,mechanical,electrical,electronics,mechatronics,naval,biomedical,computer engineer,software engineer,civil engineer,biomedical,electrical engineer,electronics engineer,mechanical engineer,metallurgical,chemical engineer,industrial engineer,communications engineer,quality assurance engineer,Aerospace engineer,aeronautical engineer,Engineering manager,Agricultural Engineer,Automotive Engineer,Environmental Engineer,Geological Engineer,Marine Engineer,Petroleum Engineer,Acoustic Engineer,Acoustic Engineer,Aerospace Engineer,Agricultural Engineer,Applied Engineer,Architectural Engineer,Audio Engineer,Automotive Engineer,Biomedical Engineer,Chemical Engineer,Civil Engineer,Computer Engineer,Electrical Engineer,Environmental Engineer,Industrial Engineer,Marine Engineer,Materials Science Engineer,Mechanical Engineer,Mechatronic Engineer,Mining and Geological Engineer,Molecular Engineer,Nanoengineering,Nuclear Engineer,Petroleum Engineer,Software Engineer,Structural Engineer,Telecommunications Engineer,Thermal Engineer,Transport Engineer,Vehicle Engineer,engineering

    #Canada: #IT Jobs:#Consultants, #Contractors, #Analysts, #Engineers, #Developers, #Technology Consultants, #IT-Consultants Opportunities2021-07-13

    Apply yourself, or submit others as a candidate, Build a recruitment team to submit others as a candidate, submit RFP to be considered for projects in future, Try to become a vendor so that you are asked to submit consultants/resources in future

    1. energy-10007
    2. Source List (SL) for Environmental Consulting Services
    3. Prime Consultant for Main Building Foundation Repairs & Site Grading
    4. fire-fighting-security-and-safety-equipment-10010
    5. Source List (SL) for Environmental Consulting Services
    6. architect-and-engineering-services-10048
    7. REQUEST FOR PROPOSAL (RFP) for PRIME CONSULTANT SERVICES for EVANSBURG – GRAND TRUNK K-12 SCHOOL MODERNIZATION (SOLUTION FOR EVANSBURG AND WILDWOOD) 2021 School Capital Announcement
    8. Consulting Services for Mill Creek Improvements
    9. Consultant Services: Nordel Way Multi-Use Pathway
    10. P8143 IPD Structural Engineer Consultant – Edmonton Public School Board (EPSB) Solar Initiative: Phase 2
    11. communications-photographic-mapping-printing-and-publication-services-10042
    12. PQR for Destination Development, Management Research and Analytic Consulting Services
    13. PQR for Research and Analytic Consulting Services
    14. Incremental Specification and standardization of Maps for the Web (NRCan-5000059855)
    15. educational-and-training-services-10043
    16. Anti-Racism & Anti-Discrimination Exploratory Working Group (AREWG) Consultant
    17. environmental-services-10050
    18. Consulting Services for Mill Creek Improvements
    19. G85-405 – ENVIRONMENTAL CONSULTING SERVICES – TRIENNIAL CONTRACT
    20. Source List (SL) for Environmental Consulting Services
    21. financial-and-related-services-10038
    22. RQQ-2020-FACA-499: VOR + 2nd Stage- Provide Accounting & Tax Consulting Services
    23. Request for Proposal (RFP) for Actuarial and Pension Consulting Services
    24. health-and-social-services-10052
    25. Psychology Consulting and Quality Assurance Services
    26. information-processing-and-related-telecommunications-services-10049
    27. Consulting Services: Connected Community Strategy
    28. operation-of-government-owned-facilities-10039
    29. P77PB21274 – ATC PROJECT CONTROL CONSULTING SERVICES
    30. professional-administrative-and-management-support-services-10040
    31. Consulting Services: Connected Community Strategy
    32. Consultant Services for Renewal of Leighland Park
    33. RQQ-2020-FACA-499: VOR + 2nd Stage- Provide Accounting & Tax Consulting Services
    34. quality-control-testing-inspection-and-technical-representative-services-10053
    35. Source List (SL) for Environmental Consulting Services
    36. research-and-development-r-d-10036
    37. Specialist Environmental Consulting Services
    38. CON0022036, Regional Bridge Consultant – Peace Region
    39. special-studies-and-analysis-not-r-d-10047
    40. Anti-Racism & Anti-Discrimination Exploratory Working Group (AREWG) Consultant
    41. Consulting Services – Construction Material Salvage & Recycling Market Assessment
    42. Request for Proposal for Consulting Services – Oakmont Trail
    43. undefined-10055
    44. RQQ-2020-FACA-499: VOR + 2nd Stage- Provide Accounting & Tax Consulting Services
    45. EPS/BLRS Web Surveillance Solution for Short-Term Rentals in the City of Ottawa
    46. Source List (SL) for Environmental Consulting Services
    47. #Sensor: #Canada: #Job/Contract/Project: #Sensor, #Tracking, #Fusion, #Estimation, #Surveillance, #sensor network, #target #tracking, #security 2021-07-13

      Date Posted:2021-07-13 .Apply yourself, or submit others as candidates; Build a recruitment team to submit others as candidates; submit RFP to be considered for projects in future; Try to become a vendor so that you are asked to submit consultants/resources in future. If these work for you. This list is posted in this blog everyday provided there are new projects under the criteria

      1. armament-10027
      2. Signal Smoke Marine, Orange (W8486-217390/A)
      3. communications-detection-and-fibre-optics-10031
      4. ITS Operational Security Services
      5. fire-fighting-security-and-safety-equipment-10010
      6. SURVEILLANCE SYSTEM – Fisher Court – 401 Fourth Avenue W, Geraldton, 401R Fourth Avenue W, Geraldton & Collingwood Court, 610 Winnipeg Street, Schreiber
      7. SURVEILLANCE SYSTEM – 1908, 1930,1940 FREDERICA STREET
      8. Regional headquarters security platform upgrade
      9. information-processing-and-related-telecommunications-services-10049
      10. One (1) Information Technology Security Threat and Risk Assessment and Certification and Accreditation Analyst for the Financial Consumer Agency of Canada (FCAC). (20210477)
      11. maintenance-repair-modification-rebuilding-and-installation-of-goods-equipment-10054
      12. Intersection Pedestrian Signal (IPS) Installation for Springbank Dr at Quinella Dr and Southdale Rd East at Millbank Dr
      13. research-and-development-r-d-10036
      14. ITS Operational Security Services
      15. special-studies-and-analysis-not-r-d-10047
      16. Water Level Sensor Install and Maintenance
      17. undefined-10055
      18. EPS/BLRS Web Surveillance Solution for Short-Term Rentals in the City of Ottawa
      19. Keywords Used:sensor,fusion,sensor network,tracking,target tracking,surveillance,self driving car,self-driving,estimation,security,signal processing,image processing,autonomouse vehicle,facial recognition,signal,recognition,sensor fusion

        Topic 2: Example: Debug a Script #Linux/Unix: Shell Programming – 001

        Example debugging a Script

         

        bash-3.2$ sh -x scriptwithcomments.sh
        + echo SCRIPT BEGINS
        SCRIPT BEGINS
        + echo Hello shell!
        Hello shell!
        + echo

        + echo Todays date and time: c
        Todays date and time: + date
        Fri Apr 27 09:16:29 EDT 2018
        + echo

        mynum=21
        myday=Monday
        + echo The value of mynum is 21
        The value of mynum is 21
        + echo The value of myday is Monday
        The value of myday is Monday
        + echo

        + echo SCRIPT FINISHED!!
        SCRIPT FINISHED!!
        + echo From: http://sitestree.com/?p=12217
        Categories:Linux/Unix: Shell Programming – 001
        Tags:
        Post Data:2018-05-01 23:19:52

        Shop Online: https://www.ShopForSoul.com/
        (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
        In Bengali: http://Bangla.SaLearningSchool.com
        http://SitesTree.com
        8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
        Shop Online: https://www.ShopForSoul.com/
        Medium: https://medium.com/@SayedAhmedCanada

        Topic 2: Example: Comments in Shell Scripts #Linux/Unix: Shell Programming – 001

        bash-3.2$ cat scriptwithcomments.sh
        #!/bin/sh
        # This script clears the window, greets the user,
        # and displays the current date and time.
        #clear # Clear the window
        echo “SCRIPT BEGINS”
        echo “Hello $LOGNAME!” # Greet the user
        echo
        echo “Todays date and time: c”
        date # Display current date and time
        echo
        mynum=21 # Set a local shell variable
        myday=”Monday” # Set a local shell variable
        echo “The value of mynum is $mynum”
        echo “The value of myday is $myday”
        echo
        echo “SCRIPT FINISHED!!”
        echo

         

        —————-
        bash-3.2$ ./scriptwithcomments.sh
        SCRIPT BEGINS
        Hello shell!

        Todays date and time: Fri Apr 27 09:07:20 EDT 2018

        The value of mynum is 21
        The value of myday is Monday

        SCRIPT FINISHED!!

        From: http://sitestree.com/?p=12215
        Categories:Linux/Unix: Shell Programming – 001
        Tags:
        Post Data:2018-04-30 23:10:32

        Shop Online: https://www.ShopForSoul.com/
        (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
        In Bengali: http://Bangla.SaLearningSchool.com
        http://SitesTree.com
        8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
        Shop Online: https://www.ShopForSoul.com/
        Medium: https://medium.com/@SayedAhmedCanada

        Topic 2: Logname, Date Time, Shell Script #Linux/Unix: Shell Programming – 001

        bash-3.2$ cat firstscript.sh
        #!/bin/sh
        #clear
        echo “SCRIPT BEGINS”
        echo “Hello $LOGNAME!”
        echo
        echo “Today’s date and time: c”
        date
        echo
        mynum=21
        myday=”Monday”
        echo “The value of mynum is $mynum”
        echo “The value of myday is $myday”
        echo
        echo “SCRIPT FINISHED!!”
        echo
        bash-3.2$ ./firstscript.sh
        SCRIPT BEGINS
        Hello shell!

        Today’s date and time: Fri Apr 27 08:51:53 EDT 2018

        The value of mynum is 21
        The value of myday is Monday

        SCRIPT FINISHED!!

        From: http://sitestree.com/?p=12213
        Categories:Linux/Unix: Shell Programming – 001
        Tags:
        Post Data:2018-04-29 23:55:03

        Shop Online: https://www.ShopForSoul.com/
        (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
        In Bengali: http://Bangla.SaLearningSchool.com
        http://SitesTree.com
        8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
        Shop Online: https://www.ShopForSoul.com/
        Medium: https://medium.com/@SayedAhmedCanada

        Korn Shell Example: Show Dates #Linux/Unix: Shell Programming – 001

        bash-3.2$ cat echoscript2.ksh
        #!/bin/ksh
        #clear
        print “SCRIPT BEGINS”
        print “Hello $LOGNAME”
        print
        print -n “Todays date is: ”
        date ‘+%m/%d/%y’
        print -n “and the current time is: ”
        date ‘+%H:%M:%S%n’
        print “Now a list of the processes in the current
        shell”
        ps
        print “SCRIPT FINISHED!!”

        bash-3.2$ ./echoscript2.ksh
        SCRIPT BEGINS
        Hello shell

        Todays date is: 04/27/18
        and the current time is: 08:05:20

        Now a list of the processes in the current
        shell
        PID TTY TIME CMD
        18641 syscon 0:00 ps
        18585 syscon 0:00 sh
        18638 syscon 0:00 echoscri
        18589 syscon 0:00 bash
        SCRIPT FINISHED!!

        From: http://sitestree.com/?p=12210
        Categories:Linux/Unix: Shell Programming – 001
        Tags:
        Post Data:2018-04-28 23:08:39

        Shop Online: https://www.ShopForSoul.com/
        (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
        In Bengali: http://Bangla.SaLearningSchool.com
        http://SitesTree.com
        8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
        Shop Online: https://www.ShopForSoul.com/
        Medium: https://medium.com/@SayedAhmedCanada

        Topic 1: Basic Date Displaying Shell Script #Linux/Unix: Shell Programming – 001

        bash-3.2$ cat echoscript1.sh
        #!/bin/sh
        #clear
        echo “SCRIPT BEGINS”
        echo “Hello $LOGNAME”
        echo
        echo “Todays date is: c”
        date ‘+%m/%d/%y’
        echo “and the current time is: c”
        date ‘+%H:%M:%S%n’
        echo “Now a list of the processes in the current shell”
        ps
        echo “SCRIPT FINISHED!!”
        bash-3.2$ ./echoscript1.sh
        SCRIPT BEGINS
        Hello shell

        Todays date is: 04/27/18
        and the current time is: 07:58:45

        Now a list of the processes in the current shell
        PID TTY TIME CMD
        18612 syscon 0:00 ps
        18585 syscon 0:00 sh
        18609 syscon 0:00 echoscri
        18589 syscon 0:00 bash
        SCRIPT FINISHED!! From: http://sitestree.com/?p=12208
        Categories:Linux/Unix: Shell Programming – 001
        Tags:
        Post Data:2018-04-27 23:03:01

        Shop Online: https://www.ShopForSoul.com/
        (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
        In Bengali: http://Bangla.SaLearningSchool.com
        http://SitesTree.com
        8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
        Shop Online: https://www.ShopForSoul.com/
        Medium: https://medium.com/@SayedAhmedCanada

        If then else example in Shell Programming #Linux/Unix: Shell Programming – 001

        #!/bin/sh

        #If then else example
        #if elif else

        NOF=5

        if [ $NOF -eq 27 ]

        then

        echo “No of files and directories = 27”

        elif [ $NOF -gt 27 ]

        then

        echo “No of files are dir are greator than 27”

        else

        echo “No of files and directories are less than 27”

        fi

        exit From: http://sitestree.com/?p=12201
        Categories:Linux/Unix: Shell Programming – 001
        Tags:
        Post Data:2018-04-16 19:47:32

        Shop Online: https://www.ShopForSoul.com/
        (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
        In Bengali: http://Bangla.SaLearningSchool.com
        http://SitesTree.com
        8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
        Shop Online: https://www.ShopForSoul.com/
        Medium: https://medium.com/@SayedAhmedCanada