Miscellaneous
-
Mac OS Terminal command for Matlab:
- submit the code: nohup /Applications/MATLAB_R2013a.app/bin/matlab -nodesktop -nosplash < FileName.m > output.out &
- check the job status: jobs
- terminate the job: kill PID
- terminate the job: kill %1
- view job details: ps auxgww |head -1
- read file: nano, or emacs
- read lastest output: tail -f
-
Mac OS Terminal command for ffmpeg:
- ~/Desktop/ffmpeg/ffmpeg -r 30 -i %d.png -vcodec mpeg4 -qscale 5 0movie.mp4
- Start from a specific image: ~/Desktop/ffmpeg/ffmpeg -framerate 1/5 -start_number 126 -i img%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p 0movie.mp4
-
-
Mac OS Terminal commands
- create a new txt file: touch file_name.txt
-
More...