Linux find command – Find file and directories faster and easier

2010-03-16 1 min read Linux

 

This command is very powerfull when used with combination of filters and pipes and RE.

I will give some example:

find . -type f –» List all files
find . -type f -exec rm {} <a class=“zem_slink” title=“Path (computing)” href=“http://en.wikipedia.org/wiki/Path_%28computing%29" rel=“wikipedia”>\; –» Delete all files
find . -type d -exec rm {} \; –» Will through some common errors 🙂
find . -name "name"  –> find files containing name in the filename
find . -atime 12 –> Find files accessed 12 days ago

Continue reading

Edit a File When You Are Viewing It Using more / less Command

2010-03-16 2 min read Linux

<a href="http://www.cyberciti.biz/faq/edit-file-when-youre-viewing-withmore-less/">Aritcle here.

<a title="Permanent Link to Edit a File When You Are Viewing It Using more / less Command" rel="bookmark" href="http://www.cyberciti.biz/faq/edit-file-when-youre-viewing-withmore-less/">Edit a File When You Are Viewing It Using more / less Command<div style="color: #888888;">Posted by Vivek Gite [Last updated: November 1, 2008]

<div id="EchoTopic"> <div style="float: left; margin-top: 0px; margin-right: 5px;">
<div style="float: right; margin-top: 0px; margin-left: 5px;"><a title="See all Bash/Shell scripting related FAQ" href="http://www.cyberciti.biz/faq/category/bash-shell/"><img src="http://blog.amit-agarwal.com/wp-content/uploads/figs.cyberciti.biz/3rdparty/terminal.png" border="0" alt="" />

<span style="color: #ff0000;">Question: I can use <a href="http://www.cyberciti.biz/tips/less-is-more-the-hidden-treasure-of-less-command.html">less or more pagers to view a file. How do I start an editor (such as vi or other text editor) to edit the current file without leaving the less or more pager command?

Continue reading

Ubuntu Sucks Like a Shopvac and Other Linux Rants

2010-03-16 1 min read Linux

Almost 100 articles and blogs on the topic of “ubuntu sucks” were published in the past month alone, and about as many were published that unequivocally state Windows is better than Ubuntu.<table border="0">

<span style="font-size: x-small;">
But upon closer examination, I found that a substantial portion of these negative reactions to Ubuntu stem from unrealistic comparisons.

Almost all of the hurdles people seem to have when switching from Windows to Ubuntu appear to be errors in judgment and assessment, rather than actual problems with the OS.

Continue reading

Putting Linux on Parental Control

2010-03-16 1 min read Linux

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category
Putting Linux on Parental Control
Over the years I?ve witnessed desktop Linux distros evolve
dramatically ? change the very core of the way we look at how an
operating system interacts with its users. However, I still find plenty
of forum posts on the Web stating that Linux as a

URL:<a href=" http://c.moreover.com/click/here.pl?r2243375620&w=2390512"> http://c.moreover.com/click/here.pl?r2243375620&w=2390512

prepend to a file with sponge from moreutils

2010-03-16 1 min read Linux

<a href="http://bashcurescancer.com/prepend-to-a-file-with-sponge-from-moreutils.html">A few weeks I wrote about a tool, which helps you easily prepend to a file. I submitted prepend to moreutils and Joey was kind enough to point out this could be done with `sponge&#8217;.? sponge reads standard input and when done, writes it to a file:
Probably the most general …<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://helpdeskgeek.com/linux-tips/crontab-howto-tutorial-syntax/">Automating Tasks in Linux Using Crontab (helpdeskgeek.com) <li class="zemanta-article-ul-li"><a href="http://www.slideshare.net/progrium/sxsw-evented-web">How WebHooks Will Make Us All Programmers (slideshare.net) <li class="zemanta-article-ul-li"><a href="http://almirkaric.com/2010/01/07/debugging-python-multiprocessing/">Debugging python (multi)processing (almirkaric.com) <li class="zemanta-article-ul-li"><a href="http://www.slideshare.net/royzimmer/you-can-do-it-start-using-perl-to-handle-your-voyager-needs">You Can Do It! Start Using Perl to Handle Your Voyager Needs (slideshare.net) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/b2b2afad-1679-46ab-831c-90ae0cc4d30f/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b14.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

Continue reading

KDE For Windows – An Overview

2010-03-13 0 min read Linux
\"K
Image via Wikipedia

<a class="zem_slink freebase/en/kde" title="KDE" rel="homepage" href="http://www.kde.org/">KDE is turning out to be a fabulous Desktop. The latest version – KDE 4.4.0 aka Caikaku is choke full of features which gives the term &#8221;Desktop <a class="zem_slink freebase/en/usability" title="Usability" rel="wikipedia" href="http://en.wikipedia.org/wiki/Usability">usability&#8221; a new meaning all together. What makes KDE all the more appealing is the plethora of well designed <a class="zem_slink freebase/en/application_software" title="Application software" rel="wikipedia" href="http://en.wikipedia.org/wiki/Application_software">applications that come bundled with it.

Continue reading

How to Install KDE in Windows]

2010-03-12 0 min read Linux
\"Image
Image via CrunchBase

For over a decade, <a class="zem_slink freebase/guid/9202a8c04000641f8000000000021de6" title="KDE" rel="homepage" href="http://www.kde.org/">KDE has supplied Linux and <a class="zem_slink freebase/guid/9202a8c04000641f800000000003e17c" title="Unix" rel="wikipedia" href="http://en.wikipedia.org/wiki/Unix">Unix users with a graphical <a class="zem_slink freebase/guid/9202a8c04000641f800000000007eda2" title="Desktop environment" rel="wikipedia" href="http://en.wikipedia.org/wiki/Desktop_environment">desktop environment and a suite of useful <a class="zem_slink freebase/guid/9202a8c04000641f8000000000254091" title="Application software" rel="wikipedia" href="http://en.wikipedia.org/wiki/Application_software">applications. It has become one of the most popular desktop environments and is the default on many <a class="zem_slink freebase/guid/9202a8c04000641f8000000000024e02" title="Linux distribution" rel="wikipedia" href="http://en.wikipedia.org/wiki/Linux_distribution">Linux distributions. With the coming of KDE 4, developers promised native KDE applications running on <a class="zem_slink freebase/guid/9202a8c04000641f8000000000025fe8" title="Windows" rel="homepage" href="http://www.microsoft.com/WINDOWS">Windows. While the current release is still not ready for production, as of KDE 4.3.3, it is coming closer and worth trying. What follows is a brief guide to getting KDE running on Windows.

Continue reading
Older posts Newer posts