Skip to main content

All Questions

Tagged with
0 votes
2 answers
48 views

Does the unix words file change over time or between systems? [closed]

Is the Unix "words" file (e.g at /usr/share/dict/words) pretty standard? I.e, can I generally rely on, for example, the 200th word in the file to be the same word between a fedora and an ...
Him's user avatar
  • 365
3 votes
2 answers
5k views

sudo kill -9 pid doesn't kill softwareupdated in mac

I have a process softwareupdated which is consuming lot of data. I just want to close the process as I dont want to update . I tried sudo kill -9 pid but it doesn't kill softwareupdated in mac. I keep ...
ASharma7's user avatar
  • 131
0 votes
0 answers
165 views

Including chmod in shell script - will it work for everyone?

I have a large wrapper.sh file which does a lot of things, but in the end runs catalina.sh tomcat. Problem is that users who run this wrapper.sh are experiencing error: no permissions to execute ...
Avaldor's user avatar
  • 101
1 vote
1 answer
399 views

How to fix broken "newline" from Mac to Windows

I have been given a set of python codes (.py) which were written on Mac. Unfortunately, when I open them on windows (pycharm, notepad, even word), there are no line breaks. I asked for .txt versions ...
safex's user avatar
  • 135
0 votes
1 answer
2k views

lsof is not working for me on Mac OS X 10.13 - gives error, I'm trying to find process accessing a specific IP address

lsof isn't working for me. I'm trying to use instructions in posts such as How do I find out which program and process ID accesses a given IP address in macOS? to find which process is accessing a ...
Mike Levin's user avatar
0 votes
1 answer
267 views

Command 'date +%W' does not return week 00

Manual page for date(1) says: %W week number of year, with Monday as first day of week (00..53) I assumed there exists a week number 00, and I handle such week in my program, but once I decided to ...
Damian Roszczyk's user avatar
0 votes
1 answer
230 views

Replace files recursively

I have a deeply nested directory called MyProject which contains dozens of git repositories. Each of those repositories contains, somewhere, a directory called utils which contains a file called ...
j_d's user avatar
  • 123
3 votes
2 answers
8k views

How to delete a directory in MacOS from the command line?

I would like to know how to delete a directory on my MacBook. I have tried several methods such as moving it to the Trash -> Empty Trash, via the command sudo rm -rf, restarting the computer in ...
ipegasus's user avatar
3 votes
1 answer
20k views

How does "echo $0" work?

I found out on Ask Ubuntu I can use this command to figure out what shell I am in. echo $0 I like this because it is simple as compared to more complex solutions like this one on the Unix and Linux ...
Sun - FE's user avatar
  • 369
0 votes
2 answers
99 views

Unusual prompt in the terminal

I have a really unusual prompt in my Unix terminal (I'm using macOS). It looks like this: myUserName@Galaxy-A7-2016 I've never seen the @Galaxy-A7-2016 bit before and I'm worried someone might have ...
matzar's user avatar
  • 103
1 vote
0 answers
269 views

Problems installing RCPLEX

I get an error while I try to install RCPLEX on my Computer and I can't figure out what to do. There is no information what so ever on the internet regarding my problem. R Marcel$ R CMD INSTALL --...
GeForce260's user avatar
1 vote
2 answers
2k views

Tail -f last modified file in folder

I'm trying to use tail -f to follow a log in file in a specified folder. I can do this with the simple command tail -f [path to file] but is there a way i can have a command that runs and tracks the ...
Chris Barrett's user avatar
0 votes
2 answers
221 views

Unlimited recursive while displaying time for every directory

I want to display all directories in my current directory recursively, but I also want to display the full date and time (even after 6 months). Considering I am using a Mac I had to use the FreeBSD ...
Digitalmea's user avatar
1 vote
2 answers
4k views

How can I append two PDF files which contain links?

I have two PDFs which contain a clickable table of contents. I want to append one to the other while keeping the links in the table of contents. I've tried using preview on macOS. This keeps the links ...
user avatar
1 vote
1 answer
1k views

OsX El Capitan ignoring case sensitive filenames and not making file/directory distinction

Hi I've run in a strange behaviour on a MacBook today: I had a directory named "FOO" (all capitals) on the desktop, then I created a file named "foo" (no extension) in another directory and moved it ...
jack_the_beast's user avatar

15 30 50 per page
1
2 3 4 5