netbalaban.net

Netbalaban.net | Professional Internet Web Design | Ozalp Balaban

You are currently browsing the Linux category.

4 Websites to Learn Cool Linux Command Line Tricks

Hollywood movies often have a tech geek entering commands and doing amazing things. While it may not be that easy to hack into public transport systems or or control the world like Eagle Eye, the command line is certainly a geeks playground.

Want to show off your command line prowess to your geeky friends but don’t know any cool tricks?  Well you are in luck. The following websites will give you plenty of tricks and tips to satiate your hunger:

shell-fu

shellfu - learn linux command line

“Fu” is defined as possessing superior skills related to an art. Aptly named “Shell fu” houses user-submitted command line goodies, tips and tricks. You can vote entries up if you like them and vote them down if you find they are harmful or do not work as advertised.

If you have some tricks of your own you can even submit them and they will be added to the site after the moderators have a look at them.

command-line-fu

command line fu

Shell fu and Command-line fu are almost identical in concept. Command-line fu allows users to share their CLI wisdom with others and also vote up and down on submitted snippets.

Both shell-fu and command-line fu allow you to follow snippets through RSS and Twitter although I did find command-line fu offers a bit of extra control on RSS feeds.

snipt

snipt - linux command line tips

Snipt is the “long term memory for coders”.  Snipt is a collection of frequently used commands and code snippets. You can share these snippets with your co-workers or make them public. Public snippets are viewable to everyone and for our specific case, we are interested in the bash section. However feel free to browse other sections as well.

good coders code, great reuse

good coder code

While all the other resources mentioned utilize the power of the crowds to build up content, this one is different. It is Peteris Krumins blog about programming, software and hacking.

What’s so special about it? The famous sed, awk one liners, vim tips, plugins and cheat sheets that Peteris has fabricated over time. The occasional musical geek friday is fun as well.

While it may not be updated as often as the others, but more often than not the content is worth the wait.

Pick up the basics

While the places mentioned above have plenty of content to keep you busy learning, they are not the best places to start your journey. If you want to start with basics have a look at Introduction to the Linux Command Line published on MakeUseOf earlier. You may also find command line basics here and here. For advanced topics you can read the Advanced Shell Scripting Guide.

That’s plenty of information to keep you involved and build up your Linux-fu! Do you know of any good sites to learn Linux commands? Or have you referred to a Linux command line tutorial that you really like? Share with the world in the comments!

http://www.makeuseof.com/tag/4-websites-to-learn-cool-linux-command-line-tricks/

Posted 5 months ago.

Add a comment

Motorola Droid has been Hacked! Unlocks for everyone! :)

It seems like the hackers are at it again, and have rooted the Verizon Motorola Droid. For those who dont know this means soon you should be able to add custom features such as themes, Multitouch browsing, tethering, blue tooth files transfers ect! The possibilities are endless. We all know Verizon likes to lock down their phones, and the Motorola Droid is no exception.  Any day now new hacks should start rolling out. Keep checking back for the newest hacks for the Motorola Droid, as they are released.

Heres the info from “Zinx Verituse” over at AllDroid.

Droid rooted

I’ve rooted the Droid;

md5sum of initial exploit zip: 94a0c30ea9104c2776d042e760bfd716

URL: http://rapidshare.com/files/318204448/d … t.zip.html (Down now?)
URL2: http://www.4shared.com/file/168496608/8 … -root.html (thanks, blunden)
URL3: http://www.mediafire.com/?ydaqjmditjh (thanks, blunden)
URL4: http://www.multiupload.com/XYPZLK4K22
Also attached in a thread post.

The exploit provides a /system/bin/su from AOSP (that is, you can only use it from adb shell).
Other payloads can be arranged, but I’m too lazy to make them myself.

Provide a decent payload and I will turn it in to an update.zip that the Droid will apply.
Restrictions: The payload zip must be <63k
I can add files already in the official update to it (update-binary).

UPDATE: 2009-12-09
New exploit zip, including Superuser from CyanogenMod

URL: http://zenthought.org/system/files/asse … eruser.zip

