User account menu



 

 





Supported by Red Hat



Main navigation



Articles  

Resources  

What is open source?  

The open source way  



Projects and applications  

Organizations  

Open source alternatives  

Alternatives to Acrobat  

Alternatives to AutoCAD  

Alternatives to Dreamweaver  

Alternatives to Gmail  

Alternatives to MATLAB  

Alternatives to Minecraft  

Alternatives to Google Photos  

Alternatives to Photoshop  

Alternatives to Skype  

Alternatives to Slack  

Alternatives to Trello  

More...  



Linux  



Downloads  

Frequently Asked Questions  







verdy_p  



45 points  


Open Enthusiast
 


Authored Comments







verdy_p



6 Linux metacharacters I love to use on the command line

The "caret" is not even a metacharacter of the command line shell. It is a metacharacter used in programs you run from the shell, that use the given parameters as a regular expression.
This is not the same for "*" which is intepreted by the shell "patterns" (not regexps).

There's are more useful shell metacharacters:
- dollar ($) for the value of environment variables
- backquotes (`) in pairs for inserting the output of a subcommand into the command line of another command: this is my favorite just after the I/O redirectors ("|", "<", ">") as it captures an ouput only in memory without needing any named variable.
 





verdy_p



How to reset a Windows password with Linux

This only works if your Windows drive is not encrypted. If you have encrypted it using the storage option of Windows, you won't even be able to mount the volume correctly and edit its content from an external tool to clear the password stored in the SAM registry file, you first need the password.
It may also not work if the encryption password comes from the TPE module which won't allow you to boot from the external drive which was not first allowed to run as it was not signed.
But anyway it's good to signal users that their Windwos password is not a real protection for their data, and that it can be easily cleared in most cases: suppose your PC is stolen (or seized by the police/justice...), they know what they can do easily to enter your drive and get access to all the contents.
Also clearing a password this way may invalidate all access tokens that allow you to use some remote sites or storage that will need a new authorization, because the SAM database will no longer have the necessary access tokens.Your PC will then be "disconnected" from a secure corporate domain and you'll need to contact the domain admin to reauthorize your PC (and fbefore they accept to reconnect you they'll want to inspect your PC, and may force you to resintall it completely).
So don't do that to bypass the protections that have been set in a corporate domain against such personal use of a PC you don't really own and have no right to adminsiter yourself.
 





 









About This Site


The opinions expressed on this website are those of each author, not of the author's employer or of Red Hat.

Opensource.com aspires to publish all content under a Creative Commons license but may not be able to do so in all cases. You are responsible for ensuring that you have the necessary permission to reuse any work on this site. Red Hat and the Red Hat logo are trademarks of Red Hat, LLC, registered in the United States and other countries.

A note on advertising: Opensource.com does not sell advertising on the site or in any of its newsletters.

 









Copyright ©2021 Red Hat, LLC

 


Privacy Policy  

Terms of use