Quantcast
Channel: nixCraft » for loop
Browsing latest articles
Browse All 5 View Live

Uninstall files installed from a source code tar-ball

Installing software from a source code is common practice in UNIX and Linux world. Some time this is preferred method because it gives all power and flexibility you need to optimize your software such...

View Article



Image may be NSFW.
Clik here to view.

Linux Get List of Installed Software for Reinstallation / Restore All the...

Hardware and software failures are part of life. And that is why you need to have a backup plan. I have already written about backing up files and MySQL databases. There is no need to backup all...

View Article

How to: Run All Shell / Perl / Python Scripts in a Directory

I've directory called /home/vivek/scripts/daily with over 25 perl / shell / python scripts for managing daily tasks. One day for some weird reason my crond died and I did not noticed the incident for 2...

View Article

Image may be NSFW.
Clik here to view.

fold: Wrap Text File / Line / Words To Fit in Specified Width

fold is really nifty command line utility to make a text file word wrap. This is useful for large number of text files processing. There is no need to write a perl / python code or use a word processor.

View Article

Image may be NSFW.
Clik here to view.

BASH Shell: For Loop File Names With Spaces

BASH for loop works nicely under UNIX / Linux / Windows and OS X while working on set of files. However, if you try to process a for loop on file name with spaces in them you are going to have some...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images