FreeBSD Fortune on Nostr: You can use aliases to decrease the amount of typing you need to do to get commands ...
You can use aliases to decrease the amount of typing you need to do to get
commands you commonly use. Examples of fairly popular aliases include (in
Bourne shell style, as in /bin/sh, bash, ksh, and zsh):
alias lf="ls -FA"
alias ll="ls -lA"
alias su="su -m"
In csh or tcsh, these would be
alias lf ls -FA
alias ll ls -lA
alias su su -m
To remove an alias, you can usually use 'unalias aliasname'. To list all
aliases, you can usually type just 'alias'.
Published at
2023-09-01 09:31:12Event JSON
{
"id": "c09aa81f1abcc7d49a559011c1b238700491e35c91902e6668624447cd7290a0",
"pubkey": "49792b0c3e803bb97f4005f83a8d6c09a58c6ea7f04e1ab19d149f9fabbbcee3",
"created_at": 1693560672,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.bsd.cafe/users/fbfortune/statuses/110989192232672491",
"activitypub"
]
],
"content": "You can use aliases to decrease the amount of typing you need to do to get\ncommands you commonly use. Examples of fairly popular aliases include (in\nBourne shell style, as in /bin/sh, bash, ksh, and zsh):\n\n\talias lf=\"ls -FA\"\n\talias ll=\"ls -lA\"\n\talias su=\"su -m\"\n\nIn csh or tcsh, these would be\n\n\talias lf ls -FA\n\talias ll ls -lA\n\talias su su -m\n\nTo remove an alias, you can usually use 'unalias aliasname'. To list all\naliases, you can usually type just 'alias'.",
"sig": "f084aa336df8a5cfea815d3bf3319d51f41329729ed25623ab70750fd31ec89c912f2d79a19f3f6718c159dadab5266a6d7bb0104f764a75292b2503e1896b48"
}