본문 바로가기
정리 전

21.02.16

by 오젼 2021. 2. 16.

file 명령어, magic file

stackoverflow.com/questions/7236191/how-to-create-a-custom-magic-file-database

 

How to create a custom magic file database

The unix file command uses a "magic" file database to determine which type of data a file contains, independently of the file's name or extension. I need to craft my custom magic database for test...

stackoverflow.com

You can man magic for a description for how to create your own magic file. Then use file -C -m <your magic file> to compile it, and file -m <your magic file> to use it.

 

file -C -m 내 매직 파일   (컴파일 됨)

file -m 내 매직 파일   (실행)

 

cweiske.de/tagebuch/custom-magic-db.htm

 

Creating a custom magic file database

The unix file utility command uses a "magic" database to determine which type of data a file contains, independently of the file's name or extension. Here is how I created a custom magic database for testing purposes: Test files​ At first I created some

cweiske.de

 

 

심볼릭 링크 파일 생성 시간 수정 (touch -mht)

apple.stackexchange.com/questions/40072/how-can-i-change-the-modified-date-of-a-symlink

 

How can I change the modified date of a symlink?

I would like to change the modified date of a symlink. The symlink points to a directory so it cannot be a hardlink. The following command works fine in the terminal for an actual directory, but it...

apple.stackexchange.com

 

 

cd -a 소스/.a 데스트

avada.co.kr/터미널에서-폴더-내-모든-콘텐츠를-다른-폴더로-복사/

 

터미널에서 한 폴더 내의 모든 콘텐츠를 다른 폴더로 복사하는 방법

얼마 전에 터미널에서 한 폴더 내의 모든 내용을 다른 폴더로 복사해야 하는 상황이 있었습니다. 당시 구글에서 검색하여 폴더를 통째로 복사했지만 생각처럼 복사되지는 않았습니다. 다시 검

avada.co.kr

 

 

diff

www.geeksforgeeks.org/diff-command-linux-examples/

 

diff command in Linux with examples - GeeksforGeeks

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

www.geeksforgeeks.org

 

'정리 전' 카테고리의 다른 글

21.02.10  (0) 2021.02.11
21.02.09  (0) 2021.02.10
21.02.08  (0) 2021.02.08
21.02.07  (0) 2021.02.08
21.02.06  (0) 2021.02.07

댓글