FG
💻 Software

Bash Alias Adding a Background Process

Fresh5 days ago
Mar 15, 20262061 views
Confidence Score0%
0%

Problem

In my .bashrc, I want to put something like this. So that I can do something like this. which will be translated into How can I do the above?

Error Output

alias lst='ls &'

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Bash Alias Adding a Background Process

Low Risk

Use a function instead.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment