Donnerstag, 17. Dezember 2009

SUID

find / -path '/proc' -prune -or -perm -u+s -exec ls -la {} \;

oder auch

find / -path '/proc' -prune -or -perm -u+s -exec ls -la {} \;
>> /root/malgucken.txt

Sonntag, 6. Dezember 2009

LPIC Websites

http://www.lpice.eu/Das-LPIC-Programm.52.0.html?L=4

Lernziele

http://www.lpi-certification.de/

Eher Blog als Test

http://www.lpi-academy.de/wiki/home/

Berücksichtigt inzwischen die LPI Neuerungen

http://www.linux-praxis.de/lpi.html

Online Prüfungssimulator (noch die alte Version)

http://www.linux-kurs.eu/linux_tests.php

Online Prüfungssimulator (noch die alte Version, stellenweise Fehlerhaft)

http://www.flashcardexchange.com/tag/linux

Flashcards (unsystematisch)

http://www.lpi-test.de/

Leider dauernd down

http://www.ibm.com/developerworks/linux/training/

Trainingsmaterialien (Englisch)

Dienstag, 17. November 2009

smartctl -H /dev/sd#

karl@orange:~$ sudo smartctl -H /dev/sda
[sudo] password for karl:

smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Short INQUIRY response, skip product id
A mandatory SMART command failed: exiting. To continue, add one or more '-T
permissive' options.

karl@orange:~$ sudo smartctl -H /dev/sdb

smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

karl@orange:~$ sudo smartctl -H /dev/sdc

smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

Mist

his is an automatically generated mail message from mdadm
running on orange

A Fail event had been detected on md device /dev/md0.

It could be related to component device /dev/sda1.

Faithfully yours, etc.

P.S. The /proc/mdstat file currently contains the following:

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]
[raid4] [raid10]
md0 : active raid1 sda1[2](F) sdb1[1]
156288256 blocks [2/1] [_U]

unused devices: <none>

Dienstag, 10. November 2009

::1

ipv6 funktioniert zumindest im FF 3.5.4 unter Karmic:

Montag, 9. November 2009

rsyslogd

dirk@virtualboxubuntu:~$ sudo vi /etc/rsyslog.d/50-default.conf
dirk@virtualboxubuntu:~$ sudo initctl restart rsyslog

TRANSLIT

dirk@virtualboxubuntu:~$ cat murks.txt
Murks Ätsch, das tut nicht!
Äbbes wäre schö gewäsü!

dirk@virtualboxubuntu:~$ iconv -t ASCII//TRANSLIT murks.txt
Murks AEtsch, das tut nicht!
AEbbes waere schoe gewaesue!