Short connections: ATL to MAD, 1 hour of stop in PHL with terminal change. Do I have to go through security a second time?

I have a flight in AA from Atlanta to Madrid. My reservation shows a "stop" in Philadelphia for about an hour and 15 minutes. I am worried because my itinerary indicates the arrival at PHL in terminal A, but the exit from terminal B, and the airline changes to Iberia. Will I have to go through security again before leaving PHL? I'm worried about the short stop time.

How can I toggle the automatic change of graphics using the terminal?

I have a 2019 MacBook Pro with a Radeon Pro 555X 4GB graphics card. I would like to change the Automatic graphics change Configuration with a terminal command.

applecript: automatically opens a terminal window and executes a command in a robust way

I'm looking for a way to automatically open a new window and run a command on it.

I used to do this with AppleScript, similar to this:

Tell the application "Terminal"
make a script ("some-command")
tell him at the end

The official distribution of Julia opens terminal windows in the same way.

However, if is configured to execute a command at startup (which is a practical way often recommended to establish a new shell without changing the global logon shell), this method simply fails.

Is there a robust method that works even when using an alternative shell?

enter the description of the image here

gpg how to ask for password in terminal

I have a Manjaro Deepin.

When I use gpg always ask for the password in a window of the GUI box by default. I want gpg to request the password in the terminal, not in a GUI.

How do I achieve this?

Mathematica 11 in Ubuntu 18.04 does not show many characters in the terminal. How do I change this?

The "special" character, such as pi (esc p esc), does not appear. Instead, they are replaced by a dotted gray square:
enter the description of the image here

How can I change this? Mathematica worked well before upgrading Ubuntu to 18.04. I thought that this could be solved by uninstalling it and installing it again. I finally came to do it, and it did not work.

Command line – Disk use in the Mac terminal does not work with –max-depth

I want to see my use of the disc for a specific folder with a preset Max deep. In Linux, the command is

$ du -h --max-depth 1

In macOS Mojave (10.14.5), this does not work. I tried it too

$ du -hd1

As described here, it does not work either. The output of the terminal is:

Use: du [-H | -L | -P] [-a | -s | -d depth] [-c] [-h | -k | -m | -g] [-x] [-I mask] [file ...]

What is the best solution?

Vim: Warning: The output is not to a terminal while using vi and grep

I am running the following command to see the error log

I saw mysite_com_error.log-2019060 | grep & # 39; Jun 08: 23 & # 39;

but I am receiving the following error:

Vim: Warning: The output is not to a terminal

How can I customize the color of the terminal indicator?

I can change the background and color of the text in Preferences, but there is no option to change the color of the request text, it is always green! Anyway change it to red?

terminal – bash vs. zsh: What are the practical differences?

With the news that Catalina will use zsh instead of bash, I am finding many results that inform me about the change and that can cause problems with the shell scripts, but I am not familiar enough with zsh to know what those are problems. can be. My shell scripts really are not that complicated, but I have only used bash on macOS and Linux – zero experience with zsh. Can anyone provide a simple practical comparison, or specific obstacles that I need to know, in order to start preparing for the new shell when Catalina is launched?

macos – Delete the garbish history of the terminal remote connection

When you press CMD + Shift + K on the terminal, a Remote connection A window will appear allowing you to save and manage your connections.
enter the description of the image here

When I was trying to add the right one ssh command, I had several failed attempts. But the remote connection saved all my incorrect commands. Now it is very confusing in the drop-down menu as there are a lot of wrong suggestions.

Is there any way to eliminate unwanted suggestions in the drop-down menu?

My Mac information

MacOS High Sierra, Version 10.13.6

MacBook Pro (13 inches, 2018, four Thunderbolt 3 ports)