How can I find and replace specific words in a text file using command line?
Jon Doe's questions
Is there a way to control volume of a remote system via ssh? we have a media center server and we want to remotely control the volume.
So I have a project under svn and I'm searching the file contents. In the result set I get .svn files that I don't want actually to see. for example:
$ grep -i -r "breadcrumb" . -l
./terms_and_conditions/.svn/text-base/index.tpl.svn-base
./terms_and_conditions/.svn/tmp/index.tpl.tmp
./terms_and_conditions/.svn/tmp/index.tpl.3.tmp
./terms_and_conditions/.svn/tmp/index.tpl.2.tmp
./terms_and_conditions/index.tpl
./privacy/.svn/text-base/index.tpl.svn-base
./privacy/.svn/tmp/index.tpl.tmp
./privacy/.svn/tmp/index.tpl.3.tmp
./privacy/.svn/tmp/index.tpl.2.tmp
./privacy/index.tpl
how can I exclude the files under ".svn" directories from the result set so that I only get
./terms_and_conditions/index.tpl
./privacy/index.tpl
I'm sick of accidentally deleting files and directories as DEL button is badly located on my keyboard. I would really like it if ubuntu asked me to confirm before deleting anything. Is there a way to do this?
What's the command to open the file browser? I want it so that I can assign a keyboard shortcut to open a specific folder.
How can I disable empathy's notification balloon that shows up when someone sends me a message?
How can I run notepad++.exe from terminal?
It's located under /home/jon/.wine/drive_c/Program Files/Notepad++/notepad++.exe
but when I execute
sudo /home/jon/.wine/drive_c/Program Files/Notepad++/notepad++.exe
it returns
sudo: /home/jon/.wine/drive_c/Program: command not found