'Linux'에 해당되는 글 790건

  1. 2020.12.14 centos 8.3-2011 용량이 많이 늘었나?
  2. 2020.12.11 ifconfig wan
  3. 2020.12.11 dsa distributed switch architecture
  4. 2020.12.10 centos stream?
  5. 2020.12.08 linux command line에서 mp3 재생하기
  6. 2020.12.08 shuf
  7. 2020.12.07 ubuntu 20.04 한글입력기 2
  8. 2020.12.04 pdsh
  9. 2020.12.04 bash $$ 변수, 배열, 반복
  10. 2020.12.04 bash 배열
Linux/centos2020. 12. 14. 12:55

 

 

 

8.2-2004 에서는 minimal 버전이라 그랬나 10기가에서도 깔렸는데

8.3-2011 에서는 10GB 밖에 안되니 용량 늘려라고 진행 자체가 안된다

 

그런데 8.2 에서는 minimal이 있었는데

8.3 에서는 왜 minimal을 제공하지 않는 걸까?

 

+

virtual box 에서 centos8.3 설치하니 네트워크가 아노딘다.

virbr0가 잡히고 enp3s 어쩌구는 ip를 못받아온다. 멀까?

 

+

그래픽 컨트롤러가 원래 VMSVGA 였던가?

'Linux > centos' 카테고리의 다른 글

centos8 init level 3로 부팅시키기  (0) 2020.12.14
centos8 virbr0?  (0) 2020.12.14
centos stream?  (0) 2020.12.10
centos 8.2 네트워크 설정  (0) 2020.12.02
ls 퍼미션에 .의 의미  (0) 2020.04.01
Posted by 구차니
Linux2020. 12. 11. 12:42

