files

what does the file /etc/fstab contain??

is it something related to disk quotas..???

need info for ccna course and exam

i want to do CCNA. i live in kolkata. Now a senior dada did ccna from iiht nearly 2 years ago . so i went to the address given by him (at exide more near rabindra sadan metro station) but found it was actually IIJT infotech . Upon meeting the senior counsillor she said they were previous iiht and now they have changed their course to be more job-oriented. after cross-checking with my senior it was found he had also known her as she was there in his time too.

Summer training camp

When is the Summer camp gonna start?

How to use bash with Vi commands :)

Read it here.

eth0 or ppp0 - which interface to use ?

i am using bsnl dataone to connect to internet and my computer is on 24x7 downloading.so i am concerned about securing my machine.i am curious as to how to firewall my machine the best way .usually i connect to net using the modem as router. i have inbuilt ethernet card and i have forwarded only one port which i use for bittorrent .A scan at grc.com gives me complete stealth status but an intense scan with nmap-frontend shows port 23,21,111 and few other ports open and it also correctly detects the os which is running the dlink router.Recently i

A C program to display environment variables

#include<stdio.h>
#include<stdlib.h>

extern char **environ;
int main()
{
        char **var = environ;

        while(*var)
        {
                printf("%s\n",*var);
                var++;
        }
        exit(0);
}

A C program to display the information about the root and the user

#include<stdio.h>
#include<sys/types.h>
#include<pwd.h>
#include<unistd.h>
#include<stdlib.h>

int main()
{
uid_t uid;
gid_t gid;

struct passwd *pw;
uid = getuid();
gid = getgid();

printf("User is %s\n", getlogin());

printf("User IDs : uid=%d, gid=%d\n", uid,gid);

pw= getpwuid(uid);

I Know What You Are Going To Do This Summer ‘08

The details about the summer training program can be found here.

A C program to print the effective user name

You can see it here.

Broadband connection in Linux

Hi All,

I am usig Ubuntu v7. Just wanted to know if I can use a broadband connection in my machine. I have earlier configured dial up connection with Fedora Core in my home, but not sure whether Broadband will be supported. (I read in some blogs that USB modem is not detected in Linux).

Thanks for any suggestions/comments.

 

Syndicate content