Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories.
The following command also shows the files but I only want to see the directories.
ls -lrtR * (4 Replies)
Hello All, I am trying to list only directories in my current directory using the command "ls -d". But the output only contains the default directory "." and doesn't list the rest of the directories in the working directory. Can anyone explain why this is happening (2 Replies)
Hi
I am trying to display the home directory of another user. I dont have the permissions to change into their directory and wonder is it possible to display their directory
eg I cant change directory to john but I am trying to display something like /home/John.
If anyone can help I would... (3 Replies)
Hello,
In my directory i have got a list of files like below
unix1a.csv
unix1b.csv
unix1c.csv
unix1d.csv
unix1y.csv
I have done ls -lrt unix1.csv, how can i get my unix1y.csv also get listed along with this.. (5 Replies)
listing based on user.
I have files in some folder that come from many user
-rwxrwxr-x 1 ratih pbank 4827112 Jun 8 08:37 S92TA-8.sgy
-rwxrwxr-x 1 ratih pbank 4724568 Jun 8 08:37 S92TA-6.sgy
-rwxrwxr-x 1 ratih pbank 4929656 Jun 8 08:37 S92TA-19.sgy
-rwxrwxr-x 1 ratih ... (4 Replies)
i have multiple files like
how to do list files from new_30 to new_50
i have tried this command but it wont work
dir new*{30-50}.txt
my exact requirement is to get line count of these files
the command which work is
FOR %i IN (new*.txt) DO find %i /c /v ""
but at the... (1 Reply)
Discussion started by: sagar_1986
1 Replies
LEARN ABOUT MOJAVE
newproc.d
newproc.d(1m) USER COMMANDS newproc.d(1m)NAME
newproc.d - snoop new processes. Uses DTrace.
SYNOPSIS
newproc.d
DESCRIPTION
newproc.d is a DTrace OneLiner to snoop new processes as they are run. The argument listing is printed.
This is useful to identify short lived processes that are usually difficult to spot using traditional tools.
Docs/oneliners.txt and Docs/Examples/oneliners_examples.txt in the DTraceToolkit contain this as a oneliner that can be cut-n-paste to run.
Since this uses DTrace, only users with root privileges can run this command.
EXAMPLES
This prints new processes until Ctrl-C is hit.
# newproc.d
FIELDS
CPU The CPU that recieved the event
ID A DTrace probe ID for the event
FUNCTION:NAME
The DTrace probe name for the event
remaining fields
These contains the argument listing for the new process
DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver-
bose descriptions explaining the output.
EXIT
newproc.d will run forever until Ctrl-C is hit.
AUTHOR
Brendan Gregg [Sydney, Australia]
SEE ALSO execsnoop(1M), dtrace(1M), truss(1)version 1.00 May 15, 2005 newproc.d(1m)