Showing posts with label command. Show all posts
Showing posts with label command. Show all posts

C Program to Simulate grep Command in Linux

This post contains C program to simulate grep command in Linux or Unix operating systems

Simulation of  grep command in Linux

#include<stdio.h>
#include<string.h>
main()
{

C Program to Simulate the ls Command in Linux Operating system

This is a c program to do Simulation of ls Command in linux. The ls command lists all the contents of the directory including filse and sub-directories. The following program in C language will simulate the ls command.

#include<stdio.h>
#include<dirent.h>
main()
{

How to Launch an html file (web page) using Autorun

Here in this post we will see how to launch a .html  file automatically from a CD or DVD using Windows AutoRun feature. If you are new to Autorun, please read this post: What is AutoRun and AutoPlay ? How to Set it ?

If you want to know more about autorun commands, please read this post: How to Make a AutoRun CD or DVD Using Autorun.inf

The open command used in tte autorun.inf file cannot launch an html file (web page ) directly. Instead, we can open the webpage through some application.

How to Make a AutoRun CD or DVD Using Autorun.inf

In this post we will see how to setup autorun on a CD or Pen drive using Autorun.inf file. If you are planning to create a CD with autorun (launch a file automatically on insertion of disc), this post will be helpful for you. If you are not much familiar with AutoRun, read the following post, to get an idea about autorun feature:  What is AutoRun or AutoPlay and How to Set it?

Now, we see how to make an autorun CD.