I am writing a shell script and I am calling wc -l. I need to assign the results of this call to a varaible and it's not working the way I think it should:
Well, if you want the results of this call to be assigned to the variable, you shoud use the "command substitution" operator, which is the backquote " ` ". Note that it's not " ' ".
Also, when assigning values to variables, you should use "=" without spaces before and after.
So, it would be:
Have fun!
I am very new to shell scripting. please help me in this scenario.
when we run the script, It should ask user to enter the input (for example, ticket number like below)
B1234567
B2345678
C1245782
.
2. Once user enter the input or,paste the input, the script should check each and every... (1 Reply)
Tim Bass
12-18-2008 03:43 AM
In August of this year, we issued the challenge,* The Bot Hunter: An Event Processing Challenge (Bot or Not). Not surprisingly, none of the “self-described CEP vendors” with grand claims of CEP greatness, responded.* Real-time detection of threats and opportunities,... (0 Replies)
Hi all,
I know nothing about unix. Both of our unix guys left for greener pastures. I have been given the task of tring to get 10,000 accounts on a hp ux system into active directory. The accounts don't need to be moved, but they need to be in active directory for a couple of applications. Even if... (0 Replies)
Hi ,
i have jus started learning basics of unix .I have few queries :
1) what is meant by unix box server?
2) what is the difference between unix and linux (is it jus x-windows graphical system or is there anything more than that?)
3) Can i get any free download of unix so that i cud... (7 Replies)
This morning I was working by Xwindow to my unix server (hp-ux, 11 version), without any problem but this afteernoon, the connections was refused, and triying to connect using telnet, sometimes I can establish the connection and refuses me in a minute, the error message that appears is "your... (1 Reply)
I have to setup a new server (linux) and I have to copy the data from the old unix system to the new one.
Can I access the unix data in dos?
Please help. I know little about linux and unix (3 Replies)