De acordo com as Leis 12.965/2014 e 13.709/2018, que regulam o uso da Internet e o tratamento de dados pessoais no Brasil, ao me inscrever na newsletter do portal DICAS-L, autorizo o envio de notificações por e-mail ou outros meios e declaro estar ciente e concordar com seus Termos de Uso e Política de Privacidade.
Colaboração: Rubens Queiroz de Almeida
Data de Publicação: 22 de Outubro de 1997
Recomenda-se que o comando rm
principalmente de usuários poderosos como
root, sejam transformados em algo do tipo rm -i
. Desta forma, a cada
arquivo que se desejar remover, o sistema solicitará a confirmação.
É claro, que para um grande número de arquivos, isto passa a ser mais um
aborrecimento do que uma medida de precaução. Nestas situações, para utilizar
o comando sem a conversão imposta pelo alias
, basta precedê-lo pelo caractere
\
.
Veja só:
# rm *
rm: remove a? s
rm: remove? n
rm: remove 00index.txt? s
...
Quando o número de arquivos for grande e você tiver certeza do que está fazendo:
# \rm *Concluindo, deixe o comando
rm
do usuárioroot
com umalias
pararm -i
. Quando precisar fazer deleções em massa, utilize\
para evitar a conversão apenas naquele momento.Adicionar comentário
x Insert Bullet ListPlease enter at least one item.Item:Item:Item:Item:Item:x Insert Numeric ListPlease enter at least one item.Item:Item:Item:Item:Item:x Insert LinkPlease enter the link of the websiteOptionally you can add display textx Insert EmailPlease enter the email addressOptionally add any display textx Insert ImagePlease enter the link of the imagex Insert YouTube VideoPlease enter the link of the videox Política de PrivacidadeThis policy contains information about your privacy. By posting, you are declaring that you understand this policy:
- Your name, rating, website address, town, country, state and comment will be publicly displayed if entered.
- Aside from the data entered into these form fields, other stored data about your comment will include:
- Your IP address (not displayed)
- The time/date of your submission (displayed)
- Your email address will not be shared. It is collected for only two reasons:
- Administrative purposes, should a need to contact you arise.
- To inform you of new comments, should you subscribe to receive notifications.
- A cookie may be set on your computer. This is used to remember your inputs. It will expire by itself.
This policy is subject to change at any time and without notice.
x Terms and ConditionsThese terms and conditions contain rules about posting comments. By submitting a comment, you are declaring that you agree with these rules:
- Although the administrator will attempt to moderate comments, it is impossible for every comment to have been moderated at any given time.
- You acknowledge that all comments express the views and opinions of the original author and not those of the administrator.
- You agree not to post any material which is knowingly false, obscene, hateful, threatening, harassing or invasive of a person's privacy.
- The administrator has the right to edit, move or remove any comment for any reason and without notice.
Failure to comply with these rules may result in being banned from submitting further comments.
These terms and conditions are subject to change at any time and without notice.
{"commentics_url":"\/\/www.dicas-l.com.br\/com\/comments\/","page_id":102911,"enabled_country":false,"country_id":0,"enabled_state":false,"state_id":0,"enabled_upload":false,"maximum_upload_amount":3,"maximum_upload_size":5,"maximum_upload_total":5,"captcha":false,"captcha_url":"","cmtx_wait_for_comment":"cmtx_wait_for_comment","lang_error_file_num":"A maximum of %d files are allowed to be uploaded","lang_error_file_size":"Please upload files no bigger than %.1f MB in size","lang_error_file_total":"The total size of all files must be less than %.1f MB","lang_error_file_type":"Only image file types are allowed to be uploaded","lang_text_loading":"Carregando ..","lang_placeholder_country":"País","lang_placeholder_state":"Estado","lang_text_country_first":"Por favor, selecione um paás antes","lang_button_submit":"Adicionar comentário","lang_button_preview":"Visualizar","lang_button_remove":"Remover","lang_button_processing":"Por favor aguarde ..."}{"commentics_url":"\/\/www.dicas-l.com.br\/com\/comments\/","language":"portuguese"}
Comentários