List directories recursively in linux/unix

Recursive listing of directories can help us begin to understand the current directory structure. In linux/unix, we can use any of the following commands to...

mkdir recursively create directories in linux/unix

Creating directories recursively can help us greatly improve efficiency during development. In linux/unix, we can use the mkdir command to recursively create directories and subdirectories...

rm delete recursively in linux/unix

How to use the rm command to delete files and directories recursively in linux/unix. Syntax Examples In the following example, recursively delete data folder: First...

sed tutorial: sed replace

Sed replace, you can use the sed function: s, replace the text in the file. syntax: ➜ ~ sed 's/regexp/replacement/' file...

mkdir if not exists in linux/unix

mkdir creates a directory if it does not exist, we can use the mkdir -p option. syntax: mkdir -p foo/bar/baz, will create directories foo, foo/bar,...