General :: Counting The Number Of Cfiles In A Project?

Jun 15, 2010

how do i count the total number of cfiles in the project.My project is on a solaris machine what is the command that I have to run to know the total count of cfiles in the .pj folder.

View 1 Replies


ADVERTISEMENT

Programming :: Counting The Number Of Exit Variables - Bash

Jul 1, 2010

Is there a way to count the number of errors- an exit variable $? from one function?

The output from the exit variable (either erroneous or correct (1) or (0)) is it possible to add the erroneous one ups?

View 3 Replies View Related

General :: Counting The Occurrence Of A Word In A Collection Of Files?

Jun 16, 2010

I am trying to find the word count of a specific word in a collection of documents, in Linux.

I have tried with grep and ack-grep in combination with wc but I can't seem to come up with a valid combination of pipes :)

View 1 Replies View Related

General :: Counting Valid Paragraphs From A Html File?

Mar 28, 2010

I just wrote an html file, but somewhere on the write I lost count of the paragraphs.

In an html file paragaphs starts with <p> and ends with </p>

What I want to know is how to find the valid paragraph.

I used grep '<p>' file_name | grep -wc '</p>' . I dont know if this works.

View 7 Replies View Related

General :: Unix Ps -l Priority Whoes One Number In Column "PRI" But In Same Time Ps -o Pri Shows Another Number?

May 21, 2011

Why does unix ps -l whows one number in column "PRI" but in same time ps -o pri shows another number? cpu and nice are zero for those processes

View 1 Replies View Related

Networking :: Traffic Counting On The Interface?

Jan 16, 2010

How do you count the traffic on the interface, friends ?

I have a router for a medium-size LAN. HTTP-traffic goes through the transparent proxy, logs are parsed with Sarg, so that's the way I look how much megabytes my users 'do' daily.

Now I want to get rid of proxy, just to do sNAT. But I still want to know the daily traffic of my users (even in general, not for each user).

The router is run by Slackware 12.2.

View 1 Replies View Related

Programming :: Counting To A Specific Character?

Feb 12, 2010

I am loading variables for cXtXdXsX disk names into a script, and at present I have only accounted for there being 3 characters from c to t. I need to change it to a variable recognition so that it can count any number of charcters such as c1t , c10t , or c100t.

I can then take that information and use it with the following string to strip off the lead characters so as to make the 3 in $substr either a variable or redirect to multiple occurrences of raw based on the count returned.

sub raw {
$substr = substr ($_, 3);
$raw1 = substr ($substr, 0, -4);
$raw = lc($raw1);
}

how to count from the c to the t inclusive so I get 3, 4, 5, etc ...

View 9 Replies View Related

OpenSUSE Network :: Counting Entries On A Ftp-Server?

Jul 21, 2010

Can one do something like ls|wc on a ftp-server? The ftp command set does not include wc.

I have uploaded lot's of stuff to a net drive and I would like to check the completeness of the files uploaded without counting them by hand.

View 3 Replies View Related

Ubuntu :: Bash Command For Counting Down To A Certain Date

Jan 6, 2010

I would like to write a shell script that displays the number of days, hours and seconds left until a certain date and time. What commands would I use?

View 6 Replies View Related

Programming :: Counting Context Switches On Thread?

Jun 10, 2010

I have done some searching around the internet and this site, but I haven't found a good way to count the context switches on a thread in a c++ program I am running. I need to know if it get swapped off of a CPU for correct timing.

View 4 Replies View Related

Programming :: Counting Variables In Bash Script

Nov 13, 2010

If I read in variables entered by the user, how can I check to make sure the correct number of variables were entered? For example, after reading in a data file and making it into an array, I have:echo "To check the data, enter the first element number, last element number and step size as x y z:"read x y z.It then goes on to start a loop, but what I would like now (before the loop) is a check to see if three variables have been entered, before the rest of the script continues.

I've tried specifying the variables as $1, $2 and $3, but if I echo $#, the value comes out as zero, so it's obviously not working.

View 9 Replies View Related

Server :: Comparing Zone File Counting And Same Name

Mar 29, 2011

I want to compare zone file counting and same name, not records etc of master and slave dns server so that i sure both server contains same copy of the files at a time. Any utility to compare such files in linux?

View 5 Replies View Related

Server :: Counting Inbound - Outbound Mails

Jul 22, 2011

Is there a way I can count inbound/outbound mails for a particular user? I'm using sendmail as MTA and dovecot for POP3.

View 1 Replies View Related

Programming :: Perl - Counting Files With File - Find

Dec 20, 2010

So this is my code:

Code:

Modification of code I found here. It works, but I don't really know why.

Q1: Why is each filter hit counted only when the conditional is not true?

Q2: I've tried taking the file type, (.old), and put it into a variable for better usability, but then the script fails.

View 14 Replies View Related

General :: Contributing To An F/OSS Project?

Apr 25, 2011

I am an undergraduate anthropology student doing research for my dissertation on the F/OSS community.I'm interested in are forking (What sort of thing causes/averts a fork? Have you ever participated in one?), the process of decision making (Is consensus democracy effective? Where do communication structures often break down?) and any other reflections or thoughts that you think are relevant.

View 3 Replies View Related

General :: Possible To Run Mira3 Project Without .sff Files

