아래와 같이 하면 해당 파일의 하위까지 전부 지워버린다.
rm -rf symlinkFolder/
이런식으로 줘야 함.
rm symlinkFolder
rm -rf symlinkFolder/
rm symlinkFolder
mysql --debug database < database.sql
./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-charset=euckr --with-debug
mv mysql_14-07-22_3\:48.tgz mysql.tgz
mysqldump -u root-ppass -e --all-databases > DB_ALL.sql
ERROR 1064 (42000) at line 250: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IN smallint(6) unsigned NOT NULL default '0', OUT smallint(6) unsigned NOT NUL' at line 18
mysqldump -u kim01 -pwjqthr01 --opt --quick --quote-names --all-databases > DB_ALL.sql
#!/bin/bash
[ -z "$1" ] && echo "Usage : Input Process .......... Please [scriptFileName ProcessName]" && exit
process_id=`ps -ax | grep "$1" | grep -vw "grep" | grep -vw $$ | awk '{print $1}'`
if [ -z "$process_id" ];then
echo "+-------------------------------------------------------------+"
echo "Not Found Process (입력하신 프로세스를 찾지 못했습니다.) ...... Done"
echo "+-------------------------------------------------------------+"
exit
else
process_id_number=`ps -ax | grep "$1" | grep -vw "grep" | grep -vw $$ | awk '{print $1}'`
for i in ${process_id_number} ;do
kill -9 $i &> /dev/null
printf "%-40s %-s\n" "$i PID Killed" "$(echo -ne "[ \\033[01;32m OK \\033[0m ]")"
done
sleep 2;
echo "+-------------------------------------------------------------+"
echo "Process Kill OK (프로세스가 강제적으로 종료 되었습니다.) ...... Done"
echo "+-------------------------------------------------------------+"
fi
-bash: /usr/etc/jfbterm_profile: 그런 파일이나 디렉토리가 없음
./apachectl startssl
vim /usr/bin/apachectl ... case $ARGV in start) $HTTPD -k start -DSSL ERROR=$? ;; stop|restart|graceful) $HTTPD -k $ARGV ERROR=$? ;; startssl|sslstart|start-SSL) $HTTPD -k start -DSSL ERROR=$? ;; configtest) $HTTPD -t ERROR=$? ...