mv

Delete SSH Keys

by on June 24, 2010 · 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 }

How do I rename a file in bash under UNIX / OS X / Linux / BSD operating systems?

{ 3 comments }

How do I use mv command to rename or move file under UNIX operating systems?

{ 8 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?

{ 36 comments }

Q. Is There a UNIX / Linux unerase or undelete command? How do I undelete files under a UNIX / Linux system?

{ 5 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.

{ 59 comments }