1) get signed -voles-ESD56-from-ESD20.84263456.zip (md5sum
3af35446905040a3123ec09195299596)
2) get droid-superuser.zip (this file, md5sum e517995a7d1fe233c61df17c7f7c2a63)
3) append this file to the end of signed-voles-ESD56-from-ESD20.84263456.zip
* Windows: copy /b signed-voles-ESD56-from-ESD20.84263456.zip+droid-superuser.zip update.zip
* Linux: cat signed-voles-ESD56-from-ESD20.84263456.zip droid-superuser.zip > update.zip
The md5sum of update.zip will be cf653352967253e99d967498ffd9ce69
4) Copy the update.zip to the sdcard on the phone
5) Boot the phone to recovery mode (hold X and power the phone on)
* You’ll get a triangle + exclamation point if done right
6) Apply the update by pressing Volume Up + Camera

There will probably be mirrors for the pre-concatenated version of droid-superuser.zip, so check this thread.

DETAILS:
Eclair has a new signature checking mechanism, which has a hole allowing unsigned updates up to a certain size.
bootable/recovery/verifier.c notes that a zip file could be hidden in the signature, and has measures to prevent this, but due to a copy/paste mishap, does not check for a hidden zip properly.
This was brought to my attention by embeem, a week or two ago. I do not know who mentioned the problem to him.
Patch that closes the hole:

http://review.source.android.com/12807

Posted 8 months, 3 weeks ago.

Add a comment

One way to format a disk for Linux on a Mac

At present there is no method native to 10.6 Snow Leopard to format a drive with a Linux filesystem such as EXT2 or EXT3. This hint uses a bootable open-source Linux CD-ROM running the gparted application in order to format and partition these and many other filesystems.

To create a bootable CD that you can use to manipulate Linux-formatted drive volumes, take the following steps.

  • Download the latest version of gparted-live — make sure to get the ISO disk image.
    • To boot into the CD, select it in the Startup Disk System Preferences pane and then restart. Warning! Use a USB keyboard and mouse, as this Linux OS cannot handle Bluetooth wireless.
    • Be somewhat amazed as your Mac reboots and Unix code streams down the page. There are a couple of prompts for input along the way, before you arrive in the GUI of the OS.
    • The gparted (Gnome Partition Editor) software launches automatically, and you can select any mounted volume for information and manipulation, and many filesystems are supported. There is extensive online documentation and support for this software.
    • Be very careful! Formatting deletes all your data, so obviously the usual precautions about backing up apply. Be sure to select the correct volume on which to make any changes!
    • Shut down when you have finished. Warning! Your Mac may not respond to the alt (option) key when you restart and you may have to manually eject the CD before you can reboot into OS X.

    http://www.macosxhints.com/article.php?story=20091116024922149

    Posted 9 months, 1 week ago.

    Add a comment

    Slackware 13.0 is released!

    Slackware 13.0 | Ozalp Balaban
    After one of the most intensive periods of development in Slackware’s history, the long awaited stable release of Slackware 13.0 is ready. This release brings with it many major changes since Slackware 12.2, including a completely reworked collection of X packages (a configuration file for X is no longer needed in most cases), major upgrades to the desktop environments (KDE version 4.2.4 and Xfce version 4.6.1), a new .txz package format with much better compression, and other upgrades all around — to the development system, network services, libraries, and major applications like Firefox and Thunderbird. We think you’ll agree that this version of Slackware was worth the wait. Also, this is the first release of Slackware with native support for the 64-bit x86_64 architecture! Major kudos to Eric Hameleers for all of his work, especially on the 64-bit port.

    Posted 1 year ago.

    Add a comment

    Distribution Release: CentOS 4.8

    Johnny Hughes has announced the release of CentOS 4.8. This is a new version of the project’s older, legacy branch built by the recompiling the source package for Red Hat Enterprise Linux 4.8: “The CentOS development team is pleased to announce the release of CentOS 4.8 for i386 and x86_64 architectures. New in this release: there is a technology preview of OpenOffice.org 2.0 included in the updates directory. Known issues: there is a requirement to swap in CD-1 during the install phase of CD-4 during some installs when the comps RPM is required to be installed; an upstream bug with the 3c59x Ethernet driver has been encountered during testing; there are issues with the i586 support on the AMD K6II processor….” See the release announcement and release notes for more details. Existing installations can be updated to the latest version via the usual update mechanism, but an installation CD and DVD images are also provide for download (mirror list: CentOS-4.8-i386-binDVD.iso (2,342MB, MD5, torrent), CentOS-4.8-x86_64-binDVD.iso (2,605MB, MD5, torrent).

    Posted 1 year ago.

    Add a comment