TorryCrass.com

  • About
  • Gallery

Commands

Helpful Commands

List Files With Found Contents in Linux

There are so many ways to slice, dice, parse, and of course search through files in Linux. This is but one of those ways. What makes this method fancy is that it we go from finding and printing contents of all the files found to listing the columns related to Read more…

By Torry Crass, 7 years7 years ago
Helpful Commands

List Locked Accounts in Linux

So you’re facing a system or security audit and you need to quickly print a list of accounts for the auditor as well as their statuses. Depending on your setup, this could be a trivial task. In other cases, especially with a passwd instance that doesn’t support the -a option, Read more…

By Torry Crass, 11 years11 years ago
Helpful Commands

Linux File Removal Error: Argument list too long

When you run a removal command in Linux with the recursive and force options enabled (rm -rf *), you don't expect to get back a failure message.  After all, YOU FORCED IT!  However, it just so happens that even with force, you can encounter a situation where the list of Read more…

By Torry Crass, 11 years11 years ago
Helpful Commands

Linux User Creation and Password Update with Simple Command Chaining

I needed to create a user, grant them super user sudo privileges, update user account passwords and expire them across a number of different servers so that the actual user could log in and be forced to change their password to a (hopefully) secure one after I was complete.  Initially, Read more…

By Torry Crass, 11 years11 years ago
Helpful Commands

Bulk Respond To Confirmation Prompts in Linux

This is quite the little zinger from time to time so I thought I would jot down a quick post on it, mainly for my memory, and for anyone else who might be looking for a similar solution. For example, when you run the following, you could be required to Read more…

By Torry Crass, 11 years11 years ago
Helpful Commands

Setting File and Directory Permissions Recursively on Linux

This is always a handy set of commands to have laying around.  There are many sites that provide the same info, but I use it often enough that I thought I would put it up to have it handy for me as well.  If you accidentally reset a bunch of Read more…

By Torry Crass, 11 years11 years ago
Helpful Commands

Use sed to Remove Characters in a File

I needed to come up with this and it took me a bit to find the simplest solution so I thought I would share it. Please note that this is a Linux solution. Problem: You have one line in a multi line file that contains a character (or set of Read more…

By Torry Crass, 11 years ago

Posts navigation

1 2 Next
Categories
  • Business (1)
  • Helpful Commands (23)
  • Notes (2)
  • Poetry (38)
  • Quips (3)
  • Scripting (6)
  • Security (19)
  • Technical (73)
  • Updates & News (9)
Valuable Products

Affordable Linode VPS

Help Others With Kiva

0.5GB Extra Storage with OneDrive

2GB Free Storage With Dropbox

 

Copyright & Image Usage
Content and images on this site are property of Torry Crass or their respective owners where cited or referenced.
Some images used through public domain licensing and obtained via http://www.publicdomainpictures.net/

© 2010 - 2018 TorryCrass.com

  • Gallery
  • NMP License v1.0
Hestia | Developed by ThemeIsle