Hello and Good day to all.
Im having a problem here and would like to know if there is any solution that could overcome my problem.
I have changed from bash to csh (c-shell) yesterday on my Linux 7.2. When i do $echo $SHELL i can see the output /bin/csh which means ihave succesfully landed on... (4 Replies)
Dear Members;
I changed ,by mistake ,the root shell in /etc/passwd and logged out. Thereafter, I can no more have a prompt when trynig to log in as root.
How to solve this pb ?
Regards :confused: (8 Replies)
hi,
can any one tell a solution for the following :
I want to append 10 spaces and a string say "ok" to 12 digit number which is stored in a varialbe & display using shell script. (1 Reply)
Hi,
My sheel script has below statement:
if; then
When I run iam getting the below error:
-bash: syntax error near unexpected token `then'
What is wrong with that statement:
Plz help me. (2 Replies)
Hello!
Can you please help me on a lab at school:
I have to to write a shell program which reads all .C files from the current directory and prints for each file how many '#define' directives it has and for each macro defined how many times is it used in that file.
Can you suggest how can i... (1 Reply)
hi...i create a script which reads data from file and compare that the data which is entered by me through keyboard...i can easily read first two contents of file..i am facing the problem to read other contents..
structure of my file is
username:password:username1:password1.......and so on
... (1 Reply)
problem:
I give the source of a c program.. is required to indicate how many times is called each function defined in the program and line number
there is a call.
let's say i have lab2.c:
float dist(int *a,int *b,int n){
int i=0;
double d=0;
for (i=1;i<=n;i++){
d+=pow((a-b),2);
}... (4 Replies)
this picture for print You didn't do the question. Go back.
if $1 = 0
but until now it give me this message
what i should be do ?
http://img717.imageshack.us/img717/6137/eeevb.jpg (2 Replies)