Skip to main content

All Questions

Tagged with
1 vote
0 answers
74 views

Switching from Mac to Linux DE: Strategies for globally swapping <ctrl> modifier with <meta>? [closed]

I'm switching from MacOs to Linux and exploring several popular Desktop Environments like KDE Plasma, Gnome & Pantheon, etc. I find that the MacOS convention of using the meta key (aka the command ...
Todd Ditchendorf's user avatar
2 votes
0 answers
116 views

How to source from stdout for both Linux and macOS?

On Linux I can do: source <(cat .env | grep ANDROID_GRADLE_TASK) But on macOS, this doesn't do anything (no error, and no source) What can I use for macOS? Is there a command that works both on ...
Dimitri Kopriwa's user avatar
0 votes
1 answer
705 views

"echo $VAR | base64 -di > file" fail to execute on MacOS

On Linux I can do: echo ${ANDROID_KEYSTORE} | base64 -di > android/keystores/staging.keystore But on MacOS, the same commands gives: base64: option requires an argument -- i Usage: base64 [-hvDd] ...
Dimitri Kopriwa's user avatar
0 votes
0 answers
312 views

Terminal opens with a command not found error

I checked the .bash_profile and .zprofile, but it is empty. Also .bashrc or .zshrc do not exist in my home directory. Terminal window
Shreyas Dangare's user avatar
1 vote
0 answers
169 views

is there any way to install libgranite-dev on mac os?

I'm trying to get the elementary OS terminal working on mac. The installation process of this terminal is described here. after downloading the folder with the code files and typing: meson build --...
Miguel 2488's user avatar
0 votes
1 answer
593 views

Open unity application via command line wih application's graphics off

On Unity documentation we can see there is a way to run a standalone player via command line without the graphics by typing -nographics I'm using the following command on a mac terminal, but it is ...
Jas's user avatar
  • 101
2 votes
1 answer
487 views

Sort files by date added not modified

I am trying to open the last application that was added to the /Applications directory on MacOS. For now, in order to find the latest app and open it, I run: open -a "$(ls -t1 /Applications/ | head -...
Sam's user avatar
  • 123
0 votes
1 answer
383 views

Why was the “meta” key replaced on modern terminals?

I want to understand how the alt key behaves on terminals. From some reading it appears that the "meta key" has been replaced on modern systems with sending Esc+ instead, why is that? What is the ...
Thomas's user avatar
  • 101
0 votes
1 answer
149 views

should I get rid of mutiple git installations, if so how? (OS X)

I hope the title isn't confusing, but I seem to have accumulated a couple of different versions of git in various directories over the years. I'd like to clean it all up and just have one version, and ...
Shiny_and_Chrome's user avatar
0 votes
1 answer
2k views

What does this rm -r command do in following usecase on mac terminal?

First I'm directing to the destination folder by below command cd /Users/myname/MyFolder/ Now I'm using below command here, what does this command will do? rm -r ../build ../dist rm command is for ...
Devender Kumar's user avatar
0 votes
1 answer
176 views

Moving files to matching folders on linux command line

I would like to copy or move files in to matching folders. these are my filenames: 1-filename-aa.txt 2-filename-aa.txt 3-filename-aa.txt 1-filename-bb.txt 2-filename-bb.txt 3-filename-bb.txt these ...
cnknv's user avatar
  • 1
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
1 answer
1k views

Can you run a Python program using Nice in Mac Terminal?

I'm trying to assign a high priority level to a Python program as soon as it runs using Terminal. I'm thinking of syntax along the lines of: sudo nice -n -20 pythonfile.py This returns the error: ...
logic1976's user avatar
  • 243
0 votes
1 answer
217 views

How do I open a document in split screen-full screen from the terminal?

I use a Mac and have been getting into navigating through the terminal as I prepare to switch to linux for good in the future. One annoyance I have come across, which I can't seem to figure out is how ...
Benjamin Searle's user avatar
3 votes
1 answer
880 views

On macOS why "ps" always shows session id as "0"

I noticed it when running ps on different terminal sessions... I don't really understand why? Also, when killing the -zsh process, so the interactive login shell, I noticed every of its children are ...
emandret's user avatar
  • 163

15 30 50 per page
1
2 3 4 5 6