how to Enter data from keyboard in shell programming
how to Enter data from keyboard in shell programming ? some command similar to scanf in c ...
how to Enter data from keyboard in shell programming ? some command similar to scanf in c ...
how to create a array in unix shell programming ? and i have to excute the program still i press a key similar to do u want to continue option ...
Is it possible to store "Filename" and "filename" in a mysql-database? ...
I've got a set of files in a web root that all contain special characters that I'd like to remove (Â,€,â,etc). My command find . -type f -name '*.*' -exec grep -il "Â" {} \; finds & lists out the files just fine, but my command find . -type f -name '*.*' -exec tr -d 'Â' '' \; doesn't produce the results I'm looking for. Any thou...
I'm using command line SVN 1.6.5 on my Ubuntu 9.10. This is my first time using it on the latest Ubuntu, I found svn confused about file names. The problem was as follow: I firstly used sudo svn co http://my-repository/h2m h2m after successfully checkout these files, I immediately used svn st and found dean@notebook:~/FAT32/h2m$ s...
These are some of the things that every web developer should know when building a web app. This tools will save everyone lots of time. Tools like "memcached" and "beanstalkd" are super dead simple and provides lots of value. If someone could list their simple yet effective tools in this list, it would be good. I'll make this community...
how to create a database btable from unix shell? and how to access the contents of the data table or to add to the table. can i create a table in ms-acces and use it throug shell? or please sugest some e-books or sites to refer ...
How to find the array length in unix shell? ...
Here i have got various inputs from keyboard and checked these validations Book_id must be unique. Subject code can only be either UNIX or C.The Shelll i work is bash i got the following errors ./test.sh: line 5: declare: `=0': not a valid identifier /test.sh: line 13: unix: command not found ./test.sh: line 92: syntax error: un...
When I use Solaris, I get page numbers every 60 lines or so that look like this SunOS 5.11 Last change: 10 Feb 2009 1 Also, I get headers like User Commands ls(1) Is there any way to remove them? It's distracting to have them appear when I'm reading text line by line. ...
I am writing to my Python process from the commandline on unix. I want to send EOF (or somehow flush the stdin buffer, so Python can read my input.) If I hit CTRL-C, I get a KeyboardError. If I hit CTRL-D, the program just stops. How do I flush the stdin buffer? ...
Is it possible to run the COFF executable files on UNIX or the ELF executable files on Windows? And what would be the steps to be able to run either file type on Windows and UNIX. I'm just curious. ...
I am doing some C++ cross development - been doing that for a while on Windows and recently started on Unix. I suppose what I am after is to simplify Unix development experience - I have a local windows box I do development on, and a remote Solaris box which I use to compile and test code on unix environment. What I do now - I develop...
Hi, I getting space delimited list of titles based on this code: TITLES=`awk -F'|' '{print $1}' titles.txt | cut -d'=' -f2 | sort Then I use that list in a for loop to print out the results: for T in $TITLES do echo "$T" done The problem is that when a title has more than one word and the words are separated by a space then m...
I want to try Unix for developing J2EE application. I use the IBM software. WASCE as application server DB2 Express-C as database. Eclipse Which Unix flavour will be most suitable for me? ...
How do i find and replace a string on command line in multiple files on unix? ...
Hi, if i redirect to same file it places null in the resultant file. sed 's/abd/def/g' a.txt > a.txt i know it put null in to the file. But can anyone explain why? ...
We have a collection of Unix scripts (and/or Python modules) that each perform a long running task. I would like to provide a web interface for them that does the following: Asks for relevant data to pass into scripts. Allows for starting/stopping/killing them. Allows for monitoring the progress and/or other information provided by the...
I'm pretty much confused on this. Need some clarifications. Example 1 : pgrep string | xargs ps Example 2 : find . | xargs grep whatever From Example 1, I gather it's this way: Search for a "string" which is part of name of running process and return the process-ids of all the matches to 'xargs ps' -> which just appends ps to the...
In Solaris, gcc gives me implicit declaration of function `getopt' when compiling #include <unistd.h> #include <stdlib.h> int main(int argc, char *argv[]) { getopt(1,argv,""); return 0; } The man page for getopt says something about including unistd.h or stdio.h, however even though I'm inluding both I still get this w...