List linked files


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers List linked files
# 1  
Old 12-01-2009
List linked files

A perl script that displays the list of files which have multiple links..!
ls -l shows number of links in a field.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

How to reverse a linked list by traversing only once.?

Program to reverse a linked list by traversing only once. (1 Reply)
Discussion started by: VSSajjan
1 Replies

2. Programming

How to delete the last node in a linked list.?

How to delete the last node in a single linked list given only the pointer to last node ? Head node will not be given. (5 Replies)
Discussion started by: VSSajjan
5 Replies

3. Programming

Help with linked list.

#include<stdio.h> #include<stdlib.h> struct LinkedList { int val; struct LinkedList *next; }node; /*Creating a structure variable*/ typedef struct LinkedList Node; Node *start = NULL; int create(int i) { Node *temp = NULL; if (start == NULL) ... (5 Replies)
Discussion started by: prinsh
5 Replies

4. UNIX for Advanced & Expert Users

Unix linked-list placement

Hi, I am programming in kernel, and I want to use a double linked list that holds infos that every process could access and modify THIS list. So, I suppose it is a 'global' variable since every process(thread) can reach it, I am wondering where to put it? by changing some of the kernel files? (1 Reply)
Discussion started by: louisTan
1 Replies

5. Programming

How to check if something exists in linked list in C?

i have a linked list set up like typedef struct client_list { char *client_name; int client_socket_fd; struct client_list *next; } client; client *client_list=NULL; before adding to the list i check if it already exists, only if it does not then i add if (client_list==NULL... (1 Reply)
Discussion started by: omega666
1 Replies

6. Programming

Help with linked list in C

i have this code typedef struct client_list { char *client_name; struct client_list * next; int client_socket_fd; } client; client *current, *head; head = NULL; char *h="test"; add_client(current, h, head, &client_socket_fd); ... (24 Replies)
Discussion started by: omega666
24 Replies

7. Programming

I need C++ Code for single linked list

I need C++ Code for single linked list With operations as 1)insert at any position 2)delete any 3)change the data of any position (2 Replies)
Discussion started by: girija
2 Replies

8. Programming

shared memory with linked list??

is this possible, if so plz please share with me.. Correct English please, not Cyber-/Leetspeak (11 Replies)
Discussion started by: vijay_manpage
11 Replies

9. Shell Programming and Scripting

How to retrieve all the linked script files/ctl files/sql files?

Hi I am going to migrate our datawarehouse system from HP Tru 64 Unix to the Red Hat Linux. Inside the box, it is running around 40 cron jobs; inside each cron job, it is calling other shell script files, and the shell script files may again call other shell script files or ctl files(for... (1 Reply)
Discussion started by: franksubramania
1 Replies

10. Programming

Reverse single linked list

Can any one help me in reversing the single linked list and at the same time i want to print the reversed links. (2 Replies)
Discussion started by: dhanamurthy
2 Replies
Login or Register to Ask a Question
DU(1)							    BSD General Commands Manual 						     DU(1)

NAME
du -- display disk usage statistics SYNOPSIS
du [-H | -L | -P] [-a | -d depth | -s] [-cghkmnrx] [file ...] DESCRIPTION
The du utility displays the file system block usage for each file argument and for each directory in the file hierarchy rooted in each direc- tory argument. If no file is specified, the block usage of the hierarchy rooted in the current directory is displayed. The options are as follows: -H Symbolic links on the command line are followed. (Symbolic links encountered in the tree traversal are not followed.) -L All symbolic links are followed. -P No symbolic links are followed. -a Display an entry for each file in the file hierarchy. -c Display the grand total after all the arguments have been processed. -d Display an entry files and directories depth directories deep. -g If the -g flag is specified, the number displayed is the number of gigabyte (1024*1024*1024 bytes) blocks. -h If the -h flag is specified, the numbers will be displayed in "human-readable" format. Use unit suffixes: B (Byte), K (Kilobyte), M (Megabyte), G (Gigabyte), T (Terabyte) and P (Petabyte). -k By default, du displays the number of blocks as returned by the stat(2) system call, i.e. 512-byte blocks. If the -k flag is speci- fied, the number displayed is the number of kilobyte (1024 bytes) blocks. Partial numbers of blocks are rounded up. -m If the -m flag is specified, the number displayed is the number of megabyte (1024*1024 bytes) blocks. -n Ignore files and directories with user "nodump" flag (UF_NODUMP) set. -r Generate warning messages about directories that cannot be read. This is the default behaviour. -s Display only the grand total for the specified files. -x Filesystem mount points are not traversed. du counts the storage used by symbolic links and not the files they reference unless the -H or -L option is specified. If either the -H or -L options are specified, storage used by any symbolic links which are followed is not counted or displayed. The -H, -L and -P options over- ride each other and the command's actions are determined by the last one specified. Files having multiple hard links are counted (and displayed) a single time per du execution. ENVIRONMENT
BLOCKSIZE If the environment variable BLOCKSIZE is set, and the -g, -h, -k, and -m options are not specified, the block counts will be dis- played in units of that size block. SEE ALSO
df(1), chflags(2), fts(3), getbsize(3), symlink(7), quot(8) HISTORY
A du command appeared in Version 6 AT&T UNIX. BSD
September 24, 2006 BSD