9 More Discussions You Might Find Interesting
1. Programming
Hi All,
I'm looking for JAVA code to create file in Linux with specific permission
File should be created and saved in Linux in this path \opt\sys\doc by Java with this permission 764
Anyone can help to provide this Java code (3 Replies)
Discussion started by: AbuAliiiiiiiiii
3 Replies
2. Shell Programming and Scripting
Hello,
I am looking for a UNIX shell script which can help me for access restriction.
1) /home/ram, there are number file with .txt extension, which should be only owned "ram" user.
like as below
ls -lrt *.txt
-rwx------ 1 ram dba 11 Jan 4 2015 PASS1.txt
-rwx------ 1 ram dba 10 Jan 4... (8 Replies)
Discussion started by: mr.trilok
8 Replies
3. Shell Programming and Scripting
Hi,
I want to create a log file for a running ksh , and the log file absolute path I want to give in ksh itself.
To elaborate this - Say I have a ksh - timer.ksh and I want to create a log timer_log.log when I run, to trace this. I am aware of the fact that this can be done using redirection... (4 Replies)
Discussion started by: vinay4889
4 Replies
4. UNIX for Dummies Questions & Answers
Hi Guys,
I want to know is there any method to create a file having 777 permission. I am aware of umask, since it is only giving max. 666 permission for files this is not fulfilling my needs.
Thanks in advance
---------- Post updated at 12:49 AM ---------- Previous update was at 12:31... (10 Replies)
Discussion started by: sanoop
10 Replies
5. Shell Programming and Scripting
In my script, I am creating a file ----> then writting one line (i.e. Timestamp) ----> then FTP'ing. The same script can be executed by many other users.
While other users executing this script, they couldn't Over write this one line (i.e. Timestamp)
My expectation
So I wanted to create a... (2 Replies)
Discussion started by: sbmk_design
2 Replies
6. Shell Programming and Scripting
Hi,
I have a script with following file permission on box.
-rwxr-xr-x 1 root system 15347 Aug 14 15:08 b_reboot.ksh
Without calculating or watching at -rwxr-xr-x (permission's) of this above mentioned file. I would like to get the file permission assigned to a file.
Basically... (7 Replies)
Discussion started by: ajilesh
7 Replies
7. Shell Programming and Scripting
I have log files that contain data generated every 5 minutes.
I want to extract data from the log files to another log file
In each 5 minute series
<log4j:event logger="VistaMonitor" timestamp="1200688175425" time="Fri Jan 18 15:29:35 EST 2008"
Generated twice (I only to get the date... (2 Replies)
Discussion started by: CathyPro
2 Replies
8. Shell Programming and Scripting
how can i write content of a variable to a file?
how can i read standard output into a variable? (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies
9. Shell Programming and Scripting
Hello all -
I have two systems.
1) Linux box running Redhat 8.0
2) Tru64 box running V4.0f
From the Linux box I am remotely mounting a directory (nfs mount) that resides on the Tru64 machine.
The directory that is nfs mounted contains two subdirectories:
my_dir1
my_dir2
I want... (3 Replies)
Discussion started by: Heron
3 Replies