Sponsored Content
Top Forums Shell Programming and Scripting How to create file in ksh scripting with permission(rw-rw-rw) Post 302258815 by mansa on Sunday 16th of November 2008 06:16:33 AM
Old 11-16-2008
How to create file in ksh scripting with permission(rw-rw-rw)

Hi,
Please provide your inputs..
Thanks in Advance,
Mansa
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Scripting file permission problems...

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

2. Shell Programming and Scripting

file handling with ksh 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

3. Shell Programming and Scripting

need help ksh scripting for log file

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

4. Shell Programming and Scripting

Gather File permission during scripting on unix as numbers.

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

5. Shell Programming and Scripting

How to create a file with full permission in unix script

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. UNIX for Dummies Questions & Answers

How to create a file with 777 permission.?

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

7. Shell Programming and Scripting

Create Log File in ksh itself

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

8. Shell Programming and Scripting

Need a script to create file permission change restriction

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

9. Programming

JAVA code to create file in Linux with specific permission

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
CMPCI(4)						   BSD Kernel Interfaces Manual 						  CMPCI(4)

NAME
cmpci -- C-Media CMI8x38 audio device driver SYNOPSIS
cmpci* at pci? dev ? function ? audio* at audiobus? mpu* at cmpci? opl* at cmpci? flags 1 DESCRIPTION
The cmpci device driver supports C-Media CMI8x38 based sound cards. The device has SPDIF input/output interfaces, 16bit CODEC with analog mixer, OPL3 FM Synthesizer, and MPU401 compatible MIDI I/O port inter- face. MIXER DEVICE
The mixer device of cmpci driver can be accessed via mixerctl(1) command. The complex structure is analyzed as follows. SPDIF in ---------------------- #1(coax)->|spdin1 | R ----------------------- #2(opt)-->|spdin2 spdif.input |--*->--|spdin spdif.output |--> SPDIF -->|spdout | | -->|playback | output | ---------------------- | | ----------------------- --------------------<------+-* ---------<-------------------+-+---------------------------------- | ------------------------ | | ----------------------- | -->|legacy spdif.output. |--+-*-->|spdout | | -->|wave playback | ----->|spdin spdif.monitor |---- | | ------------------------ NC-|off | | | ---------<-- spdif ----------------------- | | -------+------- dac ------------ ----------------- v | wave -->|playback.mode|---->|inputs.dac|-*->|inputs.dac.mute|->----- | playback --------------- ------------ R ----------------- | + | | ----------------- --------------------- |mix| | FM synthesizer -->|inputs.fmsynth |--*->|inputs.fmsynth.mute|-->----- | ----------------- R --------------------- *->-- CD ---------------------- --------------------------- v LINE-IN ->|inputs.{cd,line,aux}|-*>|inputs.{cd,line,aux}.mute|->----- AUX ---------------------- R --------------------------- | | ------------------ | | PC-SPK -->| inputs.speaker |----------------------------------->| + | ------------------ | | ------------------- ------------ ----------------- |mix| MIC --*-->|inputs.mic.preamp|->|inputs.mic|->|inputs.mic.mute|->| | | ------------------- ------------ ----------------- ----- | ------------ ----------------- | --->|record.mic|-->| | v ------------ | record.source |-->to ----------- *R-->| (select, mix) | recording |outputs.*|--> ----------------- ----------- SPK (front) Note the 2nd SPDIF input exists only on CMI8738/PCI-6ch versions. MIXER EXAMPLES
Here are examples about wave playback and SPDIF input/output ports. Playback to speaker, SPDIF input to SPDIF output mixerctl -w playback.mode=dac spdif.output=spdin spdif.monitor=off Playback to SPDIF output, SPDIF input to speaker mixerctl -w playback.mode=spdif spdif.output=playback spdif.output.playback=wave spdif.monitor=spdin SPDIF input to both SPDIF output and speaker mixerctl -w spdif.output=spdin spdif.monitor=spdin Playback to both SPDIF output and speaker mixerctl -w playback.mode=spdif spdif.output=playback spdif.output.playback=wave spdif.monitor=spdout Mix playback and SPDIF input to speaker mixerctl -w playback.mode=dac spdif.monitor=spdin SEE ALSO
mixerctl(1), audio(4), midi(4), mpu(4), opl(4), pci(4) HISTORY
The cmpci device driver appeared in NetBSD 1.5. BUGS
4ch/6ch playback is not yet available. Joystick port is not supported. spdif.output.playback=legacy does not seem to work properly. BSD
June 22, 2005 BSD
All times are GMT -4. The time now is 05:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy