Sponsored Content
Top Forums Shell Programming and Scripting Fields in the Output of ls -ltr for a directory Post 303023178 by infernalhell on Wednesday 12th of September 2018 05:32:08 PM
Old 09-12-2018
Fields in the Output of ls -ltr for a directory

Could you please let me know what each of the output fields in ls -ltr for a directory imply.

Example :
drwxrwsr-x 4294967295 infamgr infagrp 2147549184 Sep 2 17:01 job

basically would want to know 4294967295 and 2147549184
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Extracting fields from an output 8-)

I am getting a variable as x=2006/01/18 now I have to extract each field from it. Like x1=2006, x2=01 and x3=18. Any idea how? Thanks a lot for help. Thanks CSaha (6 Replies)
Discussion started by: csaha
6 Replies

2. Shell Programming and Scripting

To get an output by combining fields from two different files

Hi guys, I couldn't find solution to this problem. If anyone knows please help me out. your guidance is highly appretiated. I have two files - FILE1 has the following 7 columns ( - has been added to make columns visible enough else columns are separated by single space) 155.34 - leg - 1... (8 Replies)
Discussion started by: smriti_shridhar
8 Replies

3. Shell Programming and Scripting

Cut 2 fields and write to a output file

Hi, I am writing a code where the file is a pipe delimited and I would need to extract the 2nd part of field2 if it is "ATTN", "C/O" or "%" and check to see if field9 is populated or not. If field9 is already populated then leave it as is but if field9 is not populated then take the 2nd part of... (3 Replies)
Discussion started by: msalam65
3 Replies

4. Shell Programming and Scripting

AWK Compare files, different fields, output

Hi All, Looking for a quick AWK script to output some differences between two files. FILE1 device1 1.1.1.1 PINGS device1 2.2.2.2 PINGS FILE2 2862 SITE1 device1-prod 1.1.1.1 icmp - 0 ... (4 Replies)
Discussion started by: stacky69
4 Replies

5. Shell Programming and Scripting

awk to compare diff output by fields

Diff output as follows: < AAA BBB CCC DDD EEE 123 > PPP QQQ RRR SSS TTT 111 > VVV WWW XXX YYY ZZZ 333 > AAA BBB CCC DDD EEE 124 How can i use awk to compare the last field to determine if the counter has increased, and need to ensure that the first 4 fields must have the same... (15 Replies)
Discussion started by: ux4me
15 Replies

6. Shell Programming and Scripting

compare 2 CSV fields from same diff output

Attached is a file called diff.txt It is the output from this command: diff -y --suppress-common-lines --width=5000 1.txt 2.txt > diff.txt I have also attached 1.txt and 2.txt for your convenience. Both 1.txt and 2.txt contain one very long CSV string. File 1.txt is a CSV dump of... (0 Replies)
Discussion started by: gvolpini
0 Replies

7. Shell Programming and Scripting

Get output of fields starting from 2nd line

Hi All, I am using the following command in Linux: sar -r 30 3 Linux 2.6.18-194.3.1.7.3.el5xen 02/07/2013 02:55:47 PM kbmemfree kbmemused %memused kbbuffers kbcached kbswpfree kbswpused %swpused kbswpcad 02:56:17 PM 128646024 22348920 14.80 230232 15575860 75497464 ... (4 Replies)
Discussion started by: a1_win
4 Replies

8. Red Hat

What fields we need to consider ntpq -p output?

In our environment we used to lot of events for ntp issues. I am unable to find the what needs to consider here. :( ntpq -p fields. remote refid st t when poll reach delay offset jitter ---------- Post updated at 05:13 AM ---------- Previous update was at 04:47 AM... (1 Reply)
Discussion started by: Naveen.6025
1 Replies

9. Shell Programming and Scripting

I have two commands “ls -h” and “ls -ltr”. How do i make sure “ls -ltr” is run after “ls -h” is suc

help me (2 Replies)
Discussion started by: sonu pandey
2 Replies

10. Shell Programming and Scripting

Match output fields agains two patterns

I need to print field and the next one if field matches 'patternA' and also print 'patternB' fields. echo "some output" | awk '{for(i=1;i<=NF;i++){if($i ~ /patternA/){print $i, $(i+1)}elif($i ~ /patternB/){print $i}}}' This code returnes me 'syntax error'. Pls advise how to do properly. (2 Replies)
Discussion started by: urello
2 Replies
mlib_ImageColorRGB2HSL(3MLIB)				    mediaLib Library Functions				     mlib_ImageColorRGB2HSL(3MLIB)

NAME
mlib_ImageColorRGB2HSL - RGB to HSL color conversion SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_ImageColorRGB2HSL(mlib_image *dst, const mlib_image *src); DESCRIPTION
The mlib_ImageColorRGB2HSL() function performs a conversion from red/green/blue to hue/saturation/lightness. The source and destination images must be three-channel images. It uses the following equations: V = max(R, G, B) Vmin = min(R, G, B) L = (V + Vmin)/2 S = (V - Vmin)/(V + Vmin) if L <= 1/2 S = (V - Vmin)/(2 - V - Vmin) if L > 1/2 H = (5.0 + (V - B)/(V - Vmin))/6 if R = V and G = Vmin H = (1.0 - (V - G)/(V - Vmin))/6 if R = V and B = Vmin H = (1.0 + (V - R)/(V - Vmin))/6 if G = V and B = Vmin H = (3.0 - (V - B)/(V - Vmin))/6 if G = V and R = Vmin H = (3.0 + (V - G)/(V - Vmin))/6 if B = V and R = Vmin H = (5.0 - (V - R)/(V - Vmin))/6 if B = V and G = Vmin H = 0.0 if R = G = B where 0 <= R, G, B, V, Vmin, L, S <= 1 and 0 <= H < 1. Assuming a pixel in the source image is (r, g, b) and its corresponding pixel in the destination image is (h, s, l), then for MLIB_BYTE images, the following applies: R = r/255 G = g/255 B = b/255 h = H*256 s = S*255 l = L*255 for MLIB_SHORT images, the following applies: R = (r + 32768)/65535 G = (g + 32768)/65535 B = (b + 32768)/65535 h = H*65536 - 32768 s = S*65535 - 32768 l = L*65535 - 32768 for MLIB_USHORT images, the following applies: R = r/65535 G = g/65535 B = b/65535 h = H*65536 s = S*65535 l = L*65535 and for MLIB_INT images, the following applies: R = (r + 2147483648)/4294967295 G = (g + 2147483648)/4294967295 B = (b + 2147483648)/4294967295 h = H*4294967296 - 2147483648 s = S*4294967295 - 2147483648 l = L*4294967295 - 2147483648 PARAMETERS
The function takes the following arguments: dst Pointer to destination image. src Pointer to source image. RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_ImageColorHSL2RGB(3MLIB), mlib_ImageColorHSL2RGB_Fp(3MLIB), mlib_ImageColorRGB2HSL_Fp(3MLIB), attributes(5) SunOS 5.10 10 Nov 2004 mlib_ImageColorRGB2HSL(3MLIB)
All times are GMT -4. The time now is 08:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy