Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: [MA]Flying_Meat
Forum: OS X (Apple) 10-06-2017
2,334
Posted By [MA]Flying_Meat
I may be waaaaayyyy off base here, but I had...
I may be waaaaayyyy off base here, but I had always considered /usr as a receptacle for things that aren't part of the base OS.
As there are /bin and /sbin, there are /usr/bin and /usr/sbin. These...
2,645
Posted By [MA]Flying_Meat
To access the content of a hidden folder, you...
To access the content of a hidden folder, you just have to know the path.

If both drives were named the same (Macintosh HD), then the "external" will show up as "Macintosh HD 2".
If it is not...
Forum: OS X (Apple) 12-19-2016
2,171
Posted By [MA]Flying_Meat
Is SIP enabled? Launch Terminal and issue:...
Is SIP enabled?

Launch Terminal and issue: csrutil status

If it is enabled, and you want to disable it, you can only do that from the recovery partition.

After booting from recovery...
2,645
Posted By [MA]Flying_Meat
Did you try booting into Safe Mode (hold shift...
Did you try booting into Safe Mode (hold shift key down during bootup)?
Forum: Open Source 06-10-2016
4,072
Posted By [MA]Flying_Meat
Questions: Is this a business requirement? ...
Questions:
Is this a business requirement?

Is there the possibility you will be able to install the solution in the same timeframe as the vendor?

Do you have standard operational fallback...
3
2,013
Posted By [MA]Flying_Meat
grep has the ability to search for characters at...
grep has the ability to search for characters at the beginning of a line. If you look at the examples section of the man page for grep you'll see it.


grep -v '^0'


should work.
Forum: AIX 03-06-2015
7,993
Posted By [MA]Flying_Meat
There is also an immutable file flag on some...
There is also an immutable file flag on some systems. :)
Forum: Open Source 03-03-2015
8,681
Posted By [MA]Flying_Meat
I think you will not find a translator like what...
I think you will not find a translator like what you're looking for.
This might help you understand why (expounding on wisecracker's post above):
what's the difference between linux and unix...
Forum: OS X (Apple) 09-23-2014
3,518
Posted By [MA]Flying_Meat
I don't think there is a straight forward (nor...
I don't think there is a straight forward (nor advisable) method to disable IPV6, but you can set it to "Link-local only", which effectively removes the overhead for actual network related tasks.
...
3,452
Posted By [MA]Flying_Meat
The most important thing you should learn how to...
The most important thing you should learn how to use is the "man" command (short for manual).

if you want to find out about a command and what it does, issue the following commands and learn what...
3,086
Posted By [MA]Flying_Meat
True enough. man pages are your friend. As stated...
True enough. man pages are your friend. As stated previously, might as well start at the start. man man. You can scroll with the up and down arrows on your keyboard.

For instance, I have two...
Forum: Web Development 02-12-2014
8,655
Posted By [MA]Flying_Meat
There ya go. launchctl will happily unload...
There ya go.
launchctl will happily unload "com.mysql.mysql.plist" because, well, it's loaded, but you have to specify the path in order to load it.
Since "/com.mysql.mysql.plist" doesn't exist,...
Forum: OS X (Apple) 02-04-2014
2,656
Posted By [MA]Flying_Meat
Yes. OS X GUI allows / in file names, but OS X...
Yes. OS X GUI allows / in file names, but OS X unix cleverly replaces / with : which is allowed in unix. There's a sort of understanding between the GUI and the gooey unixie goodness.

You will see...
18,439
Posted By [MA]Flying_Meat
As an old-schooler and purely a rudimentary level...
As an old-schooler and purely a rudimentary level scripter, I typically issue the command, then test the result.

grep -q "ERROR" /home/infrmtca/bin/logfile
if [ "$?" -eq 0 ]; then
echo...
1,263
Posted By [MA]Flying_Meat
In a while read loop, you could check the line...
In a while read loop, you could
check the line for [8] then
echo line >> ip_stuff_file_name
otherwise
echo line >> not_ip_stuff_file_name
end check
done

move original_file_name to...
2,994
Posted By [MA]Flying_Meat
See: Loops...
See: Loops (http://tldp.org/LDP/abs/html/loops1.html)
example 11-15

Then bookmark the main page: Advanced Bash-Scripting Guide (http://tldp.org/LDP/abs/html/)

:)
999
Posted By [MA]Flying_Meat
Plus, wget has it's own built in logging options?...
Plus, wget has it's own built in logging options?
From: man wget
Logging and Input File Options

-o logfile
--output-file=logfile
Log all messages to logfile. ...
1,716
Posted By [MA]Flying_Meat
You might want to put the success or failure...
You might want to put the success or failure checks into your connectdb1.sh and connectdb2.sh scripts, referencing the specific script names in the output from each.

That way you'll get more...
6,004
Posted By [MA]Flying_Meat
Typically, I just press the command+u key...
Typically, I just press the command+u key combination, launch the terminal, type sudo followed by a space, then drag the desired script to the terminal window.

For double click simplicity, I will...
1,944
Posted By [MA]Flying_Meat
Does your calling script do anything after the...
Does your calling script do anything after the script call?

What happens (as far as we can tell) is:
Main script calls script 2
Script 2
preforms action
exit 0 (success)
Main script can get...
Forum: OS X (Apple) 01-15-2013
1,550
Posted By [MA]Flying_Meat
Did you try the plane old "route"...
Did you try the plane old "route" command?
Forum: OS X (Apple) 10-30-2012
1,719
Posted By [MA]Flying_Meat
I vaguely recall you can put the /opt/local/bin...
I vaguely recall you can put the /opt/local/bin first in your $PATH and it "should" find it there and run it.

An alternative might be to rename the /usr/bin/perl executible (perl.apple ?) and...
Forum: OS X (Apple) 10-29-2012
2,517
Posted By [MA]Flying_Meat
It works under Mountain Lion (10.8.2) traversing...
It works under Mountain Lion (10.8.2) traversing the folders and finding items.
It appears to run successfully under Snow Leopard (10.6.8) and Lion (10.7.4) but only reports /dev/fd/3 and /dev/fd/4...
Forum: OS X (Apple) 10-29-2012
4,879
Posted By [MA]Flying_Meat
Virtually everything "directory services" is...
Virtually everything "directory services" is handled by Apple's Directory Services or more currently, Open Directory.

Given AD is developed via Microsoft, and it therefore is a "different enough"...
Forum: OS X (Apple) 10-29-2012
4,879
Posted By [MA]Flying_Meat
dsconfigad -show Can tell you whether the...
dsconfigad -show

Can tell you whether the machine is/was configured and bound to AD, as well as some of the kerberos info you are looking for, in that context.
Showing results 1 to 25 of 188

 

Featured Tech Videos

All times are GMT -4. The time now is 08:16 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy