본문 바로가기
반응형

분류 전체보기210

특정폴더 마운트 fstab 특정폴더 마운트1. sudo mount -obind ~/github/python-lab/ htdocs/2. sudo mount -o bind ~/github/python-lab/ htdocs/둘다 동일하게 동작함 fstab 등록A(source)폴더를 B(target)폴더로 마운트 # /etc/fstab: static file system information.:source :targer /home/xbb123/github/python-lab /opt/lampstack-7.1.22-0/apache2/htdocs none bind 0 0 2018. 9. 30.
How to use bind mounts in linux How to use bind mounts in linuxTags: bind, fstab, howto, linux, mount, partition, storage, sysadmin, tips, unix Have you ever dealt with a system that wasn’t partitioned properly when it was built and now it has gone into production? You’ll probably be hard pressed to find the time and patience to rebuild the system any time soon. Luckily there is a way to step around many of the limitations of .. 2018. 9. 30.
fatal: remote error: You can't push to git fatal: remote error: You can't push to gitGITHUBlast time , when i git push my own github repo, i got this errorfatal: remote error: You can't push to git://github.com/user/repo.git Use https://github.com/user/repo.gitafter some googling and reading github help, i found this: https://help.github.com/articles/pushing-to-a-remote#what-can-i-push-tothat is URL like git://github.com/user/repo.git is.. 2018. 9. 30.
특정파일이나디렉토리를제외하고 모두 삭제하기 질문) /a라는 디렉터리 아래 1 2 3 4 5 라는 파일이나 디렉터리가 있을때 2를 제외한 나머지를 한방에 지워버릴수는 없나여? 다음과 같이 하시면 됩니다.# rm -rf `ls | find . -name 2 -prune -o -print` 2018. 9. 30.
반응형