본문 바로가기

Linux18

[linux] 리눅스 계정 관리 그룹 생성 : addgroup [name(소문자)] 계정 생성 : useradd -g phd -d /home2/jubang -s /bin/bash -m jubang 계정 변경 : usermod -c [username] -d [homedir] 계정비밀번호 변경: passwd [username](계정생성후 비밀번호 변경을 하면 새비밀번호만 입력하면됨.) 계정 삭제 : userdel (-r 홈디렉터리도 삭제) [username] 그룹 변경 및 sudo 계정 : http://smartkuma.tistory.com/9 그룹 이름 변경 : groupmod -n [변경할이름] [기존이름] 그룹 비밀번호 변경 : gpasswd [그룹명] 그룹 사용자 관리 : gpasswd [옵션] [사용자명] [그룹명] (옵션 -A .. 2016. 2. 18.
program install in user path without sudo command if you install program in user path(not admin), $ cd 'program install files path' $ python setup develop --prefix=~/.local and if you want to install at other path, adjust './local'. --prefix=~/'path' that's path is in user $HOME. if --prefix=~/.local, .local folder is at $HOME/.local/. or You may need to add sudo before the pip command to install into your system’s site-packages directory. If y.. 2016. 1. 11.
Difference between /.bashrc, /.profile and /.bash_profile profile과 bashrc의 가장 큰 차이점은 그 목적이다. profile은 터미널에 접속할때 환경 설정을 위한 목적으로 이용되고 터미널에서 실행하는 모든 프로그램에 적용된다.bashrc도 마찬가지고 터미널에 접속할때 실행되어 적용되지만 주로 터미널에서의 alias and function definitions, shell options, and prompt settings를 목적으로 한다.alias는 아마도 대체 명령어를 말하는 것 같다. 예를 들어 echo라는 명령어를 print 라는 명령어로 대체해서 쓸 수 있게 하는 것을 의미하는것 같다.밑에 글은 원본이고 제가 잘못 이해한 부분은 comment로 달아서 수정할 수 있게 해주시기 바랍니다.---------------------------------.. 2016. 1. 7.
View Hidden Files and Folders in Ubuntu(linux) File Browser Browser에서 숨은 파일이 존재하는 폴더에 들어가셔서 ctrl+H 눌루시면 됩니다. 아래는 원본 글이고 주소는 reference에 있습니다. ---------------------------------------------------------------------------------------------------------------------- The Ubuntu file browser does not show hidden files or folders by default, only the files that your user has access to.Here’s what file browser looks like when browsing the root file system normally:.. 2016. 1. 6.