Delete a range of lines in Vim example
In vim, to delete a range of lines, e.g. lines 10 through line 290, do a::10,290d
add-apt-repository "deb http://archive.canonical.com/ lucid partner" 于是,添加上面的源后再 sudo apt-get update sudo apt-get install sun-java6-jdk *原文转自:http://blog.csdn.net/cangzhubai/archive/2010/06/25/5693021.aspx
startup.shAfter reviewing the bin directory I confirmed that catalina.sh DOES exist. I modified the files permissions through WRKLNK thinking that may be the issue – no go. After digging around the internet I found somebody with the same issue except they were on a Linux machine and were directed to chmod the execution authority on that file. So I ran the same from QShell and walla! It worked! I am not sure why it worked because I had already set that file to *PUBLIC *RWX on the i5OS side [scratching head]. Anyways, to remedy the situation, and keep further such things from happening, I ran chmod on all files in the bin directory that I thought might need it:
Cannot find /tomcat/v4.1/bin/catalina.sh
This file is needed to run this program
chmod +x startup.shHope that helps someone else in need!
chmod +x shutdown.sh
chmod +x catalina.sh
chmod +x setclasspath.sh
chmod +x bootstrap.jar
chmod +x tomcat-jni.jar