how do I open a file in nano or vi
how do I open a file in nano or vi or should I used vim
this is what I tried vi /etc/shadow but nothing happen then I tried vim /etc/shadow but nothing happen |
Hi
Try putting Code:
sudo vi /etc/shadow |
first login as root then use this to open a file. i think you are logged as local user and this service is disabled by administrator or check the package for these are correctly installed or not.
|
As root, try 'vipw' to edit /etc/passwd or 'vipw -s' to edit /etc/shadow.
|
Linux User 551548 thanks it worked
|
All times are GMT -5. The time now is 10:29 AM. |