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?
How do I rename a file in bash under UNIX / OS X / Linux / BSD operating systems?
How do I use mv command to rename or move file under UNIX operating systems?
am a new Unix system user with a bash as a default shell. I can append text to a file using >> operator but how do I prepend a text to a file? I want the opposite operation of >>? How can I prepend some data to a text file?
Q. Is There a UNIX / Linux unerase or undelete command? How do I undelete files under a UNIX / Linux system?
Continue reading “Is There a UNIX / Linux unerase / undelete Command?”
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?
Continue reading “DHCP Client Error: mv cannot move /etc/resolv.conf.dhclient-new to /etc/resolv.conf: Operation not permitted”
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.