동영상
블로그
- [노트 필기] 리눅스에 대해 알아보자. 16. 시스템 관리 a. 파일편집기 vi, sed 명령어 - quit and save "sed" command Replace a string in a file with a newstring Find and delete a line Remove empty lines cat seinfeld-characters sed 's/Kenny/Lenny/g' seinfeld-characters //화면에서만 변화함.
- centos 에서 기존 PHP를 삭제하고 PHP 7.2를 서버에 설치 기존 php 5.x 삭제 # PPP=`yum list installed | grep \^php | cut -c 1-39` # yum remove $PPP –y php 7.2 설치 # remi-php72 # yum update -y # yum install php php-cli -y # yum install php-fpm -y # php -v # php --modules # cat
- Hyper-v VHD compact cat을 이용하여 NULL을 HDD에 채움 cat /dev/zero > zero.data #This will eventually fill up your virtual hard commands sync; sleep 30;sync #This is to make sure the data is written to disk rm zero.data #This is to remove
- 리눅스 설치후 네트웤 참조 [root@ngo named]# cat /etc/hosts# Do not remove the following line, or various programs# that require /etc/sysconfig/networkNETWORKING=yesHOSTNAME=ngo.busan.krGATEWAY=210.114.220.2 [root@ngo named]# cat
