rm command

I am a new Unix user. How do I rm (remove) all files in a directory called personal-files under Unix like operating systems?

{ 3 comments }

I am using yum update command with RHN to upgrade packages installed on my server, but getting the following warning on screen :

yum update -y
Loaded plugins: product-id, protectbase, rhnplugin, security, subscription manager:
Updating certificate-based repositories.
Unable to read consumer identity
0 packages excluded due to repository protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
...&ltsnip>

How do I get rid of this warning /error under RHEL 6 server?

{ 2 comments }

How do I find out all empty files and directories under Linux / Apple OS X / BSD / Unix like operating systems and delete them in a single pass?

{ 4 comments }

I‘d like to remove /dev/sdc5 temporarily without deleting partitions on hard drive /dev/sdc under Linux operating systems?

{ 9 comments }

How do I remove a symlink under Apple Mac OS X using bash command line option?

{ 1 comment }

I have aws.sg.pub and ibm.sl.pub file for ssh login. How do I delete ssh key file called ~/.ssh/aws.sg.pub using the terminal on Apple Mac OS X?

{ 0 comments }

How do I delete (remove) a directory called $HOME/foo and its content including all files and sub-directories under Unix like operating systems? What is the best way to completely delete /tmp/foo/ with all it’s content?

{ 0 comments }