02-04-2019
Quote:
Originally Posted by
Don Cragun
See updated post #2. I'm afraid most, if not all, of your personal data is gone if you didn't have a backup.
Thanks for your advice! Will do that! The iCloud Drive was not corrupted, so it is fine for the personal stuff...
This User Gave Thanks to SuchtyTV For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. UNIX for Dummies Questions & Answers
Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks!
When attempting to use sudo on and AIX machine with oslevel 5.1.0.0, I get the following error:
exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)
Discussion started by: Chloe123
1 Replies
3. UNIX for Dummies Questions & Answers
HI All,
I am using solaris
i created a user adam and updated his permissions
in vi sudoers file as follows
adam ALL=(ALL) NOPASSWORD: ALL
...........
when i create user by logging as sudo user .
$ sudo useradd -d /home/kalyan -m -s /bin/sh kalyan
sudo: not found
... (6 Replies)
Discussion started by: kalyankalyan
6 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
6. Shell Programming and Scripting
Hi All,
i am trying to ssh to a remote machine and execute certain command to remote machine through script.
i am able to ssh but after its getting hung at the promt and after pressing ctrl +d i am gettin the out put as
expect: spawn id exp5 not open
while executing
"expect "$" {... (3 Replies)
Discussion started by: Siddharth shivh
3 Replies
7. Shell Programming and Scripting
I've found this script part on the stackoverflow:
if ; then
sudo bash "$0" "$@";
exit "$?";
fi
I realized that sudo bash "$0" "$@"; is the only needed for me.
But the strange thing happens when I move this line outside the IF statement:
sudo bash "$0" "$@"; stops the... (9 Replies)
Discussion started by: boqsc
9 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
9. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT MOJAVE
assetcachemanagerutil
AssetCacheManagerUtil(8) BSD System Manager's Manual AssetCacheManagerUtil(8)
NAME
AssetCacheManagerUtil -- control the macOS Content Cache
SYNOPSIS
AssetCacheManagerUtil [-a|--all] [-j|--json] [-l|--linger] command
DESCRIPTION
AssetCacheManagerUtil controls the macOS Content Cache. AssetCacheManagerUtil must be run by root except as noted below. The options are:
-a|--all Show all events, not just the end result of the specified command.
-j|--json Print results in machine-parseable JSON format to stdout.
-l|--linger Linger after completing command, to show other events.
The commands are:
activate Activates the content cache. Content caching is deactivated by default. After you activate content caching, restart devices
on your network to take advantage of content caching immediately. Devices on your network will discover this content cache
over time. Devices that are restarted will use this content cache immediately.
deactivate Deactivates the content cache.
isActivated Reports the content cache's activation status. Does not require root.
canActivate Reports whether the content cache is eligible for activation. Does not require root.
flushCache Flushes the content cache.
flushPersonalCache
Flushes all personal (iCloud) content from the content cache.
flushSharedCache
Flushes all shared (non-iCloud) content from the content cache.
status Reports the content cache's status. Does not require root.
settings Reports the content cache's settings. Does not require root.
reloadSettings
Forces the content cache to reload its settings.
moveCacheTo path
Moves the cache to path. The path must end with /Library/Application Support/Apple/AssetCache/Data. The contents of path are
deleted and replaced with the cache.
absorbCacheFrom path read-only|and-destroy
Imports the cache from path. The path must end with either /Library/Application Support/Apple/AssetCache/Data or
/Library/Server/Caching/Data. If the last argument is read-only the cache at path is not modified, otherwise it is emptied.
This command only starts the absorption, which proceeds and finishes in the background.
SEE ALSO
System Preferences > Sharing > Content Caching, AssetCache(8), AssetCacheLocatorUtil(8), AssetCacheTetheratorUtil(8)
macOS June 1, 2019 macOS