Sponsored Content
Full Discussion: ls -l column headings
Top Forums UNIX for Dummies Questions & Answers ls -l column headings Post 302132367 by thoughts on Thursday 16th of August 2007 02:57:28 PM
Old 08-16-2007
ls -l column headings

I'm trying to see if there's a way to see column headings when I type the

ls -l command.

I know what some of the fields mean for example in the following listing:

Code:
total 136
drwxr-xr-x  2 root root  4096 Jun  5 15:16 bin
drwxr-xr-x  3 root root  4096 Jul  9 15:25 boot
drwxr-xr-x  9 root root  3240 Jul 17 20:08 dev
drwxr-xr-x 40 root root  4096 Aug 14 16:51 etc

the first column is permissions.

I don't know what the 2nd, 3rd and 4th column mean.

man ls , says "-l use a long listing format" but doesn't detail what's listed.

I searched everywhere, but couldn't find an answer to this question.

I appreciate any information on getting the headings to display.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sed or awk to convert text files with recurring headings to rows and colum

I have many text file reports generated by a Information Assurance tool that I need to get into a .CSV format or Excel tab delimited format. I want to use sed or awk to grab all the information in the sample text file below and create column headings:Risk ID, Risk Level, Category, Description, How... (5 Replies)
Discussion started by: Bjoeboo
5 Replies

2. AIX

split a filename and print to 2 different headings

I need help to split a filename 'a0crk_user:A0-B0123$#%test' into a0crk_user and A0-B0123 and print the output under 2 different columns namely User and Status. for eg. the output should like below: User Status ---- ------ a0crk_user A0-B0123 (3 Replies)
Discussion started by: mbak
3 Replies

3. Shell Programming and Scripting

Using sed (or similar) to rename variable headings

Hello, I'm rather new to the world of regular expressions and sed, though am excited by its possibilities. I have a particular task I'd like to achieve, and have googled the topic quite a bit. However, having found some codes that perform a task very similar to what I'd like to do, I can't for... (2 Replies)
Discussion started by: redseventyseven
2 Replies

4. Shell Programming and Scripting

Changing one column of delimited file column to fixed width column

Hi, Iam new to unix. I have one input file . Input file : ID1~Name1~Place1 ID2~Name2~Place2 ID3~Name3~Place3 I need output such that only first column should change to fixed width column of 15 characters of length. Output File: ID1<<12 spaces>>Name1~Place1 ID2<<12... (5 Replies)
Discussion started by: manneni prakash
5 Replies

5. UNIX for Dummies Questions & Answers

Help needed with adding column headings in syslog report

Hi all, I need your help in adding column headings in the below report. The headings I want are: Count - Host - Message Type The command used to create the report is as follows: for messages in `cat syslog_message_list.txt` do grep $messages syslog.`date +%d%m%y`.log | awk '{print $4 " " "... (4 Replies)
Discussion started by: wthomas
4 Replies

6. Shell Programming and Scripting

Match column 3 in file1 to column 1 in file 2 and replace with column 2 from file2

Match column 3 in file1 to column 1 in file 2 and replace with column 2 from file2 file 1 sample SNDK 80004C101 AT XLNX 983919101 BB NETL 64118B100 BS AMD 007903107 CC KLAC 482480100 DC TER 880770102 KATS ATHR 04743P108 KATS... (7 Replies)
Discussion started by: rydz00
7 Replies

7. UNIX for Dummies Questions & Answers

sort by keeping the headings intact?

Hi all, I have a file with 3 columns separated by space. Each column has a heading. I want to sort according to the values in the 2nd column (ascending order). Ex. Name rank direction goory 0.05 --+ laby 0.0006 --- namy 0.31 -+- ....etc. Output should be Name rank direction laby... (3 Replies)
Discussion started by: Unilearn
3 Replies

8. Shell Programming and Scripting

Remove the headings

HI I am executing faloowing commands. mr batch_1 > my_temp.txt ; mr batch_2 >>my_temp.txt; mr batch_3 >> my_temp.txt; mr batch_4 >> my_temp.txt; and the out put file is as this cat my_temp.txt Machine Name Max Load Current Load Factor O/S Status... (3 Replies)
Discussion started by: ptappeta
3 Replies

