
HTTP Status Codes


php /home/<user>/public_html/<dir>/app/console mautic:segments:update
php /home/<user>/public_html/<dir>/app/console mautic:campaigns:update
php /home/<user>/public_html/<dir>/app/console mautic:campaigns:trigger
-------------
Twice Per Day
php /home/<user>/public_html/<dir>/app/console mautic:messages:send
php /home/<user>/public_html/<dir>/app/console mautic:emails:send
php /home/<user>/public_html/<dir>/app/console mautic:emails:sendmautic:email:fetch
php /home/<user>/public_html/<dir>/app/console mautic:social:monitoring
sudo nmcli con mod <interface> +ipv4.routes “<ip address>/32 <gateway>”
If you are experiencing slow response on graphical application, try swapping the ssh
command in Step 5 with the one below:
ssh -YC -c blowfish YourCoyoteID@cseX11.cse.csusb.edu

https://learn.microsoft.com/en-us/windows/wsl/
printf "\n[user]\ndefault = myusername\n" | sudo tee -a /etc/wsl.conf
wsl -t fedora
Convert Paths between shells:
wslpath -w
Linux Configuration Files:/etc
Binaries:/bin, /sbin, /usr
System and Kernel:/dev, /sys, /proc
Display version of WSL:
wsl -l -v
Set Default Version of WSL:
wsl --set-default-version 2
Pipe Windows Command Output > into > Linux Terminal
dir c: | wsl wc - l
Accessing Files:
The Windows C: drive is available in Linux at /mnt/c
Linux home directory: /home/linux-username
Windows home directory: /mnt/c/Users/Windows-Username
Distro file system in Windows: \WSL$\Distro\
Additional Commands:
“commandline”: “wsl.exe -d fedora sudo service rsyslog start”
Add startup commands to the ~/.bashrc file
crontab -e
Comment:
Ctrl + K, Ctrl + C
Uncomment:
Ctrl + K, Ctrl + U
In a Bash script, if you want to continue processing even if there are errors, you can use the set command with the e (errexit) option turned off. This option, when enabled (the default behavior), causes the script to exit immediately when a command returns a non-zero exit status (indicating an error). Turning it off allows the script to continue executing even if some commands fail.
Here’s an example of how to do this:
bashCopy code
#!/bin/bash # Disable errexit (exit on error) set +e
install nfs-utils