How can I put the following tru64 unix command in an if statement:
ls -l | grep -c "^-.*"
such as:
if (ls -l | grep -c "^-.*" == 0) exit
http://www.experts-exchange.com/OS/Unix/Setup/Q_23732392.html
Can someone explain me this little piece of code in C for a Unix system??
if (fork() == 0) {
execvp(orden, parametros_t);
perror(" orden externa ");
exit(0);
}
wait(0);
http://www.experts-exchange.com/Programming/Languages/C/Q_22580072.html
How do I write a very simple unix like shell in C ?
Thanks!
http://www.experts-exchange.com/Programming/Languages/C/Q_20727108.html
Zones:
CDate Answered: 09/15/2003 Rating: 8.9 Views: 78
Hi,
In a unix c shell script i want to run a count sql through sqlplus and read the resulting number into a variable in the shell program. What would be the syntax for this?
(I think to thos...
http://www.experts-exchange.com/Database/Oracle/3rd_Party_Tools/Q_21227708.html
i have to parse , and ftp some files, the number of files is unknown but their names are
like *afc*, before starting to work, i want to check if these files exists, and their permisions on the uni...
http://www.experts-exchange.com/OS/Unix/Solaris/Q_24350828.html
I need to query a remote mySQL db - I'd like to do it with c shell but any shell scripting is fine.
Only need to learn this for this one function so I hate to study up, your help is appreciated.
...
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Q_24628237.html
Hi,
I am new to unix and need some help setting up my C Shell environment. Can someone please help?
I dont know where to begin...
When I login, I am automatically put in the root direct...
http://www.experts-exchange.com/OS/Unix/Setup/Q_24792239.html
we will start a new project.
there will be 3 main steps.
1] collect raw data from a remote pc (ftp,sftp,ssh)(data to xml)
2] parse the data(xml to csv)
3] load the data to database oracle (sql ...
http://www.experts-exchange.com/Programming/Languages/C/Q_24357457.html