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.
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).
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 ...
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?
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.
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.
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?
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.
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.
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.
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?
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.
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?
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 .
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
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.
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.
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?
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..??