[링크 : https://qastack.kr/unix/57309/how-can-i-tell-whether-a-network-interface-is-physical-device-or-virtual-alia]

[링크 : https://unix.stackexchange.com/questions/57309/]

 

+

[링크 : https://unix.stackexchange.com/questions/391535/how-to-add-an-alternative-name-for-the-interface]

'Linux' 카테고리의 다른 글

uio - userspace io  (0) 2021.01.05
파일이 존재하는데 실행하려고 하면 없다고 에러 뜰 경우  (0) 2020.12.16
dsa distributed switch architecture  (0) 2020.12.11
linux command line에서 mp3 재생하기  (0) 2020.12.08
shuf  (0) 2020.12.08
Posted by 구차니
Linux2020. 12. 11. 11:54

 

[링크 : https://www.kernel.org/doc/Documentation/networking/dsa/dsa.txt]

[링크 : https://01.org/linuxgraphics/gfx-docs/drm/networking/dsa/dsa.html]

 

[링크 : https://elixir.bootlin.com/linux/v4.5/source/Documentation/devicetree/bindings/net/dsa/dsa.txt]

[링크 : https://www.kernel.org/doc/html/latest/networking/dsa/index.html]

 

+

[링크 : https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.networking.doc/GUID-B15C6A13-797E-4BCB-B9D9-5CBC5A60C3A6.html]

'Linux' 카테고리의 다른 글

파일이 존재하는데 실행하려고 하면 없다고 에러 뜰 경우  (0) 2020.12.16
ifconfig wan  (0) 2020.12.11
linux command line에서 mp3 재생하기  (0) 2020.12.08
shuf  (0) 2020.12.08
pdsh  (0) 2020.12.04
Posted by 구차니
Linux/centos2020. 12. 10. 10:27

centos project가 centos Stream으로 집중하기로 결정(전환)

[링크 : https://lists.centos.org/pipermail/centos-announce/2020-December/048208.html]

 

redhat의 입장

[링크 : https://www.redhat.com/en/blog/centos-stream-building-innovative-future-enterprise-linux]

 

centos stream의 시작

[링크 : https://www.redhat.com/en/blog/transforming-development-experience-within-centos]

 

centos FAQ

[링크 : https://centos.org/distro-faq/]

 

 

-

간단하게 요약(?) 하자면

 

실험적 버전인 Fedora core

사용 서버 버전인 RHEL

RHEL의 GPL 소스 공개 빌드 버전인 Centos 가 있었는데

 

centos를 redhat/ibm에서

RHEL 이전의 단계로 흡수하면서 관리 하게 되어, RHEL 의 clone 으로서 centos는 사라진다는 의미가 되려나?

'Linux > centos' 카테고리의 다른 글

centos8 virbr0?  (0) 2020.12.14
centos 8.3-2011 용량이 많이 늘었나?  (0) 2020.12.14
centos 8.2 네트워크 설정  (0) 2020.12.02
ls 퍼미션에 .의 의미  (0) 2020.04.01
centos7 minimal / X11 사용하기  (0) 2020.02.04
Posted by 구차니
Linux2020. 12. 8. 18:49

libsox-fmt-all을 설치하지 않으면 다음과 같이 mp3 파일을 인식하지 못한다.

$ sudo apt-get install sox
$ sudo apt-get install libsox-fmt-all

 

$ play 탐험보고.mp3 
play WARN alsa: can't encode 0-bit Unknown or not applicable 
play FAIL formats: no handler for file extension `mp3' 

[링크 : https://vitux.com/play-mp3-files-using-the-ubuntu-command-line/]

 

여러가지가 있어서 해봤지만 sox가 빠르고, 용량도 적고 한번 재생하고 종료되서 딱임

[링크 : https://linuxhint.com/play_mp3_files_commandline/]

[링크 : https://superuser.com/questions/276596/play-mp3-or-wav-file-via-the-linux-command-line]

[링크 : https://askubuntu.com/questions/115369/how-to-play-mp3-files-from-the-command-line]

'Linux' 카테고리의 다른 글

ifconfig wan  (0) 2020.12.11
dsa distributed switch architecture  (0) 2020.12.11
shuf  (0) 2020.12.08
pdsh  (0) 2020.12.04
bash $$ 변수, 배열, 반복  (0) 2020.12.04
Posted by 구차니
Linux2020. 12. 8. 18:47

 

ls dirname | shuf -n 1
find dirname -type f | shuf -n 1

 

파일들 중에 임의의 하나를 빼내는 명령어

[링크 : https://stackoverflow.com/questions/414164/how-can-i-select-random-files-from-a-directory-in-bash]

 

 

play "`ls *mp3 | shuf -n 1`"

'Linux' 카테고리의 다른 글

dsa distributed switch architecture  (0) 2020.12.11
linux command line에서 mp3 재생하기  (0) 2020.12.08
pdsh  (0) 2020.12.04
bash $$ 변수, 배열, 반복  (0) 2020.12.04
bash 배열  (0) 2020.12.04
Posted by 구차니
Linux/Ubuntu2020. 12. 7. 17:51

설정에서 한글 입력기를 추가로 설정을 해주어야 한다.

외산 노트북이라 한영키가 없다 보니 기본 설정으로는 안되고

오른쪽 alt 를 추가해주어도 한영 변환이나

오른쪽 ctrl로 한자 변환이 되지 않는다 -_ㅠ

ibus라 그런가.. 다른걸로 해봐야하나?

 

[링크 : https://velog.io/@yujo/Ubuntu-20.04한글-입력기-설치-설정하기]

'Linux > Ubuntu' 카테고리의 다른 글

ubuntu gnome-control-center over ssh  (0) 2021.04.14
우분투 패키지 버전 확인하기  (0) 2020.12.16
/dev/ipmi를 보고 싶다!!!  (0) 2020.11.07
우분투에서 부팅 USB 만들기(iso)  (0) 2020.10.06
jaaa - JACK and ALSA Audio Analyser  (0) 2020.10.05
Posted by 구차니
Linux2020. 12. 4. 16:12

복수개의 target에 ssh로 접속해서 동일한 명령어로 실행하는 유틸리티

 

Some examples of usage follow:

Run command on foo01,foo02,...,foo05
    pdsh -w foo[01-05] command

Run command on foo7,foo9,foo10
pdsh -w foo[7,9-10] command
Run command on foo0,foo4,foo5
pdsh -w foo[0-5] -x foo[1-3] command

A suffix on the hostname is also supported:
Run command on foo0-eth0,foo1-eth0,foo2-eth0,foo3-eth0
   pdsh -w foo[0-3]-eth0 command

 

[링크 : https://linux.die.net/man/1/pdsh]

[링크 : https://qastack.kr/server/2533/linux-running-the-same-command-on-many-machines-at-once]

'Linux' 카테고리의 다른 글

linux command line에서 mp3 재생하기  (0) 2020.12.08
shuf  (0) 2020.12.08
bash $$ 변수, 배열, 반복  (0) 2020.12.04
bash 배열  (0) 2020.12.04
find -mmin  (0) 2020.12.04
Posted by 구차니
Linux2020. 12. 4. 14:28

 

 

특수 매개 변수(Special Parameters)
문자 설명
$$ 현재 스크립트의 PID
$? 최근에 실행된 명령어, 함수, 스크립트 자식의 종료 상태
$! 최근에 실행한 백그라운드(비동기) 명령의 PID
$- 현재 옵션 플래그
$_ 지난 명령의 마지막 인자로 설정된 특수 변수

[링크 : https://blog.gaerae.com/2015/01/bash-hello-world.html]

 

배열

배열은 콤마가 아니라 공백으로 내용이 구분되어야 한다. 콤마를 넣으면 하나의 값이 들어있는 배열로 인식한다. 주의!!

배열명= ("내용1" "내용2")

[링크 : http://blog.redjini.com/282]

 

for 루프

변수의 제어문에서 존재하지 않는 변수를 사용할 경우 0으로 인식되는게 아니라 에러가 발생하니 주의!!

[링크 : https://skylit.tistory.com/321]

'Linux' 카테고리의 다른 글

shuf  (0) 2020.12.08
pdsh  (0) 2020.12.04
bash 배열  (0) 2020.12.04
find -mmin  (0) 2020.12.04
linux 스토리지 정보  (0) 2020.10.14
Posted by 구차니
Linux2020. 12. 4. 12:44

변수명=("내용", "내용", ...)

으로 선언하는데 접근은

${변수명[index]} 로 해야 한다.

 

 

# 빈 배열
EMPTY_LIST=()

PLANETS=( "EARTH" "MARS" "VINUS" )
# ${PLANETS[0]} == "EARTH"
# ${PLANETS[1]} == "MARS"
# ${PLANETS[2]} == "VINUS"

PLACES[0]="HERE"
PLACES[1]="THERE"
PLACES[2]="WHERE"

NAMES=()
NAMES+=("ME")    # ${NAMES[0]} == "ME"
NAMES+=("YOU")   # ${NAMES[1]} == "YOU"
NAMES+=("THEM")  # ${NAMES[2]} == "THEM"

[링크 : https://blog.leocat.kr/notes/2018/02/18/shell-declare-list]

'Linux' 카테고리의 다른 글

pdsh  (0) 2020.12.04
bash $$ 변수, 배열, 반복  (0) 2020.12.04
find -mmin  (0) 2020.12.04
linux 스토리지 정보  (0) 2020.10.14
linux page cache  (0) 2020.01.13
Posted by 구차니