Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions for deleting soft link file #1917

Closed
wants to merge 2 commits into from

Conversation

jimcat8
Copy link
Contributor

@jimcat8 jimcat8 commented Mar 11, 2024

Author checklist (Completed by original Author)

  • Good fit for the Rocky Linux project? Title and Author Metatags inserted ?
  • If applicable, steps and instructions have been tested to work
  • Initial self-review to fix basic typos and grammar completed

Rocky Documentation checklist (Completed by Rocky team)

  • 1st Pass (Document is good fit for project and author checklist completed)
  • 2nd Pass (Technical Review - check for technical correctness)
  • 3rd Pass (Detailed Editorial Review and Peer Review)
  • Final approval (Final Review)

Copy link

Test results for d47812b:

Number of broken URLs: 2

URL,RESULT,FILENAME
 https://azure.microsoft.com/en-us/,failed,guides/automation/templates-automation-packer-vsphere.md
 https://www.linode.com/docs/guides/beginners-guide-to-lxd-reverse-proxy,failed,guides/containers/lxd_web_servers.md


When using soft link for a single directory (for example, `ln -s /etc/ /tmp/etc.slink`), if the user wants to delete the soft link file, please note:

* The command `rm -rf /tmp/etc.slink/` will delete **all** files under the directory /etc/. The correct way is to not add the trailing "/" character, such as `rm -rf /tmp/etc.sink`. For beginners, it is especially necessary to pay attention to!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please start with unlink command and then the rm way... But it's never a good idea to do a rm -Rf for something that is not a directory (R is for recurse and is not necessary)

@wsoyinka
Copy link
Member

wsoyinka commented May 5, 2024

@alemorvan - Kindly help review, edit, merge or close this PR . Thank you

@jimcat8 jimcat8 closed this May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants