기본 콘텐츠로 건너뛰기

Linux Terminal Commands




File Permissions
  • chmod 777 – read, write, execute for all 
  • chmod 755 – rwx for owner, rx for group and world 
File Commands 
  • ls -al – Formatted listing with hidden files 
  • mkdir dir – Create a directory dir 
  • rm name – Remove a file or directory called name 
  • rm -rf dir – Force remove an entire directory dir and all it’s included files and subdirectories (use with extreme caution) 
  • cp -r dir1 dir2 – Copy dir1 to dir2; create dir2 if it doesn't exist 
  • cp file /home/dirname – Copy the filename called file to the /home/dirname directory 
  • scp -p 22 file user@host.com:/home/ - Secure Copy file to host.com /home directory as user through port 22 
  • mv file /home/dirname – Move the file called filename to the /home/dirname directory 
  • ln -s file link – Create symbolic link link to file 
  • cat originFile > targetFile – Places standard input into new file (not work on ssh) 
  • cat originFile >> targetFile - add string to file
Compression
  • tar xzf file.tar.gz – Extract a tar using Gzip 
Network
  • wget -c file – Continue a stopped download 
SSH
  • ssh user@host – Connect to host as user 
User Administration
  • adduser accountname – Create a new user call accountname 
Process Management
  • ps – Display your currently active processes 
  • kill pid – Kill process id pid 
Stopping & Starting
  • halt – Stop all processes - same as above 
  • reboot – Stop all processes and then reboot - same as above 
  • shutdown -r 5 – Shutdown the system in 5 minutes and reboot 
systemd
  • systemctl start servicename - start servicename service 
  • systemctl enable servicename - registration service 
  • systemctl status servicename - show service status 



http://community.linuxmint.com/tutorial/view/244


이 블로그의 인기 게시물

FlashPunk (Flash Game Engine)글 제목

github에서 actionscript 검색하다 우연히 발견한 플래시 2D 게임엔진. http://flashpunk.net/ 코드를 한참 들여다보다 잘 감이 안잡혀서 검색해봤더니 쓰는 사람들이 말하길 동영상 강좌 보고 하니 쉽다고 하길래 홈페이지 가봤다. 강좌가 잘되어 있다.^^ (동영상강좌가 아주 좋다) 맛배기로  첫번째 강좌 FlashDevelop를 사용해서 셋팅하는 법부터, 프로젝트 구성하는 법까지 알려줌

플래시 빌더 (Flash Builder) 컬러 테마 변경

플래시 빌더 전체 색상은 흰색 위주로 되어 있는데, 오래보기엔 눈이 좀 불편하다. 따로따로 색상을 적용할 순 있지만 너무 번거롭고. 그래서 컬러테마 적용을 검색해봤다. 역시나 좋은 글이 있었다. 에디터 컬러 테마 변경 http://www.robertbak.com/wordpress/2010/04/dark-themes-for-flash-builder/ 위 글을 참고하면 된다. 위 글에서 요점만 요약하면 http://www.eclipsecolorthemes.org  여기서 테마(EPF)를 받은 후, 플래시 빌더 메뉴에서 File -> import -> other 를 선택한 다음, 팝업 메뉴가 뜨면 General에 있는 Preferences 선택 후 다운받은 EPF파일을 선택해주면 된다. 이클립스 안에 있는 마켓에서 eclipse color theme를 검색 해서 설치해도 됨. 인터페이스 색상 변경은 애석하게도 아직 못찾았다.