interview questions and answers

Web Technologies Interview Questions | HTML Interview Questions

Home interview questions Web Technologies interview questions HTML 
Tuesday, 22 May 2012
Main Menu
Home
Online Test
Contest
Search
FAQs
Contact Us
Login
Most Popular Category
JAVA

Microsoft Technologies
ASP, C#, DotNet, ...

Programming
C++, PHP, VB, ...

SAP

Testing

Web Technologies

Polls
Does personal networking help in job search?
 
IT Placement Papers interview questions Web Technologies interview questions HTML

This category contains HTML Interview Questions and Answers



Search by tag : Web Technologies Interview Questions, HTML Interview Questions


How do I rename all the files from .htm to .html after copying them from a PC to a UNIX machine?

PDF Print E-mail

UNIX's mv (`move') command won't handle wildcard filenames.
However, there's a program called htmaddl (for `HTM-add-"L"'), so you can login and type htmaddl.
This will rename all .htm files to .html If you haven't got this program on your UNIX machine, you can type it into a file called htmaddl:
#! /bin/sh for f in *.htm;
do base=`basename
$f .htm` mv $f $base.html

After saving it and exiting your editor, make it executable by typing the command chmod ugo+x htmaddl Best of all, move it into your ~/bin directory, or ask your WebMeister to put it in /usr/local/bin so everyone can use it.

Related items




Be first to comment this article

Only registered users can write comments.
Please login or register.

 
< Prev   Next >

Web Technologies Interview Questions | HTML Interview Questions

Top!
Top!
Copyright © 2008 InterviewDuniya.com All Rights Reserved.
Partner Site: Maheshwari Matrimony