Options (4)
-n, --netbooleanExecute a command without sharing access to connected networks
Example:
unshare {{[-n|--net]}} {{command}} {{command_arguments}}-m, --mountbooleanExecute a command as a child process without sharing mounts, processes, or networks
Example:
unshare {{[-m|--mount]}} {{[-i|--pid]}} {{[-n|--net]}} {{[-f|--fork]}} {{command}} {{command_arguments}}-i, --pidbooleanExecute a command as a child process without sharing mounts, processes, or networks
Example:
unshare {{[-m|--mount]}} {{[-i|--pid]}} {{[-n|--net]}} {{[-f|--fork]}} {{command}} {{command_arguments}}-f, --forkbooleanExecute a command as a child process without sharing mounts, processes, or networks
Example:
unshare {{[-m|--mount]}} {{[-i|--pid]}} {{[-n|--net]}} {{[-f|--fork]}} {{command}} {{command_arguments}}made by @shridhargupta | data from tldr-pages