Error: no such file or directory, ubuntu 16.04 LTS - Ask Ubuntu
i follow turorial @ https://serverfault.com/questions/550276/how-to-block-internet-access-to-certain-programs-on-linux. when create file in step 2: nano /home/username/.local/bin/no-internet, warning: no such file or dir. tried touch command still error: no such file or dir. happen? can guide me fix it?
when people document install procedures, want way refer installing user's home
directory. in case, he/she used /home/username/...
, when $home/.local/bin/no-internet
or ~/.local/bin/no-internet
have been clearer.
replace username
username (it stored in environment variable user
), ,
nano /home/$user/.local/bin/no-internet
or use home
environment variable refer home directory ( better using /home/$user
, since user home directories not required in /home
.
nano $home/.local/bin/no-internet
Comments
Post a Comment