$PATH变量究竟存储在哪里?我正在/etc/environment用我想要的路径更改文件。然后我正在做echo $PATH并显示旧版本。
用g++ -o myFile myFile.cpp我编译一个程序后,用来./myFile &执行该程序。
使用&符号时,我知道程序在后台执行。
有人可以将我引导到正确的链接,解释什么./myFile a意思吗?我不明白为什么使用该命令a被解释为输入参数。
# System-wide .bashrc file for interactive bash(1) shells.
# To enable the settings / commands in this file for login shells as well,
# this file has to be sourced in /etc/profile.
# If not running interactively, don't do anything
if [ -z "$PS1" ] && return
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# set variable identifying the chroot you work in (used in …Run Code Online (Sandbox Code Playgroud)