[macOS][Linux]find command 파일명으로 검색 find . -name "*.php Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] default path is the current directory; default expression is -print expression may consist of: operators, options, tests, and actions: operators (decreasing precedence; -and is implicit where no others are given): ( EXPR ) ! EXPR -not EXPR EXPR1 -a EXPR2 EXPR1 -and E.. mac os 5년 전
mac에서 아파치 구동시 에러 https://devday.tistory.com/entry/httpd-Could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-xxxMacBookProlocal-for-ServerName httpd: Could not reliably determine the server's fully qualified domain name, using xxx-MacBook-Pro.local for ServerName Mac에서 아파치 (Apache) 구동 시 다음 명령을 사용한다. sudo httpd -k start 하지만 다음과 같은 경고 메시지에 직면할 수 있다. httpd: Could not reliably determine the ser.. mac os 5년 전
mac 아파치 시작/재시작 Usage: httpd [-D name] [-d directory] [-f file] [-C "directive"] [-c "directive"] [-k start|restart|graceful|graceful-stop|stop] [-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S] [-X] Options: -D name : define a name for use in directives -d directory : specify an alternate initial ServerRoot -f file : specify an alternate ServerConfigFile -C "directive" : process directive before reading config files -c .. mac os 5년 전
linux(mac)에서 httpd.conf 찾는방법 httpd.conf 찾는법 httpd -V | egrep "(HTTPD\_ROOT|SERVER\_CONFIG\_FILE)" 에러로그 위치 찾는법 grep ErrorLog {httpd.conf 파일 경로} 터미널(콘솔) 예시 $ httpd -V | egrep "(HTTPD\_ROOT|SERVER\_CONFIG\_FILE)" 아래와 같이 나온다. -D HTTPD_ROOT="/usr/local/Cellar/httpd/2.4.46" -D SERVER_CONFIG_FILE="/usr/local/etc/httpd/httpd.conf" 에러로그 찾는법은 아래와 같다. $ grep ErrorLog /usr/local/etc/httpd/httpd.conf 결과는 아래와 같이 나온다. # ErrorLog: The loca.. mac os 5년 전
파일 내용 보는 linux command https://linuxhandbook.com/view-file-linux/ 5 Commands to View the Content of a File in Linux Terminal Here are five commands that let you view the content of a file in Linux terminal. linuxhandbook.com nl : 라인번호와 파일내용이 같이 나와서 보기 좋음. mac에서 사용가능. mac os 5년 전
[macOS] 서버(DB, httpd) 관리툴 https://dbngin.com/ DBngin | Free All-in-One Database Version Management Tool The easiest way to get started with PostgreSQL, MySQL, Redis & more. Install & manage multiple local database servers of various versions within a click. dbngin.com 서버를 start, stop할 수 있고 관리할 수 있음. mac os 5년 전
[macOS/Linux] 특정포트 확인 및 죽이기 Linux $ netstat -nap | grep 9393 $ fuser -k -n tcp macOS MacBook-Pro pingate % lsof --help lsof: illegal option character: - lsof: illegal option character: e lsof: no process ID specified lsof 4.91 latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_ma.. mac os 5년 전
맥에서 한자 입력하기 https://godoftyping.wordpress.com/2018/04/12/mac-%EB%A7%A5%EC%97%90%EC%84%9C-%ED%95%9C%EC%9E%90-%EC%9E%85%EB%A0%A5%ED%95%98%EA%B8%B0/ mac os 5년 전