Get your WAN IP Address
curl ifconfig.me
----------------------------------------------------------------------------------------------------------------
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
================================================================================================================
[ meskarune@delayline.tk : ~$ ls -lrt /var/log/mind > blog ]
================================================================================================================
curl ifconfig.me
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
I like vim, I really do, but its not the text editor I use when I’m writing html/css or LaTeX or php… The editor I generally go to when I’m getting down to business is TEA. It is very fast, has great syntax highlighting, templates, and a built in image viewer. I love this editor. :)
Features from the Site:
Tea runs on Linux and Windows. It has a GTK and QT branch. And its fast, featureful and nice to use. Check it out here:
http://tea-editor.sourceforge.net/

My favorite thing about tea is the input field on the bottom. Its sorta like a terminal for the editor. :)
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
The Heise Kernellog summarizes the happenings in the development of the Linux Kernel in a short and easy to understand form.
I just installed the 3.1 Kernel, so guess I’ll see how it goes when I reboot!
----------------------------------------------------------------------------------------------------------------
The Swiss federal court has developed a software to make the management of court decisions easier and planned to release the software under the GPLv3.
However, just before the source code was to be released, the process was stopped.
Several companies that develop proprietary software for Swiss…
----------------------------------------------------------------------------------------------------------------
If you type “tail /var/log/messages.log” you will get the last 10 messages on your system log file. On my computer when I typed “tail -n 3 /var/log/messages.log” it shows the last 3 entries of my system log, which looked like this:All of the Log Files on Linux are located in /var/log
Aug 2 12:06:59 localhost avahi-daemon[1343]:New relevant interface wlan0.IPv4 for mDNS.
Aug 2 12:06:59 localhost avahi-daemon[1343]: Registering new address record for <my-ip-address> on wlan0.IPv4.
Aug 2 12:06:52 localhost dhcp[2964]: forked to background, chid pid 2990
You can use these log messages to check up on boot errors, to see who’s been logged into your system, or check on your cron jobs.
Besides tail, you can also grep (search) your log files for specific terms. An example would be searching all the logs in /var/boot for the word “fail”
example: “grep -i fail /var/log/boot”
this would then list all the instances where boot failed.
There are also a ton of 3rd party log viewers, both FOSS and Proprietary, available for linux. These log viewers often have features like log analysis, tracking, etc. Which can make finding issues a lot easier.
Ksystemlog for KDE
http://www.kde.org/applications/system/ksystemlog/
Gnome log viewer for gnome
http://library.gnome.org/users/gnome-system-log/
AWstats for web servers (its pretty impressive and their site has a demo you can check out)
http://awstats.sourceforge.net/
Cyclops, a CLI log analyzer (it only shows log entries with errors/suspicious behavior)
http://tam.hiddenrock.com/projects/cyclops/
There are hundreds more, and I would suggest you check out your distribution’s software packages or start a forum thread for recommendations. :)
Oh and one more extra tip:
You can have your system log messages show up in conky - the desktop system information program. Just stick this entry into your conky:
${execi 30 tail -n3 /var/log/messages}
----------------------------------------------------------------------------------------------------------------
Strace is a program that shows the system calls a program makes as well as signals received from the user or other sources. Each line in the trace contains the system call name, followed by its arguments in parentheses and its return value.
meskarune ~/Desktop $ strace echo hello
execve(“/bin/echo”, [“echo”, “hello”], [/* 29 vars */]) = 0
brk(0) = 0x8c04000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78cf000
access(“/etc/ld.so.preload”, R_OK) = -1 ENOENT (No such file or directory)
open(“/etc/ld.so.cache”, O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=140504, …}) = 0
mmap2(NULL, 140504, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb78ac000
close(3) = 0
open(“/lib/libc.so.6”, O_RDONLY) = 3
read(3, “\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\223\1\0004\0\0\0”…, 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1467012, …}) = 0
mmap2(NULL, 1473000, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7744000
mmap2(0xb78a6000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x162) = 0xb78a6000
mmap2(0xb78a9000, 10728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb78a9000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7743000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb77436c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb78a6000, 8192, PROT_READ) = 0
mprotect(0xb78f0000, 4096, PROT_READ) = 0
munmap(0xb78ac000, 140504) = 0
brk(0) = 0x8c04000
brk(0x8c25000) = 0x8c25000
open(“/usr/lib/locale/locale-archive”, O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1852464, …}) = 0
mmap2(NULL, 1852464, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb757e000
close(3) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), …}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78ce000
write(1, “hello\n”, 6hello
) = 6
close(1) = 0
munmap(0xb78ce000, 4096) = 0
close(2) = 0
exit_group(0) = ?
In the above example I ran “echo hello” through strace. As you can see, the echo program was executed from /bin and access’s quite a few library modules before actually writiing “hello” to the screen. When a value -1 is shown, that mean’s there was an error with the program. If you have a program that crashes upon loading, using strace can help you figure out what the problem is. Strace is also useful to help new users learn what libraries and modules a program uses when it is executed. Try running strace on ls, cd or vim!
----------------------------------------------------------------------------------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man."
----------------------------------------------------------------------------------------------------------------
pg 1 of 3