Skip to main content

New answers tagged

2 votes

How to load system-wide daemon on Mac OS X

I tried all of the above and was still unable to load my job. If you get the error Load failed: 5: Input/output error, it may help to change the owner and group of the .plist to root and wheel, ...
Ethan Kim's user avatar
0 votes

confusing `rm` command corner behavior

My testbed is Linux, namely Debian 12, and in this answer I link to Debian manuals. Still I believe the mechanics is identical in all Unix/Linux systems. I don't understand why the read and execute ...
Kamil Maciorowski's user avatar
0 votes

How do I reverse the lines of a file in UNIX

FreeBSD and MacOS do not have "tac" as an option. You can use "tail -r" to reverse the line order.
grant's user avatar
  • 1
0 votes

How to keep Midnight Commander running after you open a file?

as of dec'2024 to open images in background I added '&' to the end of a line like this: file ~/.config/mc/mc.ext.ini ... [Include/image] Open=/usr/lib/mc/ext.d/image.sh open ALL_FORMATS & ...
Sergei Gorbikov's user avatar
0 votes

Using `find` for multiple file extensions

With the GNU version of find you can also use -regex or -iregex (i.e. case-insensitive): find . -iregex '.*\.\(txt\|html\|js\|ts\|jsx\|css\)' -regex is not supported with the BSD/macOS ootb flavour ...
ccpizza's user avatar
  • 8,083
1 vote

Cannot change directory into home directory, although permissions are set correct

You can use this Linux command : sudo chown -v -R user:user /home/user/ and then use this sudo chown -v -R user:user /home/user/..
Salio's user avatar
  • 111

Top 50 recent answers are included