Skip to content
This repository has been archived by the owner on Jul 26, 2020. It is now read-only.

derektamsen/folder-o-tricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This contains random shell one liners. Some modifications maybe needed so copy and paste with care.

At the top of each file you will find what shell and os they were tested on.

SUMMARY:
- loop_pkill.txt = This can be used if you need to kill a process every several minutes. The example I have used is in the case of a postgres connection that is trying to execute a query that consumes all the db cpu's. This will give you time to track down the incoming connection and turn it off

- svn_client.txt = Simple svn one liners. One of the examples is adding all new files to svn under multiple directories.

- simple_for_loops.txt = Simple bash one liner for loops for common things. An example would be to remove all but the 32 most recent files in a directory.

- (dir) kickstart = contains scripts for use when kickstarting linux operating systems.

About

Random Shell One Liners

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages