Turecko-americká vycházející matematická hvězda Levent Alpöge ze společnosti Anthropic vyvolal pozdvižení oznámením (PDF), že s pomocí superinteligence Claude od Antropicu dokázal vyřešit jeden ze sedmi největších matematických problémů tisíciletí, slavnou Riemannovu hypotézu (prvočísla se mezi čísly objevují zdánlivě nepravidelně, hypotéza tvrdí, že za jejich rozmístěním je určitý řád). Svůj důkaz uvolnil jako open-source
… více »# This file is sourced by all *interactive* # bash shells on startup. This file # *should generate no output* or it will # break the scp and rcp commands.Muj bash_profile inkluduje bashrc. Neni mi zcela jasne toto (man bash): When an interactive shell that is not a login shell is started, bash reads and executes commands from ~/.bashrc, if that file exists. This may be inhibited by using the --norc option. The --rcfile file option will force bash to read and execute commands from file instead of ~/.bashrc. Znamena to tedy, ze se v tomto pripade nacte pouze .bashrc a ne bash_profile? Programy scp a rcp tedy ctou primo .bashrc?
# User specific environment and startup programs
#!/bin/bash na začátku (mimo jiné), tak by měla být volba jasná...
When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable.
lzap@teepee ~ $ bash
lzap@teepee ~ $ exit
lzap@teepee ~ $ bash -i
lzap@teepee ~ $ exit
lzap@teepee ~ $ bash -l
Je lépe radit se před činy, než potom o nich přemítat.
-- Demokritos
Tiskni
Sdílej: