Explore tweets tagged as #BuildAndDeploy
@BuildAndDeploy
Vicky 🐧
9 months
1️⃣ Basic Usage:.To create an empty file:
Tweet media one
1
0
0
@BuildAndDeploy
Vicky 🐧
9 months
1️⃣ Basic Usage:.To delete a file:.rm [File name]
Tweet media one
1
0
0
@BuildAndDeploy
Vicky 🐧
9 months
1️⃣ Basic Usage:.To remove a single empty directory:.Example:
Tweet media one
1
0
0
@BuildAndDeploy
Vicky 🐧
9 months
2️⃣ Removing Multiple Files:.You can delete multiple files at once:
Tweet media one
1
0
0
@Infomatics6452
Aglin Infomatics
8 days
Long release cycles and last-minute bugs slowing things down? Bridge the gap between dev and deployment with smarter DevOps. #aglininfomatics #devops #cicd #automationpipeline #fasterdeployment #techops #softwaredelivery #buildanddeploy #cloudnative
Tweet media one
Tweet media two
Tweet media three
Tweet media four
0
0
0
@BuildAndDeploy
Vicky 🐧
9 months
3️⃣ Deleting Directories:.To remove a directory and all its contents, use the -r (recursive) flag:
Tweet media one
1
0
0
@BuildAndDeploy
Vicky 🐧
9 months
2️⃣ Creating Multiple Files:.Create multiple files at once by separating names with spaces:
Tweet media one
1
0
0
@BuildAndDeploy
Vicky 🐧
9 months
💡 Pro Tip:.Combine flags for safe deletion. This prompts you before deleting each item inside a folder.
Tweet media one
0
0
0
@BuildAndDeploy
Vicky 🐧
9 months
4️⃣ Prompt Before Deletion:.Use the -i flag for interactive deletion. It asks for confirmation before deleting each file:
Tweet media one
1
0
0
@BuildAndDeploy
Vicky 🐧
9 months
4⃣ Handling Errors:.If you try to create a directory that already exists, mkdir will return an error:.And to avoid this, check with ls before creating a directory.
Tweet media one
1
0
0
@BuildAndDeploy
Vicky 🐧
9 months
3⃣ Verifying Directory Creation:.After creating directories, list them with:.ls -l.Directories are marked with a d at the start of the permissions. Example:
Tweet media one
1
0
0
@BuildAndDeploy
Vicky 🐧
9 months
so, you must remove the contents first. 3️⃣ Removing Nested Directories:.Use the -p flag to remove a directory along with its empty parent directories:.Command: rmdir -p Parent/Child
Tweet media one
1
0
0
@BuildAndDeploy
Vicky 🐧
9 months
This deletes the folder Vicky if it’s empty. 2️⃣ Handling Non-Empty Directories:.rmdir works only with empty directories. If the folder contains files, you’ll get an error:
Tweet media one
1
0
0
@BuildAndDeploy
Vicky 🐧
9 months
2⃣ Creating Nested Directories:.Use the -p flag to create parent and child directories in one go:. mkdir -p Parent/Child/Grandchild. Without -p, it would fail if the parent directories didn’t already exist.
Tweet media one
1
0
0
@QAValley
QA Valley, Inc.
2 days
Tweet media one
0
0
0
@BuildAndDeploy
Vicky 🐧
9 months
5⃣ Special shortcuts: Combine mkdir with cd to streamline workflows: This creates the directory and immediately moves you into it! #BuildAndDeploy #DevOpsJourney #RedHat #LinuxCommands #SysAdmin #TechTips #Automation
Tweet media one
0
0
0
@BuildAndDeploy
Vicky 🐧
9 months
Linux Command Mastery: Day 7 🧵👇.Today’s focus is on rm—a powerful tool to delete files and directories. Use it wisely! 🗑️⚡. Let’s explore how to remove files and directories effectively while avoiding mistakes. 🧵👇.
1
0
0
@BuildAndDeploy
Vicky 🐧
9 months
💡 Linux Command Mastery: Day 8.🔍 Today’s command: touch 📄.1️⃣ What does touch do?.The touch command is your go-to for creating empty files and updating file timestamps. Whether setting up placeholder files or modifying timestamps, this command is a time-saver!.
1
0
0
@BuildAndDeploy
Vicky 🐧
9 months
Linux Command Mastery: Day 6 🧵👇. 🔍 Today's command: rmdir 🗑️.rmdir stands for Remove Directory. It’s used to delete empty directories from your Linux filesystem, helping you stay organized and clutter-free. Let’s break it down!.
1
0
0