Tag Info

New answers tagged


Since you asked for a Vim, here is the command to run: sudo vim -e +'$put = \"<Directory \\"/var/www/*\\">\n\tOrder allow,deny\n\tAllow from all\n\tAllowOverride All\n</Directory>\n\"' -cwq /etc/apache2/apache2.conf If you don't have vim, this is also equivalent to either vi -e or ex. Alternative cleaner approach: $ sudo ex +"r /dev/stdin" ...


in terminal, use: winetricks atmlib gdiplus msxml3 msxml6 vcrun2005 vcrun2005sp1 vcrun2008 ie6 fontsmooth-rgb gecko


Unfortunately, I don't think that this is related to software problem or OS problem at all, I think that your graphic card is at the end of life. Three days ago card on my laptop died and it was showing same characters on display, they appeared in BIOS and when starting system, and GUI can't even start any more. I hope that I'm wrong but...


Using bash: #!/bin/bash while IFS= read -r line; do ini="${line%/*}" last="${line##*/}" repl="${line##*.}" echo "${ini}/${repl}/${last}" done <file.txt Output : /folder1/(abc)/launch/params.launch /folder2/(efd)/launch/gui.launch /folder3/(ghi)/launch/robot.launch Here we have used the parameter substitution of bash to have three ...


Should be fairly simple with sed: sed 's;\([^/]*.launch$\);launch/\1;' You can group matched text by surrounding the expression in brackets (\( ... \)). You need to escape the parentheses to make sed see them as special syntax. The groups can be referred to using the position - the first group is \1, the second is \2, etc. Example output: $ sed ...


You should try using gscan2pdf, One of my mates was using it recently and said it was good and made the font readable. Here's a link for the same : https://apps.ubuntu.com/cat/applications/precise/gscan2pdf/


I tried version 15.04 and all appears to be well now. I suppose that 14.04 and 14.10 is not entirely compatible with the latest MacBook models.


It is normal behaviour. Well sort of. Be careful with regards to NTFS. Those partitions tend to be mounted as executable making all files ... executable. This one-liner will remove execute from .txt from the directory you execute it: find . -type f -iname "*.txt" -exec chmod -x {} \; When a text file has executable permissions set or is recognized as ...

Top 50 recent answers are included