Sponsored Content
Top Forums UNIX for Advanced & Expert Users Need to view all the attributes for a file/node Post 7883 by rwb1959 on Tuesday 2nd of October 2001 11:10:49 PM
Old 10-03-2001
First, UNIX inodes do not store file creation
date/time information. Use the stat(1) command
to get inode information.

The "stat" command will display...

Code:
$ stat hello
  File: "hello"
  Size: 11751        Filetype: Regular File
  Mode: (0775/-rwxrwxr-x)         Uid: (  501/bbarrett)  Gid: (  501/bbarrett)
Device:  3,65  Inode: 800032    Links: 1    
Access: Sun Sep 16 11:31:06 2001(00016.11:37:42)
Modify: Sun Sep 16 11:30:51 2001(00016.11:37:57)
Change: Sun Sep 16 11:30:51 2001(00016.11:37:57)

...that's all you get on UNIX Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

rcp and file attributes

Good day Does anyone have an idea on how I can rcp a file together with its attributes. owner,group, permissions ? Regards J (2 Replies)
Discussion started by: jhansrod
2 Replies

2. Shell Programming and Scripting

file attributes

how do we set file attributes at shell prompt (2 Replies)
Discussion started by: hytechpro
2 Replies

3. Shell Programming and Scripting

file attributes

How to retrieve file attributes in a sh/bash script (modification time, access time, size, etc.)? (1 Reply)
Discussion started by: Hitori
1 Replies

4. Shell Programming and Scripting

Assigning file attributes to variables

Hi, I'm trying to assign the permissions, owner and group of a file to seperate variables, but using ls -l filename | awk '{print $1 "\t" $3 "\t" $4}' gives the owner as tom.ja instead of tom.james Is there any way to expand it so i get the full name, or is there an easier way to get them... (5 Replies)
Discussion started by: olimiles
5 Replies

5. UNIX Desktop Questions & Answers

file attributes and exception

hi, I want to know the date the file was created or modified. I can do this using ls, ll -ltr etc... I want to do this in a function (so If the file date is older then a week I can report it), is there a way? another thing... In sql function, I can catch exceptions, is there a way to do this... (1 Reply)
Discussion started by: krem
1 Replies

6. Shell Programming and Scripting

Generate the File Attributes in the system

Hello Folks, I want to generate the file attributes of the system and needs to write into the text file. I am running the command "ls -Rl" to get the details of the files from the current directory. I am getting the output. ./linux-2.6.29.4/arch: total 10 drwxr-xr-x 9 1138 5000 ... (3 Replies)
Discussion started by: saurabhchokshi
3 Replies

7. Solaris

Split file based on multi valued attributes

Hi, I am new to shell scripting. I have a file which has multi valued attributes. I wanted to split it so that there will be no muliti valued attributes. Example file: "attr1","amv1;amv2;3","bmv1;bmv2","abc","abc1;abc2;abc3" Plz note this is CSV file and ; is the delimiter for multi valued... (7 Replies)
Discussion started by: snukala
7 Replies

8. HP-UX

Mount FIle systems from node-1 onto node-2

Hi, We have HP UX service guard cluster on OS 11.23. Recently 40+ LUNs presented to both nodes by SAN team but I was asked to mount them on only one node. I created required VGs/LVs, created VxFS and mounted all of them and they are working fine. Now client requested those FS on 2nd node as... (4 Replies)
Discussion started by: prvnrk
4 Replies

9. UNIX for Dummies Questions & Answers

How to remove attributes of a file?

Hello, I opened a file by accident (with a java program, which has been uninstalled!) and from then on, all the file with .fasta extension has been changed with an icon (So annoying!!) and the file attributes has been changed with the property: Type: application/x-wine-extension-fasta type... (6 Replies)
Discussion started by: yifangt
6 Replies

10. UNIX for Beginners Questions & Answers

File attributes ????

I'm trying to sort out the charing of a problem folder, in the 'ls -l' list is shows as: d???????????? ? ? ? ? ? Pi-Share PiShare is the name of the directory, all the ??s make no sense to me at all, and no user (there are only two, pi and root) can make any changes to it.... (4 Replies)
Discussion started by: MuntyScrunt
4 Replies
CAS(4)							   BSD Kernel Interfaces Manual 						    CAS(4)

NAME
cas -- Sun Cassini/Cassini+ and National Semiconductor DP83065 Saturn Gigabit Ethernet driver SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file: device miibus device cas Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): if_cas_load="YES" DESCRIPTION
The cas driver provides support for the Sun Cassini/Cassini+ and National Semiconductor DP83065 Saturn Gigabit Ethernet controllers found on- board in Sun UltraSPARC machines and as add-on cards. All controllers supported by the cas driver have TCP/UDP checksum offload capability for both receive and transmit, support for the reception and transmission of extended frames for vlan(4) and an interrupt coalescing/moderation mechanism as well as a 512-bit multicast hash filter. The cas driver also supports Jumbo Frames (up to 9022 bytes), which can be configured via the interface MTU setting. Selecting an MTU larger than 1500 bytes with the ifconfig(8) utility configures the adapter to receive and transmit Jumbo Frames. HARDWARE
The chips supported by the cas driver are: o National Semiconductor DP83065 Saturn Gigabit Ethernet o Sun Cassini Gigabit Ethernet o Sun Cassini+ Gigabit Ethernet The following add-on cards are known to work with the cas driver at this time: o Sun GigaSwift Ethernet 1.0 MMF (Cassini Kuheen) (part no. 501-5524) o Sun GigaSwift Ethernet 1.0 UTP (Cassini) (part no. 501-5902) o Sun GigaSwift Ethernet UTP (GCS) (part no. 501-6719) o Sun Quad GigaSwift Ethernet UTP (QGE) (part no. 501-6522) o Sun Quad GigaSwift Ethernet PCI-X (QGE-X) (part no. 501-6738) NOTES
On sparc64 the cas driver respects the local-mac-address? system configuration variable which can be set in the Open Firmware boot monitor using the setenv command or by eeprom(8). If set to ``false'' (the default), the cas driver will use the system's default MAC address for all of its devices. If set to ``true'', the unique MAC address of each interface is used if present rather than the system's default MAC address. Supported interfaces having their own MAC address include on-board versions on boards equipped with more than one Ethernet interface and all add-on cards. SEE ALSO
altq(4), miibus(4), netintro(4), vlan(4), eeprom(8), ifconfig(8) HISTORY
The cas device driver appeared in FreeBSD 8.0 and FreeBSD 7.3. It is named after the cas driver which first appeared in OpenBSD 4.1 and sup- ports the same set of controllers but is otherwise unrelated. AUTHORS
The cas driver was written by Marius Strobl <marius@FreeBSD.org> based on the gem(4) driver. BSD
March 24, 2012 BSD
All times are GMT -4. The time now is 08:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy