09-04-2019
Hey dallas88,
You should definitely see it enabled in the system_profiler output. Maybe try a few different system_profiler switches and system_profiler| grep -i "some keyword" searches to find it?
Please post back and let us know what you tried and what worked and what did not work.
Thanks!
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have an expression as follows:-
a=`expr ${i} + ${j}` >> $log_file 2>&1
Here, if any of the values i or j or both happens to be empty then the "expr" returns error as
"expr: 0402-050 Syntax error." My problem is I am not able to re-direct this error to the log file. Its is getting... (4 Replies)
Discussion started by: rony_daniel
4 Replies
2. Shell Programming and Scripting
Hi,
I have a script to compare 2 files.
file1=$1
file2=$2
num_of_records_file1=`awk ' END { print NR } ' $file1`
num_of_records_file2=`awk ' END { print NR } ' $file2`
i=1
while
do
sed -n "$i"p $file1 > file1_temp
sed -n "$i"p $file2 > file2_temp
diff file1_temp... (5 Replies)
Discussion started by: autosys_nm
5 Replies
3. Shell Programming and Scripting
Hi there,
We have 2 apps on our customers machines that can both open files with the same file extension. Is there any way via shell commands to set which application should be the default?
Essentially, I'm hoping to replicate Get Info > Open With > Change All using a shell script, but I just... (0 Replies)
Discussion started by: davewg
0 Replies
4. Shell Programming and Scripting
Hello, currently we are executing a .sh from terminal.
The current .sh looks like this:
#!/usr/bin/env bash
/Users/user/my.app/Contents/MacOS/my &
--
Now, we also need to run a third line in the .sh - It's a command line application that I need to run when I execute the above .sh... (0 Replies)
Discussion started by: yoyoyo777
0 Replies
5. UNIX for Dummies Questions & Answers
#!/bin/ksh -x
cd /tmp/tj
ftp -n servername.com << DONE
user username password
as
put test.log
quit
close
DONE
echo "testing..."
sh -x scriptname, and it shows all, but username, as, put, quit, close, DONE.
how can i see those ? (1 Reply)
Discussion started by: tjmannonline
1 Replies
6. Shell Programming and Scripting
Hi guys,
been scratching round the forums and my mountain of resources.
Maybe I havn't read deep enough
My question is not how sed edits a stream and outputs it to a file, rather something like this below:
I have a .txt with some text in it :rolleyes:
abc:123:xyz
123:abc:987... (7 Replies)
Discussion started by: the0nion
7 Replies
7. Cybersecurity
What is the best practice to allow a 3rd party health monitoring app to read the messages file. Since messages is a system file and is owned by root the app cannot read the file. I don't want to run the app as root so how should I allow the app to read the file. The read function is actually built... (2 Replies)
Discussion started by: slwiley
2 Replies
LEARN ABOUT FREEBSD
apropos
APROPOS(1) BSD General Commands Manual APROPOS(1)
NAME
apropos, whatis -- keyword search whatis documentation databases
SYNOPSIS
apropos [-d] keyword ...
whatis [-d] keyword ...
DESCRIPTION
The apropos utility searches a set of databases looking for documentation matching each keyword and displays the results. The whatis utility
does the same search but only on complete words.
-d Print extra debugging information.
The keyword is simply passed to grep(1) allowing for extended regular expression matches.
ENVIRONMENT
The following environment variables affect the execution of apropos:
MANLOCALES, MANPATH, PATH
Used to find the location of the whatis database files. See manpath(1) for additional information.
PAGER Program used to display files. If unset, more -s is used.
DIAGNOSTICS
The apropos utility exits 0 if a keyword matched and 1 if no keywords are matched or no whatis databases are found.
SEE ALSO
grep(1), makewhatis(1), man(1), manpath(1), man.conf(5)
BSD
September 1, 2010 BSD