10 More Discussions You Might Find Interesting
Hello forum memebers,
I have blocking with the issue about procfs.h while proting code from solaris to linux. so pleas let me know any difference between solaris and linux.
kshyap (1 Reply)
Discussion started by: kshyap
2. Shell Programming and Scripting
this is my first post on this Forum, glad to be here.
I'm trying to fix an .ods file. Yes, I had a backup, but it's also corrupted.
When opening the document I get this EM:
format error discovered in the file in sub-document content.xml at
So I... (3 Replies)
Discussion started by: jameslast
3. UNIX for Advanced & Expert Users
I can't get my head around a problem I have with a control file.
The file is to control a "Listener" of sorts that listens on a named pipe. A script kicks off the listener in the background and passes it a control file. In the file it sets the Status field to pending. It then waits... (3 Replies)
Discussion started by: steadyonabix
4. UNIX for Dummies Questions & Answers
I have a file on Sunos with permissions:
When I 'more' it...I get the message:
*** filename: directory ***
And it is acutally a directory. How come there is no 'd' shpwing on the file permission settings?
Thanks (2 Replies)
Discussion started by: Grueben
5. Shell Programming and Scripting
I would like to ask if someone know how to test a files if exist the file is a nfs mount ufsdump archive file..
i used the test operator -f -a h almost all test operator but i failed
|| echo "files doesn't exist && exit 1
the false file1 is working but... (0 Replies)
Discussion started by: jao_madn
6. Shell Programming and Scripting
I have written a bash shell script. In order to create a log file when I run the script, as well as print the output to the terminal, I call it in the following manner:
my_shell_script 2>&1 | tee my_log_fileThis seems to work well. However, I have put some statements in the script to... (2 Replies)
Discussion started by: msb65
7. Shell Programming and Scripting
I have a text file which i want to move to some remote directory...
when i use command prompt to ftp that textfile,.. after ftp if i check the file by using vi i can see many ^M with the starting and end of each line...
instead if i use grab and drop method to copy that... (5 Replies)
Discussion started by: smarty86
8. UNIX for Advanced & Expert Users
I need to convert a password protected excel file which will be in UNIX server to a comma separated file. For this I need to open the excel file in UNIX box but the UNIX box doesn't prompt for password instead it is opened in an encrypted manner.
I could manually ftp the excel file to local... (2 Replies)
Discussion started by: Devivish
9. UNIX for Dummies Questions & Answers
if test -z "$1"
then echo "you must give a filename or filepath"
else path=`dirname $1`
f_name =`basename $1`
cat $f_name $path >> index.txt
The only problem I am encountering with this is writing $path to index.txt
Keeps going gaga:
cat:... (1 Reply)
Discussion started by: Vintage_hegoog
I am trying to get a the process cpu usage from the /proc file recently, on the Solaris 5.10. But met some rookie issue which i need some help. for below program, compiler complains that pstatus_t is undefined, although both type are defined in the procfs.h.
#include <sys/procfs.h>... (4 Replies)
Discussion started by: sleepy_11