Linux/Ubuntu2016. 8. 18. 19:56

wget보다 빠른 녀석인 듯?

$ sudo apt-cache search wget

abcde - A Better CD Encoder

axel - light download accelerator - console version

axel-dbg - light download accelerator - debugging symbols

devscripts - scripts to make the life of a Debian Package maintainer easier

filetea - Web-based file sharing system

libcupt3-0-downloadmethod-wget - flexible package manager -- wget download method

ow-shell - shell utilities to talk to an 1-Wire owserver

puf - Parallel URL fetcher

pwget - downloader utility which resembles wget (implemented in Perl)

snarf - A command-line URL grabber

texlive-latex-extra - TeX Live: LaTeX additional packages

wget - retrieves files from the web

wget-el - interface for wget on Emacsen

wput - tiny wget-like ftp-client for uploading files 


$ wget http://releases.ubuntu.com/16.04.1/ubuntu-16.04.1-desktop-amd64.iso?_ga=1.59634341.941728734.1471518637

--2016-08-18 20:13:20--  http://releases.ubuntu.com/16.04.1/ubuntu-16.04.1-desktop-amd64.iso?_ga=1.59634341.941728734.1471518637

Resolving releases.ubuntu.com (releases.ubuntu.com)... 91.189.88.148, 2001:67c:1360:8c01::1e

Connecting to releases.ubuntu.com (releases.ubuntu.com)|91.189.88.148|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 1513308160 (1.4G) [application/x-iso9660-image]

Saving to: ‘ubuntu-16.04.1-desktop-amd64.iso?_ga=1.59634341.941728734.1471518637’


esktop-amd64.iso?_g   3%[                      ]  46.40M  2.48MB/s   eta 13m 18s

속도가 오를때 마다 줄이 넘어가서 일단 삭제하고..

아무튼 wget 보다는 빠르다.

$ axel http://releases.ubuntu.com/16.04.1/ubuntu-16.04.1-desktop-amd64.iso?_ga=1.59634341.941728734.1471518637

Initializing download: http://releases.ubuntu.com/16.04.1/ubuntu-16.04.1-desktop-amd64.iso?_ga=1.59634341.941728734.1471518637

File size: 1513308160 bytes

Opening output file ubuntu-16.04.1-desktop-amd64.iso

Starting download


[  0%]  .......... .......... .......... .......... ..........  [  91.7KB/s]

[  0%]  .......... .......... .......... .......... ..........  [2151.5KB/s]

[  0%]  .......... .......... .......... .......... ..........  [2164.4KB/s]

[  0%]  .......... .......... .......... .......... ..........  [2177.7KB/s]

[  0%]  .......... .......... .......... .......... ..........  [2190.9KB/s]

[  0%]  .......... .......... .......... .......... ..........  [2203.9KB/s]

[  0%]  .......... .......... .......... .......... ..........  [2217.0KB/s]

[  0%]  .......... .......... .......... .......... ..........  [2230.6KB/s]

[  1%]  .......... .......... .......... .......... ..........  [3247.9KB/s]

[  1%]  .......... .......... .......... .......... ..........  [3249.8KB/s]

[  1%]  .......... .......... ..........^C .

Downloaded 18.3 megabytes in 5 seconds. (3250.80 KB/s) 


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

gnome-disks 벤치마크  (0) 2016.09.05
lynx 마우스 사용하기  (0) 2016.08.18
baobab - Disk Usage Analyzer  (0) 2016.06.13
*.so 파일의 의존성 확인하기  (0) 2016.06.13
우분투 버전별 리눅스 커널  (4) 2016.06.09
Posted by 구차니
Linux2016. 7. 9. 11:09


$ grep --exclude-dir=".svn"

[링크 : http://stackoverflow.com/questions/1491514/exclude-svn-directories-from-grep]


svn 관리용 디렉토리 무시하니 편하네

'Linux' 카테고리의 다른 글

strip 된 so 파일의 symbol 보기  (0) 2016.09.21
sysbench  (0) 2016.09.04
nptl - Native POSIX Threads Library  (0) 2016.06.27
cp -Lr  (0) 2016.06.14
libxml 크로스컴파일. (shared library)  (0) 2016.06.13
Posted by 구차니
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 구차니