9. Shell Programming and Scripting

Difference of the same column when two other column matches and one column differs less than 1 hour

This is my input file : # cat list 20130430121600, cucm, location,76,2 20130430121600,cucm1,location1,76,4 20130430122000,cucm,location,80,8 20130430122000,cucm1,location1,90,8 20130430140000,cucm1,location1,87,11 20130430140000, cucm,location,67,9 This is the required output ... (1 Reply)
Discussion started by: Lakshmikumari
1 Replies

10. Shell Programming and Scripting

Help with awk command on report with headings

Hi all, I have a report that looks like this: ------------------------------------------------- -- AOC - XXXXXXX -- ------------------------------------------------- Thread Last Sequence Received Last Sequence Applied Difference ----------... (12 Replies)
Discussion started by: cougartrace
12 Replies
nettop(1)						    BSD General Commands Manual 						 nettop(1)

NAME
nettop -- Display updated information about the network SYNOPSIS
nettop [-ncd] [-m <mode>] [-t <type>] [-s <seconds>] [-p <process-name|pid>] [-n] [-l <samples>] [-L <samples>] [-P] [-j|k|J <column-name[,column-name]...>] DESCRIPTION
The nettop program displays a list of sockets or routes. The counts for network structures are updated periodically. While the program is running the following keys may be used: q Quit Up Arrow Scroll up Down Arrow Scroll down Right Arrow Scroll Right Left Arrow Scroll Left d Toggle delta output r Redraw screen x Toggle human readable numbers e Expand all c Collapse all h Bring up the help menu j Bring up the column selection menu. In this mode you can enable/disable columns and change their order. p Bring up the process selection menu. In this mode you can enable/disable processes for display. l Change to logging mode, redisplay the current data, and quit. OPTIONS
A list of flags and their descriptions: -m <mode> Specify the mode. By default, nettop will monitor TCP and UDP sockets. The following modes are supported: tcp Only TCP sockets will be monitored udp Only UDP sockets will be monitored route Instead of sockets, the routing table will be monitored -t <type> Specify the type of interface. By default, all interfaces will be monitored. Multiple interface types may be specified. The fol- lowing types are supported: wifi WiFi interfaces wired Wired interfaces loopback Loopback interfaces awdl Apple Wireless Direct Link interfaces expensive Interfaces marked as "expensive", for example via hotspot undefined Cases where the underlying socket is not associated with an interface external The combination of all defined non-loopback interfaces. -n Disable address to name resolution -c Less intensive use of the CPU - draws less often -d Delta mode -x Extended display of numbers instead of human readable suffixes such as MiB -P Display per-process summary only, skipping details of open connections. This is equivalent to selecting "Collapse All" in the interactive menu. -s <delay> Set the delay between updates to <delay> seconds. The default delay between updates is 1 second. -l <samples> Use logging mode and display <samples> samples, even if standard output is a terminal. 0 is treated as infinity. Rather than redisplaying, output is periodically printed in raw form. -L <samples> Use logging mode and display <samples> samples, even if standard output is a terminal. Output will be in comma-separated val- ues (CSV) form. 0 is treated as infinity. Rather than redisplaying, output is periodically printed in raw form. -p <process-name|pid> Select a process for display. A numeric argument identifies a process by its pid. Alternatively a process name may be given, in which case all processes with that name will be displayed. The name must be an exact match for the name displayed by nettop, which may require that the name be truncated, for example launchd.develop instead of launchd.development. The option may be repeated to select multiple processes. -j <column name list> Specifiy a list of column headings to be included in the display. List items are separated by commas. For example, -j uuid,rtt_var -J <column name list> Specifiy a list of column headings that are to be the only ones included in the display. List items are separated by commas. For example, -j uuid,rtt_var. The ordering is currently as per nettop default, but may change in future revisions to match the order of the supplied column names. For future compatibility it is recommended that any names supplied here are given an order that matches the output. -k <column name list> Specifiy a list of column headings to be excluded from the display. List items are separated by commas. For example, -k rcv- size,rtt_avg Darwin May 31, 2019 Darwin
All times are GMT -4. The time now is 11:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy