Sponsored Content
Full Discussion: View file flags
Top Forums UNIX for Beginners Questions & Answers View file flags Post 302993082 by ipfreak on Monday 6th of March 2017 04:22:21 PM
Old 03-06-2017
View file flags

hello:

how could i view the file's flags? "ls -loa" doesn't seem to do the trick:

Code:
root@giraffe:/etc # ls -alo
total 820
drwxr-xr-x  23 root  wheel     -  2048 Oct 23 19:48 .
drwxr-xr-x  19 root  wheel     -  1024 Nov 16 15:01 ..
drwxr-xr-x   2 root  wheel     -   512 Nov 11  2014 X11
lrwxr-xr-x   1 root  wheel     -    12 Nov 11  2014 aliases -> mail/aliases
-rw-r--r--   1 root  wheel     -   215 Nov 11  2014 amd.map
-rw-r--r--   1 root  wheel     -  1240 Nov 11  2014 apmd.conf
-rw-r--r--   1 root  wheel     -   169 Nov 11  2014 auto_master
drwxr-xr-x   2 root  wheel     -   512 Nov 11  2014 autofs
drwxr-xr-x   2 root  wheel     -   512 Nov 11  2014 bluetooth
-rw-r--r--   1 root  wheel     -   730 Nov 11  2014 crontab
-rw-r--r--   1 root  wheel     -   113 Nov 11  2014 csh.cshrc
-rw-r--r--   1 root  wheel     -   485 Nov 11  2014 csh.login
-rw-r--r--   1 root  wheel     -   115 Nov 11  2014 csh.logout
-rw-r--r--   1 root  wheel     -   567 Nov 11  2014 ddb.conf
drwxr-xr-x   2 root  wheel     -   512 Mar 14  2015 defaults
drwxr-xr-x   2 root  wheel     -   512 Nov 11  2014 devd

_dave
Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules when displaying sample input, sample output, and code segments.

Last edited by Don Cragun; 03-06-2017 at 05:48 PM.. Reason: Add CODE tags.
 

10 More Discussions You Might Find Interesting

1. Programming

how to view a core dump file

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

How to view the contents of .gz file without extracting the file?

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

To view end of file

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

How do I view file?

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

View ouput as a file

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

not able to view the file

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

How to view .dat file?

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

Need script to remove GCOV flags from Qt project file

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

how to view unix file ?

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?

Moving from Desktop View to Mobile View

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
QWheelEvent(3qt)														  QWheelEvent(3qt)

NAME
QWheelEvent - Parameters that describe a wheel event SYNOPSIS
#include <qevent.h> Inherits QEvent. Public Members QWheelEvent ( const QPoint & pos, int delta, int state, Orientation orient = Vertical ) QWheelEvent ( const QPoint & pos, const QPoint & globalPos, int delta, int state, Orientation orient = Vertical ) int delta () const const QPoint & pos () const const QPoint & globalPos () const int x () const int y () const int globalX () const int globalY () const ButtonState state () const Orientation orientation () const bool isAccepted () const void accept () void ignore () DESCRIPTION
The QWheelEvent class contains parameters that describe a wheel event. Wheel events occur when a mouse wheel is turned while the widget has focus. The rotation distance is provided by delta(). The functions pos() and globalPos() return the mouse pointer location at the time of the event. A wheel event contains a special accept flag that indicates whether the receiver wants the event. You should call QWheelEvent::accept() if you handle the wheel event; otherwise it will be sent to the parent widget. The QWidget::setEnable() function can be used to enable or disable mouse and keyboard events for a widget. The event handler QWidget::wheelEvent() receives wheel events. See also QMouseEvent, QWidget::grabMouse(), and Event Classes. MEMBER FUNCTION DOCUMENTATION
QWheelEvent::QWheelEvent ( const QPoint & pos, int delta, int state, Orientation orient = Vertical ) Constructs a wheel event object. The globalPos() is initialized to QCursor::pos(), i.e. pos, which is usually (but not always) right. Use the other constructor if you need to specify the global position explicitly. delta contains the rotation distance, state holds the keyboard modifier flags at the time of the event and orient holds the wheel's orientation. See also pos(), delta(), and state(). QWheelEvent::QWheelEvent ( const QPoint & pos, const QPoint & globalPos, int delta, int state, Orientation orient = Vertical ) Constructs a wheel event object. The position when the event occurred is given in pos and globalPos. delta contains the rotation distance, state holds the keyboard modifier flags at the time of the event and orient holds the wheel's orientation. See also pos(), globalPos(), delta(), and state(). void QWheelEvent::accept () Sets the accept flag of the wheel event object. Setting the accept parameter indicates that the receiver of the event wants the wheel event. Unwanted wheel events are sent to the parent widget. The accept flag is set by default. See also ignore(). int QWheelEvent::delta () const Returns the distance that the wheel is rotated expressed in multiples or divisions of WHEEL_DELTA, which is currently set at 120. A positive value indicates that the wheel was rotated forwards away from the user; a negative value indicates that the wheel was rotated backwards toward the user. The WHEEL_DELTA constant was set to 120 by the wheel mouse vendors to allow building finer-resolution wheels in the future, including perhaps a freely rotating wheel with no notches. The expectation is that such a device would send more messages per rotation but with a smaller value in each message. const QPoint &; QWheelEvent::globalPos () const Returns the global position of the mouse pointer at the time of the event. This is important on asynchronous window systems such as X11; whenever you move your widgets around in response to mouse events, globalPos() can differ a lot from the current pointer position QCursor::pos(). See also globalX() and globalY(). int QWheelEvent::globalX () const Returns the global x-position of the mouse pointer at the time of the event. See also globalY() and globalPos(). int QWheelEvent::globalY () const Returns the global y-position of the mouse pointer at the time of the event. See also globalX() and globalPos(). void QWheelEvent::ignore () Clears the accept flag parameter of the wheel event object. Clearing the accept parameter indicates that the event receiver does not want the wheel event. Unwanted wheel events are sent to the parent widget. The accept flag is set by default. See also accept(). bool QWheelEvent::isAccepted () const Returns TRUE if the receiver of the event handles the wheel event; otherwise returns FALSE. Orientation QWheelEvent::orientation () const Returns the wheel's orientation. const QPoint &; QWheelEvent::pos () const Returns the position of the mouse pointer, relative to the widget that received the event. If you move your widgets around in response to mouse events, use globalPos() instead of this function. See also x(), y(), and globalPos(). ButtonState QWheelEvent::state () const Returns the keyboard modifier flags of the event. The returned value is ShiftButton, ControlButton, and AltButton OR'ed together. int QWheelEvent::x () const Returns the x-position of the mouse pointer, relative to the widget that received the event. See also y() and pos(). int QWheelEvent::y () const Returns the y-position of the mouse pointer, relative to the widget that received the event. See also x() and pos(). SEE ALSO
http://doc.trolltech.com/qwheelevent.html http://www.trolltech.com/faq/tech.html COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. AUTHOR
Generated automatically from the source code. BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qwheelevent.3qt) and the Qt version (3.1.1). Trolltech AS 9 December 2002 QWheelEvent(3qt)
All times are GMT -4. The time now is 12:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy