nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

need solution

This is a discussion on need solution within the Coding in General forums, part of the Development/Scripting category; 1) C+ code, 2) simple unix platform , anything in deep thn use linux platform. 3) nothing as special requirements ...


Go Back   nixCraft Linux Forum > Development/Scripting > Coding in General

Linux answers from nixCraft.


Coding in General Discussion on PHP/Perl/Python/Ruby/GNU C or C++. MySQL, PgSQL and (X)HTML or any other programming languages you want.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 20-09-2008, 07:47 AM
Junior Member
User
 
Join Date: Sep 2008
OS: Debian
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
harshil123 is on a distinguished road
Question need solution

1) C+ code,
2) simple unix platform , anything in deep thn use linux platform.
3) nothing as special requirements

Q1.
(a) Do you find .login, .profile, .csrc files in your directory?
(b) What do these three files do?

Q2. Write a program called home that takes the name of a user as its single argument and prints that user's home directory. eg.
$home steve
would print
/users/steve


Q3. Use command substitution to print (i) the calendar of the current month,
(ii) listing of a group of filenames stored in a file


Q4. How will you store in a variable count (i) the total size of all C source files,
(ii) the total number of lines in a file?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
need solution harshil123 Coding in General 1 05-11-2008 02:48 PM
Help Needed :: Squid Solution rndinit0 CentOS / RHEL / Fedora 0 08-06-2008 10:39 AM
Need Solution aaru Linux software 0 19-10-2007 03:38 PM
Needed backup stript with solution for problem symlinks texnikru Shell scripting 2 10-10-2007 05:23 PM
Device eth0 does not seem to be present error and solution jerry Linux software 1 20-06-2006 05:07 PM


All times are GMT +5.5. The time now is 09:02 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38