New answers tagged unix
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, ...
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 ...
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.
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 &
...
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 ...
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/..
Top 50 recent answers are included
Related Tags
unix × 3999linux × 1503
bash × 618
macos × 425
shell × 422
command-line × 418
ssh × 216
terminal × 204
windows × 155
ubuntu × 148
shell-script × 138
permissions × 136
find × 119
mac × 117
filesystems × 101
grep × 98
networking × 86
solaris × 82
script × 81
tar × 78
sed × 77
awk × 56
freebsd × 55
process × 54
sudo × 52