Normally declaring a alias inside the command substitution would not
reflect in main shell like
lithack@aura:~$ `alias l=ls`
lithack@aura:~$ l
l: command not found
But using this command .
lithack@aura:~$ `alias l=ls;alias`
lithack@aura:~$ l
api Desktop Downloads Music
Sorry instead of alias we have to use the function.
Corrected command: mkdir dir;cd dir;<>file;file()bash;*
Thanks and regards.
On Wed, Jun 21, 2023, 8:46 AM Lawrence Velázquez wrote:
> On Tue, Jun 20, 2023, at 10:52 PM, LitHack wrote:
> > -- Forwarded message ---
-- Forwarded message -
From: LitHack
Date: Wed, Jun 21, 2023, 7:31 AM
Subject: Command execution by creating file.
To:
Special character '*' can be used to execute the command.
We have to just create a directory and make a file of any character or word
and then mak
-- Forwarded message -
From: LitHack
Date: Sat, 17 Jun 2023 at 08:52
Subject: Crashing the Linux System
To:
Running the yes command in command substitution will crash the linux shell.
According to me inside command the substitution it is creating multiple
process(fork