Skip to main content

Linux Command

Linux 명령어 모음

User create

두 작업 모두 root 로 해야하며 home directory 는 별도로 만들고 chown 명령어로 적당하게 owner와 group 를 바꾸세요. 반드시 /etc/pas...

Tips

Terminal color  R : 192 G : 122 B : 0  

Command

total count 방법 find ./Pictures -name '*.bmp' | wc -l | xargs printf "\nTotal Count = \"...

HTTP Command

HTTP Command $ telnet 124.xxx.59.xxxx 80Trying...Connected to 124.243.59.5.Escape character is...

Windows command

포트 확인 netstat -ano | fondstr 40022

Converting Video

sudo apt-get install mencoder mencoder -oac copy -ovc lavc -o video.avi video.flv 작업 시작...

Mount Disk

NTFS 경우 디스크 확인 hyunsu@schmitt:~$ sudo fdisk -l [sudo] password for hyunsu: Disk /dev/sd...

BackUp

Linux Backup  http://kldp.org/node/84594 2G 한계 tar -czvf /media/700G/BackUp/2010101...

Network Masquerade

Network Masquerade NetworkMasquerade #! /bin/sh # IP Masquerading - iptables sudo rou...

xhost

xhost  두 대의 컴퓨터를 사용할 경우 xhost와 display 옵션으로 윈도우 애플리케이션을 다른 컴퓨터의 화면에 띄울 수 있다. export DISPLAY...

ssh 패스워드 없이

백업을 만들고 원격지로 백업 폴더로 전송하기 위해서는 백업을 하는 서버가 출발지가 되고 백업 파일을 받는 서버가 도착지가 된다.      연결을 하려고하는 client ...

Tar 분할 압축 / 풀기

  tar -cvzf - ./2023 | split -b 1024m - 2023.tar   cat 2023.tar* | tar -xvzf 

dnf 저장소 추가하기

dnf 저장소 추가하기   Raven Multimedia 저장소 추가 , mencoder 설치를 위하여  [hyunsu@joang yum.repos.d]$ su...

Download Youtube contents

Download Youtube contents 단건 받기  #!/bin/bash URL=$1 DOWN_DIR=/media/pi/RaspRefp #DOWN_DIR=...