기본 콘텐츠로 건너뛰기

이제는 Mac 이다

Spotlight 검색으로 실행하는 방법

먼저 Ctrl + Space 를 눌러 Spotlight 검색을 실행시킵니다

Terminal 입력하면 실행이 됩니다.


윈도우 콘솔 (도스) 명령어
 맥 터미널 명령어
 의미
dir
ls
 디렉토리에 있는 파일 및 폴더의 리스트를 보여줍니다. 
cd
cd
 change directory 로 폴더(디렉토리)를 변경합니다.
cls
clear
 clear screen 으로 화면에 있는 모든 글씨를 깨끗하게 비워줍니다.
copy
cp
 지정된 디렉토리로 파일을 복사해줍니다.
del
rm
 파일을 삭제합니다.
ipconfig
ipconfig getifaddr en0
 ip와 같은 네트워크 설정을 봅니다.
 -
say 읽을 텍스트 입력 
 맥에만 있는 기능으로 say 뒤에 텍스트를 입력하면 맥이 읽어줍니다. - 재미있는 기능이군요 ㅎㅎ; 
 exit
logout 
 콘솔을 종료합니다.

댓글

이 블로그의 인기 게시물

java 특정 디렉토리에 있는 파일 목록을 읽어내기, 정렬해서 가져오기

폴더 리스트 가져오기 String path="C:\"; File dirFile=new File(path); File []fileList=dirFile.listFiles(); for(File tempFile : fileList) {   if(tempFile.isFile()) {     String tempPath=tempFile.getParent();     String tempFileName=tempFile.getName();     System.out.println("Path="+tempPath);     System.out.println("FileName="+tempFileName);     /*** Do something withd tempPath and temp FileName ^^; ***/   } } 정렬해서 가져오기 import java.io.FileFilter; import java.io.IOException; import java.util.Arrays; import java.util.Date; import org.apache.commons.io.comparator.LastModifiedFileComparator; import org.apache.commons.io.filefilter.FileFileFilter; public class LastModifiedFileComparatorTest { public static void main(String[] args) throws IOException { File directory = new File("."); // get just files, not directories File[] files = directory.listFiles((FileFilter) FileFileFilter.FILE); System.out.println("Defaul...

dmesg 메시지 실시간으로 보기

참조사이트 http://imitator.kr/Linux/556 # tail -f /var/log/messages # tail -f |dmesg //기본 2초 단위로 갱신 된다. # watch "dmesg | tail -f" //1초 단위로 갱신하면서 보여준다. # watch -n 1 "dmesg | tail -f" // 보여주는 줄을 20으로 늘린다. (기본 10줄) # watch -n 1 "dmesg | tail -f -n 20"