Linux

Linux terminal commands
Linux cheat sheet Complimetary commands

Interactive MATLAB session
You can use the MATLAB on perm 3 by connecting to perm3 (NOT the docker) and enter

matlab

Running MATLAB without display
The following command will run script.m and divert the output in output.txt nohup matlab -nosplash -nodisplay -nodesktop -r "run /path/to/script.m ;exit;" &>output.txt &

Do by specification
Kill processes ps aux | grep -ie  | awk '{system("kill -9 " $2)}'

Execution time ps aux | grep -ie  | awk '{print($2); system("ps -o etime= -p " $2)}'

Adding a new user
The following sequence of commands will add a user and give hime docker permission level sudo useradd -m -s /bin/bash -g users -G docker $USER passwd $USER

File permissions
manage permissions Complimetary commands