Screen commands Create screen session detached and log on local file. A local file named screenlog.0 will be created on the local dir. screen -dms -L <any-name> bash -c <command>