One my user leaves the office and I’d like to disable her access to our UNIX / Linux system. How do I delete ssh key from the UNIX systems so that user can not log in?
{ 5 comments }
One my user leaves the office and I’d like to disable her access to our UNIX / Linux system. How do I delete ssh key from the UNIX systems so that user can not log in?
{ 5 comments }
Q. I can append text to a file using >> operator but how do I prepend a text to a file? I want the opposit of >> operation?
{ 33 comments }
Q. I’m getting following error on my Debian Linux system: mv cannot move /etc/resolv.conf.dhclient-new to /etc/resolv.conf: Operation not permitted How do I fix this problem?
{ 0 comments }
How do I replace a string with another string in all files? For example, ~/foo directory has 100s of text file and I’d like to find out xyz string and replace with abc. I’d like to use sed or any other tool to replace all occurrence of the word.
{ 51 comments }