Aug 19, 2010

I have two files fasta file and qual file and i need to run mira3.Is it possible to run the mira3 project without the .sff files.and if so where do i get the .sff files since i have only the fasta and qual files.

View 1 Replies View Related

General :: Create Self Extracting Rpm For Project

Jul 11, 2011

i am working on a project that requires updation after every 10 days that is after 10 days , i have to apply a new release. every time i need to copy all things from one path and paste it to different locations that is a manual work, i want to create a self extractor, in which i have to give only path, that is the path where i need to paste the files.

View 7 Replies View Related

General :: Want To Make A Project Using RHEL 5

Sep 9, 2010

I have learned RHEL 5 recently and i m an engineering student, i want to make a project using RHEL 5, I have done mainly Servers.

View 2 Replies View Related

Networking :: Byte-counting Software - How Much Data One Has Uploaded/downloaded Over A Set Period

Jan 15, 2011

At present I have to live with a 5Gb/month data volume limitation. Due to having to monitor this usage, I have been forced to use the software that came with the web dongle - and that means having to use Windows (spit!)

Can anyone recommend a Linux package I could download that readily shows how much data one has uploaded/downloaded over a set period?

View 3 Replies View Related

General :: Can't Create New Project Or Open Existing One

Sep 19, 2010

I'm trying to use BlueJ 3.0.2 on Ubuntu 10.04, but I can't do nothing. I mean: I can't create new project or open existing one.I installed it twice times without problems.I did not find anything either with google or in the developers' website.

View 1 Replies View Related

General :: Run Java Project From Ubuntu Terminal?

Apr 28, 2011

I have a small java project that handle connections. In order to run it from the terminal I have to cd into the folder that contains the source and run the following command:
java -cp classes com.packagename.mainclass
Where classes is the folder that contains the classes. I want ubuntu to run this application on startup, is there a Java command I can use? Or am I just better off creating a shell script?

View 1 Replies View Related

General :: Developing A Project In C Kernel Programming?

Mar 11, 2010

I am a Master's student.I am a newbie to Linux. I am interested in doing a term project in C kernel programming. I need help in developing a project in which I can use C kernel programming .

View 2 Replies View Related

General :: Topics For Project - Creating New Shells

Feb 24, 2010

I am college student and for this semester. I am planning to do a project in Linux. Also I have a plan 2 create a new shell in linux.

View 4 Replies View Related

General :: Checkout A Project From Cvs Fort A Particular User?

Sep 19, 2010

i need to checkout a project from cvs fort a particular user i use the following command cvs -d server:francis:francis@cvs@10.200.2.23:/projects/aa_cesar co myproject when i do it using the eclipse it works fine but when i do it command line it does not checkout the reason is it takes cvs@10.200.2.23 unable to connect that is wrong username pasword credentials are given

View 9 Replies View Related

General :: Fortran Project In KDevelop On Opensuse 11.3?

Aug 27, 2010

I just installed OpenSUSE 11.3 and I want to use Kdevelop 4.0 for programming in fortran. when I try to start a new project (Project/New from template) I only get the choice between C++ and PHP. What can I do so that I can also use fortran.

View 1 Replies View Related

General :: Build A Fortran Project In Kdevelop?

Apr 20, 2011

I have installed gfortran,cmake,etc,but there is no fortran project to chose.What should I do ?

View 2 Replies View Related

General :: Compile The Kernel 2.6.35 As Per Project Requirement?

Dec 23, 2010

I have Debian 5 machine on which I want to compile the kernel 2.6.35 as per my project requirement.

View 6 Replies View Related

General :: Getting Based Project For Masters Degree?

Jun 15, 2010

I am doing my work integrated Master's degree. I want to do a project which can be either linux based application or adding a feature to the linux kernel as a kernel extension. Please give me some ideas for this. The duration of project is around 6 months along with my regular office work.

View 7 Replies View Related

General :: Syn-cache Mechanism - NetBSD Project?

Jul 27, 2010

I have a general question and decided to post it here. Hopefully, I have picked a correct category. The thing I have been trying to figure out is the syn-cache mechanism. I know that it used to be utilized as a method to mitigate the impact of (D)DoS attacks. I would like to know what happened with it? Is it still added to the Linux systems? Perhaps I am missing something, and cannot find the correct man page about it. Is it the thing, that it is only for NetBSD project?

View 5 Replies View Related

General :: Win7 - Tools Required For Web Development Project

Jan 16, 2011

I wanted to design a project in linux which could contain programming languages(C, perl, PHP, HTML, XML etc) basically a web based project. Why I have chosen to build on Linux is because it is Open Source, and lot many things can be automated through scripting languages, which in windows I don't know. So, I have installed linux on a virtual machine(Host-Windows 2007 & Guest Linux CentOS), CentOS(command line interface). Since I am a beginner, so I want to know what all tools can be used to facilitate and ease my development process. Some which I know are listed below:

1) Using Putty so that can access the Linux machine from anywhere within the network.
2) Since I want to develop on Linux, but want to use windows as developing platform. So have downloaded Eclipse Editor (C/PHP) on windows. But want to know how can I access linux files from here?
3) Installed Samba, and still trying to figure out how can I access linux files remotely on Windows.
4) How can I ease my development process and what all tools I can use..??

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved