php.ini 파일위치 확인

php의 위치  확인
which php

 

 

 

 

php.ini의 위치 확인
/sbin/php --ini | grep php.ini

 

cd /sbin
./php --ini | grep php.ini

 

'IT 끄적끄적 > 리눅스_메모' 카테고리의 다른 글

tar 압축보기 압축파일보기  (0) 2020.01.05
phpmyadmin 아파치 인증 설치  (0) 2020.01.05
이미지 제외 압축  (0) 2020.01.05
아파치 실행금지 설정  (0) 2020.01.05
sed 명령어 쉼표 제거  (0) 2020.01.05

설정

트랙백

댓글

sed 명령어 쉼표 제거

cat "파일명" | sed s/,//g > "파일명"

 

 

[help]

 

Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

  -n, --quiet, --silent
                 suppress automatic printing of pattern space
  -e script, --expression=script
                 add the script to the commands to be executed
  -f script-file, --file=script-file
                 add the contents of script-file to the commands to be executed
  --follow-symlinks
                 follow symlinks when processing in place
  -i[SUFFIX], --in-place[=SUFFIX]
                 edit files in place (makes backup if SUFFIX supplied)
  -c, --copy
                 use copy instead of rename when shuffling files in -i mode
  -b, --binary
                 does nothing; for compatibility with WIN32/CYGWIN/MSDOS/EMX (
                 open files in binary mode (CR+LFs are not treated specially))
  -l N, --line-length=N
                 specify the desired line-wrap length for the `l' command
  --posix
                 disable all GNU extensions.
  -r, --regexp-extended
                 use extended regular expressions in the script.
  -s, --separate
                 consider files as separate rather than as a single continuous
                 long stream.
  -u, --unbuffered
                 load minimal amounts of data from the input files and flush
                 the output buffers more often
  -z, --null-data
                 separate lines by NUL characters
  --help
                 display this help and exit
  --version
                 output version information and exit

If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret.  All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.

GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <bug-sed@gnu.org>.
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.

'IT 끄적끄적 > 리눅스_메모' 카테고리의 다른 글

tar 압축보기 압축파일보기  (0) 2020.01.05
phpmyadmin 아파치 인증 설치  (0) 2020.01.05
이미지 제외 압축  (0) 2020.01.05
아파치 실행금지 설정  (0) 2020.01.05
php.ini 파일위치 확인  (0) 2020.01.05

설정

트랙백

댓글