5

Special Characters in Bash

 1 year ago
source link: https://fann.im/blog/2023/05/08/special-characters-in-bash/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Special Characters in Bash

Special Characters in Bash

May 8, 2023

  • $0: name of the script
  • $1 to $9, arguments to the script. $1 is the first argument and so on.
  • $@: all the arguments
  • $#: number of arguments
  • $?: return code of the previous command
  • $$: process identification number (PID) for the current script

Was this page helpful?

Meet @fannheyward


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK