8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am new to unix. how to get only the no. of lines output from the wc -l command.
wc -l filename
<no.of lines> filename
i need only the interger value.
Thanks in advance (2 Replies)
Discussion started by: sanvel
when a execute this line
i get no output, whats could be the possible causes?
---------- Post updated at 09:29 PM ---------- Previous update was at 09:27 PM ----------
nvm i figured it out, u can delete this thread (0 Replies)
Discussion started by: omega666
I am doing a C++ self-study and I got stuck with this problem.
I want to have a code that asks the suer to enter two numbers and then it lists the numbers between these two numbers. It has also to print a message if these two numbers are equal.
Here is what I wrote:
#include <iostream>... (11 Replies)
Discussion started by: faizlo
In one of the Unix Programming FAQ's they have the following headers in the program to catch SIGCHLD
#include <sys/types.h> /* include this before any other sys headers */
#include <sys/wait.h> /* header for waitpid() and various macros */
#include <signal.h> /* header for signal... (5 Replies)
Discussion started by: frequency8
5. UNIX for Dummies Questions & Answers
Is there any way to use sed and count the number of alphabetic characters in a sentence? (4 Replies)
Discussion started by: brentdeback
6. UNIX for Dummies Questions & Answers
what happens if the script doesn't get Y,y,N, or n? Will it just loop back up and ask the question again? I tried to get mine to give me another response to tell me my input was invalid, but ran into problems with it. (8 Replies)
Discussion started by: wmosley2
7. UNIX for Dummies Questions & Answers
what is the function of swap in linux why i have to create apsolutely a particion for the swap when i install (i installed lnx4win mandrake and made an automat. disk particion and the install program one of my disk partitions that was 3gb devidet in 4 one native 700mb swap 600mb and the others i... (1 Reply)
Discussion started by: user666
8. UNIX for Dummies Questions & Answers
Hay everyone, i would like to take this opportunity to thank all of you who helped me make the decision to get a linux distro. As a newbie, Im defininately considering buying Mandrake Linux... I went to the site and phew..... 2300 applications, i think ill have a good time. But i do have a... (5 Replies)
Discussion started by: LolapaloL