fs/ln
This commit is contained in:
parent
e637687ac4
commit
c648265e3b
2 changed files with 11 additions and 9 deletions
11
sh/fs/ln.sh
Normal file
11
sh/fs/ln.sh
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# ln
|
||||||
|
|
||||||
|
#| ln
|
||||||
|
rwx_link() {
|
||||||
|
local link="${1}"
|
||||||
|
local target="${2}"
|
||||||
|
ln \
|
||||||
|
--symbolic \
|
||||||
|
"${target}" \
|
||||||
|
"${link}"
|
||||||
|
}
|
|
@ -2,15 +2,6 @@
|
||||||
# │ util │
|
# │ util │
|
||||||
# ╰──────╯
|
# ╰──────╯
|
||||||
|
|
||||||
rwx_link() {
|
|
||||||
local link="${1}"
|
|
||||||
local target="${2}"
|
|
||||||
ln \
|
|
||||||
--symbolic \
|
|
||||||
"${target}" \
|
|
||||||
"${link}"
|
|
||||||
}
|
|
||||||
|
|
||||||
rwx_list_block_devices() {
|
rwx_list_block_devices() {
|
||||||
lsblk \
|
lsblk \
|
||||||
--noempty \
|
--noempty \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue