#SolucionarioDelProgramador #GNU_linux : Parámetros línea de Comandos en #rust
#programming #programacion
#pico_args #ARGV
https://ibolcode.net/roor/2026-02-parametros-linea-de-comandos--rust
#SolucionarioDelProgramador #GNU_linux : Parámetros línea de Comandos en #rust
#programming #programacion
#pico_args #ARGV
https://ibolcode.net/roor/2026-02-parametros-linea-de-comandos--rust
#SolucionarioDelProgramador #GNU_linux : Parámetros línea de Comandos en #java
#programming #programacion #ARGV #Getopt
https://ibolcode.net/roor/2025-11-parametros-linea-de-comandos--java
#SolucionarioDelProgramador #GNU_linux : Parámetros línea de Comandos en #tcl
#programming #programacion #cmdline #ARGV #Getopt
https://ibolcode.net/roor/2025-11-parametros-linea-de-comandos--tcl
#SolucionarioDelProgramador #GNU_linux : Parámetros línea de Comandos en #bash
#programming #programacion #cmdline #ARGV #Getopt #ShellScripts #shell
https://ibolcode.net/roor/2025-10-parametros-linea-de-comandos--bash
#SolucionarioDelProgramador #GNU_linux : Parámetros línea de Comandos en #Ruby
#programming #programacion #cmdline #ARGV #Getopt
https://ibolcode.net/roor/2025-10-parametros-linea-de-comandos--ruby
#SolucionarioDelProgramador #GNU_linux : Parámetros línea de Comandos en #Perl
#programming #programacion #cmdline #ARGV #Getopt
https://ibolcode.net/roor/2025-09-parametros-linea-de-comandos--perl
The first argument of a program’s command line, typically reflecting the program’s name/path and often referred to as argv[0], can in most cases be set to an arbitrary value without affecting the process’ flow. Making the case against argv[0], this post demonstrates how it can be used to deceive security analysts, bypass detections and break defensive software, across all main operating systems.
The first argument of a program’s command line, typically reflecting the program’s name/path and often referred to as argv[0], can in most cases be set to an arbitrary value without affecting the process’ flow. Making the case against argv[0], this post demonstrates how it can be used to deceive security analysts, bypass detections and break defensive software, across all main operating systems.
My zshrc contains the following:
setopt autocd
function cd () {
if (( ${#argv} == 1 )) && [[ -f ${1} ]]; then
[[ ! -e ${1:h} ]] && return 1
builtin cd ${1:h}
else
builtin cd "$@"
fi
}
alias ...='../..'
alias ....='../../..'
alias .....='../../../..'
This allows things like `cd /etc/fstab` to go to `/etc`, `...` to go 2 directories up and `/blah/fasel` to go to `/bla/fasel` without explicit `cd`.
I am basically lost on machines without that. 😿