Unix
SqLite3 NFS mount issue with locking - can I use something like CIFS nobrl?
I\'m having a locking problem where an SQLITE3 databse is permanently locked when created on an NFS file system.I have read that an option called nobrl can help this issue when the file system in ques[详细]
2023-04-09 07:35 分类:问答How is fork() working when children fork?
I have executed a block of code. And it is as shown below: #include<stdio.h> main() { i开发者_StackOverflownt i=0;[详细]
2023-04-09 07:04 分类:问答Shell Script for checking log and running a program
I have this script that checks the last line of the file newlog.log and if it finds the word Stream closed there it should run the program test.jar because it would have stopped and hence written Stre[详细]
2023-04-09 07:03 分类:问答stat & S_IFREG in C++
void fun1(char *fl){ //flNamep : stores the path of our directory DIR *dip; struct dirent *dit; dip = opendir(fl);[详细]
2023-04-09 04:21 分类:问答Can I do shell scripting in Windows [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.[详细]
2023-04-09 03:14 分类:问答Append to end of line to specific lines
I am writing a shell script and need some help. This script will take a开发者_开发知识库 file name as input and will modify that input file according to some logic.[详细]
2023-04-09 02:54 分类:问答is there any function in c++ to check whether a file given in a specific path is a script(.sh) file or not
there is .sh file in one of the directories for eg:path = /opt/WD/CD/SCD/temp.sh is there any function is c++ to check whether file in that location(path) is a script(.sh) file or not[详细]
2023-04-09 02:38 分类:问答Oracle OCI - failing with ORA-12705 when running as another user
I\'ve got a C application using OCI to talk to a database.I\'m using the instant client method so there is no standalone Oracle installation on the server - just a couple of libraries that the applica[详细]
2023-04-09 01:10 分类:问答unzip unix command
I have a zipped log file. However whe开发者_运维技巧n I try to unzip nameofFile.log.zip I get the following error:[详细]
2023-04-09 00:42 分类:问答Setting up a service at start-up as non-root user
I would like to have a service start at boot, as a non-root user on Fedora 15. I have placed the script into /etc/init.d/, used chkconfig --add and c开发者_开发百科hkconfig --level to get it all set[详细]
2023-04-08 21:33 分类:问答