04-27-2009
check the man pages of umask
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I want to know how the file permision should change to 755 automatically once the file is created. At the moment I do it explicitely by changing the permission mode to 755 using chmod command.
The default permission for a new file in my system is 644 (-rw-r--r--).
Thanks
Saumya (6 Replies)
Discussion started by: sommyp
6 Replies
2. UNIX for Dummies Questions & Answers
All,
As first i searched in google but no result . Also i searched in the forum as well.
I am having a directory with permision drwxrwsr-x
i want to create a new directory with same permision . I know S denotes stick bit i tried to creat a directory and modify by chmod as
chmod... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
3. UNIX for Dummies Questions & Answers
All,
I am having a directory as
drwxrwsr-x 3 intermec intermec 10240 Jan 8 09:07 intermec
inside the directory . the files are like
cd
-rw-r----- 1 intrmc01 intermec 5226 Dec 2 15:03 AST07356.txt
-rw-r----- 1 intrmc01 intermec 5025 Dec 2 12:51... (4 Replies)
Discussion started by: arunkumar_mca
4 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
I am having file permision as
drwxrwsr_x
I kwo for deleting a file in the diretory i need w permsion as well ..
Say if i am having the permsion as
drwxrwsrwx - wil any one can delete the files in the directory ..
And one more question what is the s doing there ..... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
5. UNIX for Dummies Questions & Answers
I hava a windows NTFS partition on fedora15. The partitions auto-mounts to /media/Data ever starting of KDE.
/dev/sda5 on /media/Data type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
But I cant change the file permission in this... (1 Reply)
Discussion started by: vistastar
1 Replies
6. Shell Programming and Scripting
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies
7. Shell Programming and Scripting
Hi,
I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file.
File1 - file2 = file3
wc -l file1.txt
58112
wc -l file2.txt
55260
head -5 file1.txt
101214200123
101214700300
101250030067
101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies
8. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
it(8) System Manager's Manual it(8)
NAME
it - configure a system after installation
SYNOPSIS
/sbin/it
DESCRIPTION
The it program executes scripts before transferring control of the system to the user, typically before the first user logs in. The it
program executes programs that collect information such as system name, passwords, timezone, and current date.
A system can be in a run level at any given time; each run level has a specific group of processes that run at that level. The init program
operates in one of four run levels: 0, s, 2, or 3. The run level changes when init is invoked by a privileged user. The it program is run
from /etc/inittab whenever the system is booted or rebooted, or when a level transition occurs for some other reason, such as within init3.
The it program first determines which run level the system is coming up under. Next it turns on shared libraries and swap and then searches
for any /sbin/it.d/run-level directories, where run-level names a system run level; for example, 2.d, 3.d, 23.d, and so forth. If any such
directories exist, it collects the names of all files in those directories. These files are typically links to files in the /sbin/it.d/bin
directory and are created beforehand by itruns(8). After collecting the file names, it sorts them, eliminates duplicate references, orders
the names as specified by the data file /sbin/it.d/data/options.mask, executes the files, and finally removes the files it executed. After
all the files collected from the run level directories have been handled, it exits.
The /sbin/it.d/data/options.mask file contains a single line with a list of file names separated by colons. The it command executes col-
lected files in the order in which they appear from left to right in the options.mask file. Programs not listed in the options.mask file
are executed after those defined in options.mask. These "unspecified" programs are run in the order into which they were initially sorted;
that order is controlled by the LC_COLLATE environmental variable and the specifications in the /usr/lib/nls/loc/locale files.
FILES
Specifies execution priorities of files to be run by it Files to be linked by itruns(8) for execution by it
SEE ALSO
Commands: init(8), itruns(8), rc0(8), rc2(8), rc3(8), who(1)
it(8)