Timeline for Multi-word aliases in bash
Current License: CC BY-SA 4.0
        5 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 29, 2021 at 12:52 | comment | added | chepner | 
        
            
    "Sudoing something like apt search shouldn't be too dangerous." Famous last words :) Don't use sudo if you don't need it just because it's convenient.
        
     | 
|
| Sep 28, 2021 at 13:32 | comment | added | ilkkachu | 
        
            
    @fra-san, yeah, the meaning changes, but it might not be that bad here. At least as long as update doesn't exist as a command on its own. Most uses of apt require privilege anyway, and sudoing something like apt search shouldn't be too dangerous.
        
     | 
|
| Sep 28, 2021 at 12:50 | comment | added | fra-san | 
        
            
    There is also (for fun, mainly) the ugly alias apt='sudo apt '; alias update='update -y', but the two aliases (taken individually) would likely be an unwanted side effect.
        
     | 
|
| Sep 28, 2021 at 12:29 | vote | accept | Gagan | ||
| Sep 28, 2021 at 12:09 | history | answered | ilkkachu | CC BY-SA 4.0 |