Linux2016. 6. 27. 20:44

getconf는 설정값을 불러오는건데.. 시스템인가 커널인가.. 그건 찾아 봐야 할듯

[링크 : http://linux.die.net/man/1/getconf]



$ getconf GNU_LIBPTHREAD_VERSION

NPTL 2.3.4

[링크 : https://kldp.org/node/107186]

[링크 : http://man7.org/linux/man-pages/man7/nptl.7.html]

'Linux' 카테고리의 다른 글

sysbench  (0) 2016.09.04
grep --exclude-dir  (0) 2016.07.09
cp -Lr  (0) 2016.06.14
libxml 크로스컴파일. (shared library)  (0) 2016.06.13
chvt - change Virtual Termianl  (0) 2016.04.12
Posted by 구차니
Linux2016. 6. 14. 09:28

심볼릭링크 가 귀찮을때! (헤더가 죄다 심볼릭 링크라던가?)

그냥 원본을 복사하는 방법


      -L, --dereference

              always follow symbolic links in SOURCE


[링크 : http://superuser.com/questions/216919/how-to-copy-symlinks-to-target-as-normal-folders]

'Linux' 카테고리의 다른 글

grep --exclude-dir  (0) 2016.07.09
nptl - Native POSIX Threads Library  (0) 2016.06.27
libxml 크로스컴파일. (shared library)  (0) 2016.06.13
chvt - change Virtual Termianl  (0) 2016.04.12
리눅스 콘솔에서 한글보기  (0) 2016.04.11
Posted by 구차니
Linux/Ubuntu2016. 6. 13. 17:31

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

lynx 마우스 사용하기  (0) 2016.08.18
axel  (0) 2016.08.18
*.so 파일의 의존성 확인하기  (0) 2016.06.13
우분투 버전별 리눅스 커널  (4) 2016.06.09
응컁컁 ubuntu 16.10 LTS!  (0) 2016.04.24
Posted by 구차니
Linux2016. 6. 13. 15:47

특이하게(?)

--enable-shared 가 아니라

--disable-static


... 망할

'Linux' 카테고리의 다른 글

nptl - Native POSIX Threads Library  (0) 2016.06.27
cp -Lr  (0) 2016.06.14
chvt - change Virtual Termianl  (0) 2016.04.12
리눅스 콘솔에서 한글보기  (0) 2016.04.11
AMD avx 리눅스 식별자  (0) 2016.03.08
Posted by 구차니
Linux/Ubuntu2016. 6. 13. 11:39

so 파일의 다른 so 파일 의존성은 readelf -d로 확인!


$ readelf -d libssl.so.1.0.0

Dynamic section at offset 0x45ef0 contains 30 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libcrypto.so.1.0.0]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.2]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [ld-linux-armhf.so.3]

[링크 : http://stackoverflow.com/...direct-shared-object-dependencies-of-a-linux-elf-binary]

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

axel  (0) 2016.08.18
baobab - Disk Usage Analyzer  (0) 2016.06.13
우분투 버전별 리눅스 커널  (4) 2016.06.09
응컁컁 ubuntu 16.10 LTS!  (0) 2016.04.24
notepadqq 흐음...  (0) 2016.03.23
Posted by 구차니
Linux/Ubuntu2016. 6. 9. 11:02

이렇게 보니.. 리눅스 버전이 미친듯이 올랐구나 싶네


4.10    Warty Warthog    2.6.8

5.04    Hoary Hedgehog   2.6.10

5.10    Breezy Badger    2.6.12

6.06    Dapper Drake     2.6.15

6.10    Edgy Eft         2.6.17

7.04    Feisty Fawn      2.6.20

7.10    Gutsy Gibbon     2.6.22

8.04    Hardy Heron      2.6.24

8.10    Intrepid Ibex    2.6.27

9.04    Jaunty Jackalope 2.6.28

9.10    Karmic Koala     2.6.31

10.04   Lucid Lynx       2.6.32

10.10   Maverick Meerkat 2.6.35

11.04   Natty Narwhal    2.6.38

11.10   Oneiric Ocelot   3.0

12.04   Precise Pangolin 3.2+

12.10   Quantal Quetzal  3.5

13.04   Raring Ringtail  3.8

13.10   Saucy Salamander 3.11

14.04   Trusty Tahr      3.13

14.10   Utopic Unicorn   3.16

15.04   Vivid Vervet     3.19

15.10   Wily Werewolf    4.2

16.04   Xenial Xerus     4.4 


[링크 : http://askubuntu.com/.../list-of-ubuntu-versions-with-corresponding-linux-kernel-version]

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

baobab - Disk Usage Analyzer  (0) 2016.06.13
*.so 파일의 의존성 확인하기  (0) 2016.06.13
응컁컁 ubuntu 16.10 LTS!  (0) 2016.04.24
notepadqq 흐음...  (0) 2016.03.23
ubuntu 15.10 vino.. 접속 불가?  (0) 2016.02.16
Posted by 구차니
Linux/Ubuntu2016. 4. 24. 08:58

$ do-release-upgrade


어제 자기 전에 걸어 두고 일어나니

지울 녀석이 남았다고 버팅겨서 y 해주었더니 금세 끝나네

자.. 이제 2년간 버텨보자 ㅋ




Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.4.0-21-generic x86_64)


 * Documentation:  https://help.ubuntu.com/


Last login: Wed Apr 20 20:57:14 2016 from 192.168.219.153




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

*.so 파일의 의존성 확인하기  (0) 2016.06.13
우분투 버전별 리눅스 커널  (4) 2016.06.09
notepadqq 흐음...  (0) 2016.03.23
ubuntu 15.10 vino.. 접속 불가?  (0) 2016.02.16
ubuntu selinux... disabled?!  (0) 2016.02.15
Posted by 구차니
Linux2016. 4. 12. 11:00


$ sudo chvt 1

$ chvt 1

Couldn't get a file descriptor referring to the console

$ tty

/dev/pts/3



음? 무슨 차이지?
그리고 왜... 안바뀌는거야?


/etc/init$ ls -al tty*
-rw-r--r-- 1 root root 348  4월 17  2012 tty1.conf
-rw-r--r-- 1 root root 333  4월 17  2012 tty2.conf
-rw-r--r-- 1 root root 333  4월 17  2012 tty3.conf
-rw-r--r-- 1 root root 333  4월 17  2012 tty4.conf
-rw-r--r-- 1 root root 232  4월 17  2012 tty5.conf
-rw-r--r-- 1 root root 232  4월 17  2012 tty6.conf

아무튼.. 6개의 가상 터미널은 /etc/init에서 tty?.conf를 통해 뜨게 되는건가?

/etc/init$ cat tty1.conf

# tty1 - getty

#

# This service maintains a getty on tty1 from the point the system is

# started until it is shut down again.


start on stopped rc RUNLEVEL=[2345] and (

            not-container or

            container CONTAINER=lxc or

            container CONTAINER=lxc-libvirt)


stop on runlevel [!2345]


respawn

exec /sbin/getty -8 38400 tty1




[링크 : http://computernetworkingnotes.com/linux-file-system-basic-commands/login-linux-terminal.html]

[링크 : http://computernetworkingnotes.com/system-administrations/inittab.html]

'Linux' 카테고리의 다른 글

cp -Lr  (0) 2016.06.14
libxml 크로스컴파일. (shared library)  (0) 2016.06.13
리눅스 콘솔에서 한글보기  (0) 2016.04.11
AMD avx 리눅스 식별자  (0) 2016.03.08
리눅스용 비디오 편집 프로그램  (0) 2016.03.02
Posted by 구차니
Linux2016. 4. 11. 14:28

어? 입력도 되나 모르겠네?

음.. xterm에서 한글에 나오게 하는게 아니라

jfbterm 이라는 걸 통해서 하는거라 해당 세션을 종료하면 한글이 안나온다는데 흐음..


[링크 : http://bakyeono.net/post/2015-12-31-linux-hangul-console.html]

[링크 : https://jfbterm.osdn.jp/]

'Linux' 카테고리의 다른 글

libxml 크로스컴파일. (shared library)  (0) 2016.06.13
chvt - change Virtual Termianl  (0) 2016.04.12
AMD avx 리눅스 식별자  (0) 2016.03.08
리눅스용 비디오 편집 프로그램  (0) 2016.03.02
objdump  (0) 2016.02.18
Posted by 구차니
Linux/Ubuntu2016. 3. 23. 17:10

심심해서..

xming으로 연결해서 테스트 해봤더니

context 메뉴가 안드로메다로 간다



$ notepadqq

QXcbConnection: Failed to get the primary output of the screen

QXcbConnection: Failed to get the primary output of the screen

QXcbConnection: XCB error: 170 (Unknown), sequence: 162, resource id: 90, major code: 146 (Unknown), minor code: 20

QXcbConnection: XCB error: 170 (Unknown), sequence: 323, resource id: 90, major code: 146 (Unknown), minor code: 20


머지? 캡쳐 하려고 다시 실행하니 되네? ㄷㄷ

$ notepadqq

QXcbConnection: Failed to get the primary output of the screen

QXcbConnection: XCB error: 170 (Unknown), sequence: 162, resource id: 90, major code: 146 (Unknown), minor code: 20



아무튼.. Qt 기반인가 느리당... scite는 좀 그나마 빠른데 ㅠㅠ

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

우분투 버전별 리눅스 커널  (4) 2016.06.09
응컁컁 ubuntu 16.10 LTS!  (0) 2016.04.24
ubuntu 15.10 vino.. 접속 불가?  (0) 2016.02.16
ubuntu selinux... disabled?!  (0) 2016.02.15
ubuntu 15.10 가벼워졌네?  (0) 2016.02.12
Posted by 구차니