-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This List of useful Linux command I put here represent issue I have either with my Laptop/PC or my server .
Here will make any command you type on the terminal runs on the background without outputting any text .
ffmpeg -i input.mp4 c:a copy -c:v libx265 out.mp4 >/dev/null 2>/dev/null &
but wait a second does this command will still work if close the terminal window , Not it's wont the reason this command will be for from original command(programm) which is the terminal , closing the terminal will kill that process ,
This got me problem when I use that command on my server (back than I know nothing about fork/child process) , but after googling the issue I come around to this solution nohup
nohup ffmpeg -i input.mp4 c:a copy -c:v libx265 out.mp4 >/dev/null 2>/dev/null &
This is work on progress Wiki if you have suggesting please message me about it .