Translate

12/09/2013

LPIC 231 기출

1.
Which of the following commands is run last during boot on a system with quotas enabled?

answer : quotaon 

기초적인 명령어 문제. 

quotas enable 시키는 명령어는 무엇인가?

quota :  간단한 개념적인 부분만 설명하자면 우리들이 흔히 알고 있는 스크린쿼터제와 비슷한 개념이다.
            즉 기본적으로 멀티유저의 개념을 포함하는 리눅으에서 여러 사용자들의 난립으로 인해 자원이 낭비되는 것을
            막는 것과 동시에 특정유저나 그룹이 너무 많은 자원을 사용하는 것을 막기 위해 사용되는 소프트웨어

설치 및 사용방법은 리눅스 탭에서.

2.
In a networked environment, what command will grant anybody permission to dixplay their X 

applications on a desktop? (Include both the command and argument(s).)

answer : xhost +

네트워크 환경하에서 어떠한 사용자든 x어플을 사용할 수 있게 하는 명령어.

xhost : 여러 웹상에서 사용되고 있는 프로그램으로써 호스트만이 가지고 있는 여러 어플리케이션 등을 사용자가 접속하는 
            것 만으로도 자신의 화면에 띄워서 사용할 수 있게 된다.

3.
Which of the following would do the same as the command cat <file1.txt> file2.txt?

answer : cat file1.txt > file2.txt

cat 커맨드로 파일을 복사하는 방법 길게 설명할 필요따윈 없는 그저 외우기.

추가 : > 는 기존의 파일에 덮어씌우거나 새로운 파일 만들기.
         >> 는 기존의 파일이 있을 경우 마지막에 새로운 내용을 추가.

4.
The ___________ command displays ISA plug-in-play devices resource information.

answer : pnpdump 

plug-in-play devices의 정보를 보여주는 명령어. 마찬가지로 그저 외우기.

이와 관련된 PnP 하드웨어를 리눅스 시스템에 적용시키는건 조만간 공부할 예정(?)

5.
You wish to send the output of a command to standard output (stdout) and save it to a file. The

command to use is ______________. (Do not specify arg)

answer : tee 

표준출력 하면서 동시에 파일로 저장을 하는 명령어. 외우기

리눅스의 많은 명령어들을 최대한 간단하게 설명한 내용이 지식인에 있길래 퍼왔음.(업뎃 된 파일 참고)

linux(SimpleCommand).txt

6.
Witch of the following commands can be used to instruct the init process to switch runlevels?

answer : telinit , init

switch runlevel 에서 햇갈릴수도 있는데...스위치의 런레벨이 아니라 리눅스의 런레벨을 바꾼다는 뜻이다.

즉 런레벨을 바꾸는 명령어는 무엇인가...임

7.
Keyboards and mice are members of which class of USB devices?

answer : Human Interface Device Class

키보드랑 마이크가 USB디바이스 클레스에서 어떤 맴버인가?

8.

The USB device filesystem can bo found under /proc/______/usb/.(Please fill in the blank with

the single word only)

answer : bus 

이문제는 좀 황당한데.....usb 디바이스의 파일시스템의 위치 경로를 묻는 문제
그야말로 파일 하나하나 철자 바꿔가면서 물어볼기세.

/proc 부분은 디스크에 직접적으로 존재하는 것이 아닌 그때 그때 시스템의 상황에 따라서 바뀌는 데다가
명령어등을 사용해 데이터를 뽑아내어 스크립트를 짜는 것도 가능하다.

자세한 것은 /usr/src/linux/Documentation/filesystems/proc.txt 여기에

9.

The __________________ command allows you to view or change serial port configuration.

answer : /bin/setserial

시리얼포트의 정보를 보거나 바꿀 수 있는 커멘드 그냥 외우긔

나또한 마찬가지이며 대부분의 리눅스 유저들이 당연시 생각하며 당연시해야하는 것은

모르는 것은 man page참조라는 절대 진리다. -_-;

10.
You have run out of disk space on a partition. Which of the following would be an easy way to

move data to a new partition without reconfiguring the path to the data in existing applications?

answer : Use a symbolic link.

파티션에 더이상 실행할 공간이 없을때 설정등을 변경하지 않고도 손쉽게 새로운 파티션에서 프로그램을 돌리는 방법

symbolic link 와 hardlink 는 결국 윈도우에서 '바로가기'와 '복사' 차이점은 실질적으로 데이터를 얼마나 차지하느냐

의 차이다.(실질적인 데이터를 가지고 있는 쪽이 하드링크다.)