Operating Systems: Components, OS User Interfaces

Ref: Internet, Google, Google Images.

Kernel, Shell, Operating Systems and Functionality of Operating Systems

Operating System Functionality

Ref: https://www.geeksforgeeks.org/introduction-of-process-management/

Hardware/Software/Operating Systems

Ref:

•Ref: https://www.uow.edu.au/student/learning-co-op/technology-and-software/operating-systems/

https://www.learncomputerscienceonline.com/operating-system/

•System Software: https://www.techtarget.com/whatis/definition/system-software

Difference Between System Software and Application Software

Ref: https://www.geeksforgeeks.org/difference-between-system-software-and-application-software/

Do cars have computers and operating systems inside?

Ref: Internet, Google, Google Images

Misc. on Power Shell Script

Misc. on Power Shell Script

How to read data from users?

Read-Host

How to write/print output data/text to the user:

Write-Output

How to Check if a file exists?

Test-Path $filePath

How to append data to a file?

Add-Content -Path $filePath -Value “x: $x, y: $y”

How to create a file?

New-Item -Path $filePath -ItemType File -Force

How to write content to a file?

Set-Content -Path $filePath -Value “x: $name, y: $age”

How to get a list of all files in a directory

$files = Get-ChildItem -Path $dirPath

How to find the size of a file?

$file.Length

How to append content to a file?

$content | Out-File -FilePath $outputFile -Append

How to Create a file and write content to it?

$content | Out-File -FilePath $outputFile

Linux Script: Read Data from User and Show Some Columns

read -p “Give me some data: ” user_data

echo $user_data

echo $user_data | cut -d ‘ ‘ -f 1,3

Power Shell and Process

Get-Process

Get-Process winword, explorer | Format-List *

Get-Process | Where-Object {$_.WorkingSet -gt 20000000}

$A = Get-Process

$A | Get-Process | Format-Table -View priority

Get-Process pwsh -FileVersionInfo (did not work)

Get-Process SQL* -Module

Ref: Internet

Stop-Process -Name “notepad”

Stop-Process -Id 3952 -Confirm –PassThru

calc $p = Get-Process -Name “calc”

Stop-Process -InputObject $p

Get-Process | Where-Object {$_.HasExited}

Get-Process -Name “lsass” | Stop-Process

What Is the Efficient Market Hypothesis (EMH)

What Is the Efficient Market Hypothesis (EMH)?
The efficient market hypothesis (EMH), alternatively known as the efficient market theory, is a hypothesis that states that share prices reflect all available information and consistent alpha generation is impossible.

According to the EMH, stocks always trade at their fair value on exchanges, making it impossible for investors to purchase undervalued stocks or sell stocks for inflated prices.

Therefore, it should be impossible to outperform the overall market through expert stock selection or market timing, and the only way an investor can obtain higher returns is by purchasing riskier investments.”

Ref: https://www.investopedia.com/terms/e/efficientmarkethypothesis.asp

“Opponents of EMH believe that it is possible to beat the market and that stocks can deviate from their fair market values.” [2]

We predict stocks using
Usually: Proper selection of
Stocks and Time Intervals
Statistics
Machine Learning

This paper goes beyond and Uses
Spatio-Temporal Relationship
among stocks
Graph theory

Solution that worked for the issue: Your current session has been expired. for Magento2

Solution that worked for the issue: Your current session has been expired. for Magento2

cat shell-scripts/temp.sh
# fix misc issues, can be routine

sudo php bin/magento maintenance:enable
#sudo rm -rf var/cache/
#sudo rm -rf generated/
sudo chmod +x bin/magento
sudo php bin/magento setup:upgrade
#sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento setup:di:compile
sudo php bin/magento indexer:reindex
sudo php bin/magento cache:clean
sudo php bin/magento cache:flush
sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento maintenance:disable

#Then adjust permissions for var

# other options tried:

did not solve:
INSERT INTO `core_config_data` (`scope`, `scope_id`, `path`, `value`)
    VALUES ('default', 0, 'admin/security/session_lifetime', '86400');

Tried but did not help

Go to : admin_user_session table in MySql Set created_at column to ‘0’ and updated_at column to ‘CURRENT_TIMESTAMP’ as it is.