This site has been very helpful thus far.. I thank you all in advance for sharing the knowledge. Let me get to it.
I am trying to write a very small script to take away from the boredom of doing the same thing over and over.
Everynow and again I have to get the hex value of a file using a... (2 Replies)
Hi guys. Is it possible (I'm sure it is) to use the output of a simple 'ls' command as input of another command 'tail'.
It is not really the output of the 'ls'. I have to useeach line of the output.
This is the first command...
ls *myFile*021308*
Which it outputs many filenames. For each... (3 Replies)
Hi,
I am having an Input file .which is having a list of names.
comapring with our database , needs to write the out put in file called output.txt , format should be name--> country--->phone number
could you please help me..
thanks in advance (7 Replies)
Hi,
I have two files , one file with data file with attributes that need to be sent to another file to generate a predefined format.
Example:
File.txt
AP|{SSHA}VEEg42CNCghUnGhCVg==
APVG3|{SSHA}XK|"password"
AP3|{SSHA}XK|"This is test"
....
etc
---------
test.sh has... (1 Reply)
Hello All,
I have created a script to capture logs on every day at every 3 Min.Please find in attach.So my goal is to mail all the logs to myself for pertical date.So can anyone guide me how can i this on the basis of the attached logs.
Regards
Ankit (0 Replies)
Hi All,
Is it wrong to do something like this:
ssh -T $PROXY_USER@$PROXY_SERVER < script.txt > ssh_output.log
I ran and it works fine and does what I need. I wanted to pass a set of commands to the ssh session and store an output in the log file.
Thanks (4 Replies)
Hi,
If I have loads of logs like below and I am interested to print the requests(lines) which have taken more than 1000 ms. In this case how could I print the two highlighted lines ?
abc.log
reqquest id232342 , adfghfasdfsaf, TIME=30
reqquest id11111 , asdfdfghdffsaf, TIME=54
reqquest... (0 Replies)
My scenario is as follows.
1. I have a reference file with the IP addresses and names
$ cat ref.list
10.11.xxx.xxx AA
10.12.xxx.xxx BB
10.13.xxx.xxx CC
10.14.xxx.xxx DD
2. A script runs and gets me one of the IP addresses and puts it in a separate file, for e.g... (2 Replies)
Hi All,
I have a input file as below. Input file may contain more hostlists.
sample Input file
$ cat hostlist.lst
cs18-db1-1-sjl
cs22-db1-1-was
na88-db1-1-chi
na21-db1-2-was
I want the output like below format. Pls help. Thanks !
Output format:
... (4 Replies)
Discussion started by: kamauv234
4 Replies
LEARN ABOUT MOJAVE
brctl
BRCTL(1) BSD General Commands Manual BRCTL(1)NAME
brctl -- Manage the CloudDocs daemon
SYNOPSIS
brctl <command> [command-options and arguments]
DESCRIPTION
brctl understands the following commands:
diagnose [options] [<diagnosis-output-path>]
diagnose and collect logs
-M,--collect-mobile-documents[=<container>] (default: all containers)
-s,--sysdiagnose Do not collect what's already part of sysdiagnose
-n,--name=<name> Change the device name
[<diagnosis-output-path>]
Specifies the output path of the diagnosis; -n becomes useless.
download <path>
download a local copy of the document at this path
evict <path>
evict the local copy of the document at this path
log [options] [<command>]
-c,--color[={yes,no}]
turn on or off color use
-d,--path=<logs-dir> use <logs-dir> instead of default
-H,--home=<home-dir> use this as the ~ prefix, to look for ~/L/
-f,--filter=<predicate>
only show lines matching predicate
-m,--multiline[={yes,no}]
turn on or off multiple line logging
-n=<number> number of initial lines to display
-p,--page use paging
-w,--wait wait for new logs continuously (syslog -w)
-t,--shorten Shorten UUIDs, paths, etc
-s,--digest Only print digest logs
dump [options] [<container>]
dump the CloudDocs database
-o,--output=<file-path>
redirect output to <file-path>
-d,--database-path=<db-path>
Use the database at <db-path>
[<container>] the container to be dumped
monitor [options] <container>
use NSMetadataQuery to monitor the container
-S,--scope=<scope>
restrict the NSMDQ scope to DOCS, DATA, or BOTH
versions [options] <path> [ALL|etags...]
list the non-local versions of the document at this path.
-a,--all List all non-local versions including those that
are locally cached
SEE ALSO bird(8)Mac OS May 31, 2019 Mac OS