• Archives
  • All Categories
  • All Tags

directory

2 articles

bash comment database date datetime deluser df dictionary directory disk dmesg du file for host ip kernel len linux list log mkdir mysql nano network ping postgresql python rm rmdir route sed text editor time timestamp tmux traceroute tuple user userdel vim while
Delete Command In Linux

Delete Command In Linux

Saturday, Aug 10, 2024

Linux provides different delete commands for files and directories. rm , rmdir or find commands can be used to delete files and directories easily. Here are 10 examples of the delete command (typically handled using rm, rmdir, or similar commands) in Linux: Delete a single file: The rm command is used to remove files and directories. We can simply call rm as the Linux delete command. WE can delete single file with the rm command like below.
@ İsmail Baydan
3 minutes read
How to mkdir -p only if a directory does not already exist?

How to mkdir -p only if a directory does not already exist?

Wednesday, Aug 7, 2024

Linux bash provides the mkdir command in order to create directory. By default the mkdir command creates single directory but can not create child or sub directories. The mkdir -p command is used to create new directory with subdirectories or child directories. Create a single directory: You can create single directory with sub directories like below. mkdir -p /path/to/directory Create multiple nested directories: You can create single directrory with nested child directories.
@ İsmail Baydan
2 minutes read

© 2024 Linux and Python Tutorials

🌱 Powered by Hugo with theme Dream.