03-06-2017
Quote:
Originally Posted by
Don Cragun
I repeat:
hi don:
here it is:
chflags(1)
i want to see what kind of flags those files are set (by default).
10 More Discussions You Might Find Interesting
1. Programming
by what name does a core dump file stored???
like i wrote a test code:
//dump.c
main()
{
char *p=NULL;
printf("%s",p);
}
of course the above code will produce a segmentation fault. but i cant see any file named core in my CWD. am using SUN0S 5.9 (6 Replies)
Discussion started by: vikashtulsiyan
6 Replies
2. Shell Programming and Scripting
Hi All,
I have several .gz files and i need to see the contents of these file, without extracting these file. If i extract these file the space will be full so. I need to see the contents and parse the contents to a script to extract data from these.
Please let me know if you need any more... (10 Replies)
Discussion started by: amitkhiare
10 Replies
3. UNIX for Dummies Questions & Answers
I have a large file of about 2500 lines.
I want to see last few lines.
any command. please help. (1 Reply)
Discussion started by: manish.s
1 Replies
4. Solaris
I am trying to view the files in /etc/security/audit/SERVERNAME/files, but when I gunzip them and then do a cat I get a bunch of garbage with some stuff that makes sense. I need to view this file without having all the garbage. I tried to cat it and vi it without any luck. Can someone show me an... (4 Replies)
Discussion started by: jastanle84
4 Replies
5. Shell Programming and Scripting
Hi all ,
I have a view in teradata , the ouput of that view have to be stored as a file with delimitere as '|'.Is there any possibility of doing this in unix ?
Thanks in advance ,
Vinoth (6 Replies)
Discussion started by: vino.paal
6 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I am experiencing a strange and serious issue.
I can see, a file exist there inside a directory
while doing cat i can see the file exists, but while trying to view that its saying NO such File or Directory.
(ipbala01)/env/balast7/app/working/batch_loader/data/system_2/input>ll
total 12... (8 Replies)
Discussion started by: gotam
8 Replies
7. Red Hat
What is the command that can be used to open or view the .dat file in linux?
Unable to read the contents of .dat file. (7 Replies)
Discussion started by: Rupaa
7 Replies
8. Shell Programming and Scripting
Hi,
I have the following gcov compilation flags in all the QT source code project (*.pro) files.
CONFIG(gcov) {
LIBS += -lgcov
QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage
}
Now, I want to remove these flags off my files. Please help me with a script to... (1 Reply)
Discussion started by: royalibrahim
1 Replies
9. Shell Programming and Scripting
Hi to all,
1- I'm trying to open a certain file in unix with the tool KEA!
2- i get to the correct folder with the CD command
3- Once in the correct directory i try the following unix command:
vi NameOfFile.Z
4- Yes those files finish with a .Z
5 - I get something in the KEA!... (3 Replies)
Discussion started by: Sanchoniathon
3 Replies
10. What is on Your Mind?
See attached video for a demo on how to move back and forth from the desktop view to the mobile view.
Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on.
Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies
CHFLAGS(1) General Commands Manual CHFLAGS(1)
NAME
chflags - change file flags
SYNOPSIS
chflags [-R] [-f]flags file ...
DESCRIPTION
The chflags utility modifies the file flags of the listed files as specified by the flags operand.
The options are as follows:
-R Change the file flags for the file hierarchies rooted in the files instead of just the files themselves.
-f chflags will not complain if it fails to change the flags on a file.
Flags are a comma separated list of keywords. The following keywords are currently defined:
arch No effect. This bit is defined and will be set/cleared as requested but nothing in the system makes use of it yet.
dump Set the dump flag
sappnd Set the system append-only flag (super-user only)
schg Set the system immutable flag (super-user only)
uappnd Set the user append-only flag (owner or super-user only)
uchg Set the user immutable flag (owner or super-user only)
Putting the letters no before an option causes the flag to be turned off. For example:
nodump the file should never be dumped
Symbolic links do not have flags and are silently ignored by chflags. When the -R option is given and symbolic links are encountered they
are not traversed. This is the same behaviour as chmod(1).
The chflags utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
chflags(2), stat(2), symlink(7)
4th Berkeley Distribution November 28, 1994 CHFLAGS(1)