Skip to content

Hueok/study_security

Repository files navigation

dreamhack.io

studying web security
dd


Linux Command

"ls -a" : (THIS COMMAND INCLUDE DOUBLE QUOTATION) In linux shell we can take command by using double quotation. But, command in double quotation is treated as single command including any spaces. So This command occur syntax error.

The difference of " and ' : Double quotation has variable substition while single quotation isn't. (Similar with f-string {})

example)

variable='test'
echo "$variable"
echo '$variable'

Additional...

For WSL, the command openning explorer with some path can be assigned.

function open() {
  Explorer.exe ${1//\//\\}
}
export -f open

add to ~/.bashrc

About

studying web security

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published