<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Git - 태그 - lee's blog</title><link>https://ken-0913.github.io/myblog/tags/git/</link><description>Git - 태그 - lee's blog</description><generator>Hugo -- gohugo.io</generator><language>ko-kr</language><managingEditor>hyeonjae0913@gmail.com (ken-0913)</managingEditor><webMaster>hyeonjae0913@gmail.com (ken-0913)</webMaster><lastBuildDate>Wed, 22 Jul 2026 12:00:00 +0900</lastBuildDate><atom:link href="https://ken-0913.github.io/myblog/tags/git/" rel="self" type="application/rss+xml"/><item><title>LFCS 자격 준비 (5) Essential Commands 실전 문제 + 연습 터미널</title><link>https://ken-0913.github.io/myblog/posts/lfcs/lfcs-05-essential-commands/</link><pubDate>Wed, 22 Jul 2026 12:00:00 +0900</pubDate><author><name>ken-0913</name></author><guid>https://ken-0913.github.io/myblog/posts/lfcs/lfcs-05-essential-commands/</guid><description><![CDATA[<div class="featured-image">
                <img src="images/banners/lfcs-05-essential-commands-8d8aa420.png" referrerpolicy="no-referrer">
            </div><p>LFCS 시리즈 다섯 번째 편으로 <strong>Essential Commands (20%)</strong> 도메인을 다룬다.
아카이브·압축, <code>find</code>, Git, 출력 리다이렉션, 정규식이 핵심 주제이다.
정리 후 <strong>인터랙티브 연습 터미널</strong>에서 명령을 직접 입력해 본다.</p>
<h2 id="1-아카이브압축" class="headerLink">
    <a href="#1-%ec%95%84%ec%b9%b4%ec%9d%b4%eb%b8%8c%ec%95%95%ec%b6%95" class="header-mark"></a>1. 아카이브·압축</h2><p>tar 아카이브는 압축 계층(bzip2·gzip 등)을 바꿀 수 있다.
<code>bunzip2 -k</code>로 원본을 유지한 채 해제하고, <code>gzip --best</code>로 최고 압축한다.</p>
<ul>
<li><strong>bzip2 해제(원본 유지)</strong>: <code>bunzip2 -k import001.tar.bz2</code></li>
<li><strong>gzip 최고 압축</strong>: <code>gzip --best import001.tar</code></li>
<li><strong>목록 정렬 출력</strong>: <code>tar tf import001.tar.gz | sort</code></li>
</ul>
<h2 id="2-find로-찾고-실행" class="headerLink">
    <a href="#2-find%eb%a1%9c-%ec%b0%be%ea%b3%a0-%ec%8b%a4%ed%96%89" class="header-mark"></a>2. find로 찾고 실행</h2><p><code>find</code>는 조건으로 파일을 찾고 <code>-exec</code>로 명령을 실행한다.
크기는 <code>-size</code>, 권한은 <code>-perm</code>, 날짜는 <code>-newermt</code>로 비교한다.</p>]]></description></item></channel></rss>