Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux alternatives to tree

#replica of tree comand using find and sed
function tree() {
    find ${1:-.} | sed -e "s/[^-][^/]*//  |/g" -e "s/|([^ ])/|-1/"
}
Comment

PREVIOUS NEXT
Code Example
Shell :: vim change all spaces to tabs 
Shell :: git how to add remote 
Shell :: install ros 
Shell :: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied 
Shell :: oh my zsh 
Shell :: compress to tgz linux 
Shell :: Reinstalling SpaceVim Plugin 
Shell :: rsync backup 
Shell :: cannot update paths and switch to branch at the same time 
Shell :: manjaro linux system information 
Shell :: install blender on Debian Linux 
Shell :: cudaa nn version 
Shell :: drf social auth 
Shell :: aircrack-ng install command 
Shell :: video editor for ubuntu 21.10 
Shell :: mkdir -p option 
Shell :: copy files from local to host ssh 
Shell :: sudo pip3 install 
Shell :: run docker as user not root 
Shell :: how to restore deleted branch in git 
Shell :: raspberry pi ubuntu server raspi-config 
Shell :: how to download virtualbox on kali linux 
Shell :: sudo: yum: command not found 
Shell :: install wordpress on centos 7 
Shell :: Fetch submodules recursively 
Shell :: powershell help 
Shell :: how to deploy heroku app 
Shell :: tailwind installation 
Shell :: signing key android 
Shell :: github deploy server 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =