groupInfo expandAfterMode 0 groupName Linux snippetsTE2 abbreviation linux:count:file abbreviationMode 1 creationDate 2013-07-16T23:01:34Z flags 0 label Count number of files in directory modificationDate 2013-07-16T23:04:42Z plainText ls -1 %clipboard | wc -l snippetType 0 useCount 0 uuidString D39E4186-5A7B-4287-BF5B-96A17FA0653E abbreviation linux:count:dir abbreviationMode 1 creationDate 2013-07-16T23:01:34Z flags 0 label Count number of directories modificationDate 2013-07-16T23:01:34Z plainText find -mindepth 1 -type d | wc -l snippetType 0 useCount 0 uuidString 8645C3BB-2998-4C22-92F2-7E1D5384AD6D abbreviation linux:process abbreviationMode 1 creationDate 2013-07-16T23:00:16Z flags 0 label Process viewer (interactive) modificationDate 2013-07-16T23:00:16Z plainText htop snippetType 0 useCount 0 uuidString 92F5DE82-FF49-4538-BAFB-7819914F0DDA abbreviation linux:resources abbreviationMode 1 creationDate 2013-07-16T22:58:55Z flags 0 label View resource load report modificationDate 2013-07-16T22:59:14Z plainText top snippetType 0 useCount 0 uuidString FD877FA7-6093-422D-9A18-F0078B740D80 abbreviation linux:resources:i abbreviationMode 1 creationDate 2013-07-16T22:58:55Z flags 0 label View resource load report (interactive monitor) modificationDate 2013-07-16T22:59:14Z plainText atop snippetType 0 useCount 0 uuidString 475F0B23-6DD4-49AF-B55E-E9A4E32A546E abbreviation user:del abbreviationMode 1 creationDate 2013-06-23T07:42:47Z flags 0 label Delete Linux/Unix user modificationDate 2013-06-23T07:43:38Z plainText userdel %fillpart:name=Remove Home directory too:default=yes%-r %fillpartend%%filltext:name=Username% snippetType 0 useCount 0 uuidString 4B36CCA4-C9A0-4BAD-91D4-4FD795B04BA8 abbreviation ssh:add abbreviationMode 1 creationDate 2013-06-23T07:36:24Z flags 0 label Generate new SSH key modificationDate 2013-06-23T07:38:03Z plainText ssh-keygen -t rsa -C "%filltext:name=Comment% Key" snippetType 0 useCount 0 uuidString C9C20D47-3AC1-4558-95C4-3B3B1A7CD121 abbreviation ssh:copy abbreviationMode 1 creationDate 2013-06-23T07:34:57Z flags 0 label Copy SSH public key to clipboard/pasteboard modificationDate 2013-06-23T07:37:59Z plainText pbcopy < ~/.ssh/id_rsa.pub snippetType 0 useCount 0 uuidString 38C40DE0-62CF-4EBA-9E56-CCBB6BE1AB22 abbreviation copy: abbreviationMode 1 creationDate 2013-06-23T07:33:53Z flags 0 label Copy from file to clipboard/pasteboard modificationDate 2013-06-23T07:33:53Z plainText pbcopy < %clipboard snippetType 0 useCount 0 uuidString 7F89E43B-E5F9-46BC-BCE0-13C958EEFC5B abbreviation ssh:pass abbreviationMode 1 creationDate 2013-06-23T07:30:04Z flags 0 label Reset or remove SSH password/passphrase modificationDate 2013-06-23T07:37:54Z plainText ssh-keygen -p -P %filltext:name=Old passphrase:width=35% -N %filltext:name=New passphrase:width=35% %fillpart:name=Key file% -f ~/.ssh/keyfile%fillpartend% snippetType 0 useCount 0 uuidString B49970B6-2B82-4607-88CF-60AAD4F790C9 abbreviation cron:file abbreviationMode 1 creationDate 2013-06-23T07:13:29Z flags 0 label Add crontab tasks from file modificationDate 2013-06-23T07:13:29Z plainText crontab %clipboard snippetType 0 useCount 0 uuidString D56C3B15-EAF9-4C72-8885-9E82D17AD8B1 abbreviation cron:list abbreviationMode 1 creationDate 2013-06-23T07:05:10Z flags 0 label List cron tasks modificationDate 2013-06-23T07:05:44Z plainText crontab -l snippetType 0 useCount 0 uuidString 788A7572-A8F4-4C2A-94E4-E15693A08A55 abbreviation cron:template abbreviationMode 1 creationDate 2013-06-21T18:22:51Z flags 0 label Cron template modificationDate 2013-06-23T07:17:51Z plainText # +---------------- minute (0 - 59) # | +------------- hour (0 - 23) # | | +---------- day of month (1 - 31) # | | | +------- month (1 - 12) # | | | | +---- day of week (0 - 7) (Sunday=0 or 7) # | | | | | # * * * * * /command snippetType 0 useCount 0 uuidString 6474F330-4942-49DA-98AC-6DA593FE10B6 abbreviation grep:text abbreviationMode 0 creationDate 2012-03-18T02:11:04Z flags 0 label Grep search for a string in a file (return only filenames) modificationDate 2012-03-18T02:12:35Z plainText grep -H %fill:search% %fill:files% -R | cut -d: -f1 snippetType 0 useCount 0 uuidString 342BB571-4B53-4FCE-A6F8-43A6ED173298 abbreviation gunzip abbreviationMode 0 creationDate 2012-03-16T06:07:52Z flags 0 label Unzip file modificationDate 2012-03-16T06:08:44Z plainText gunzip %fill:filename%.gz snippetType 0 useCount 0 uuidString 2C77A769-3B10-4043-863D-E49B24811B51 abbreviation curl:url:headers abbreviationMode 0 creationDate 2012-03-16T05:50:09Z flags 0 label CURL a URL (headers only) modificationDate 2012-03-16T05:50:34Z plainText curl -I %fill:URL% snippetType 0 useCount 0 uuidString 3678367E-1496-4BDF-9AE7-9E4024741CE8 abbreviation curl:url:headers:noredirect abbreviationMode 0 creationDate 2012-03-16T05:49:17Z flags 0 label CURL a URL (headers only, no redirect) modificationDate 2012-03-16T05:50:31Z plainText curl -I -L %fill:URL% snippetType 0 useCount 0 uuidString E1250D3B-0B9F-45A5-AD8D-E4A343C8ECB4 abbreviation linux:dig:trace abbreviationMode 0 creationDate 2012-03-16T04:35:57Z flags 0 label Trace network path for a domain modificationDate 2012-03-16T04:36:52Z plainText dig %fill:domainname% +trace snippetType 0 useCount 0 uuidString B950A0B2-61AE-4B44-8928-82E92417F261 abbreviation linux:dig:domain:nameserver abbreviationMode 0 creationDate 2012-03-16T04:34:34Z flags 0 label Query a domain using a specici nameserver modificationDate 2012-03-16T04:35:53Z plainText dig @%fill:nameserver% %fill:domain% snippetType 0 useCount 0 uuidString 37AB492D-3608-42AB-A7F1-C55962BFE3DC abbreviation linux:dig abbreviationMode 0 creationDate 2012-03-16T04:33:15Z flags 0 label Get full DNS info including MX records modificationDate 2012-03-16T04:34:22Z plainText dig %fill:domain% ANY +noall +answer snippetType 0 useCount 0 uuidString AA992CA5-6D8B-4287-9349-B331F7F86270 abbreviation linux:group:add abbreviationMode 0 creationDate 2012-03-16T01:59:39Z flags 0 label Add Linux group modificationDate 2012-03-16T02:00:03Z plainText groupadd %fill:groupname% snippetType 0 useCount 0 uuidString 3B25D9AB-2B34-4EF7-B19B-99F0328CE970 abbreviation linux:install:pear abbreviationMode 0 creationDate 2012-03-13T19:48:21Z flags 0 label Install PEAR (Ubuntu) modificationDate 2012-03-13T19:50:08Z plainText apt-get install php-pear && pear channel-update pear.php.net && pear upgrade-all snippetType 0 useCount 0 uuidString 98DA9E1A-95BD-423C-879F-C4E3F873F3A3 abbreviation system:multicpu abbreviationMode 1 creationDate 2012-02-29T05:25:27Z flags 2 label Multiprocessor Usage modificationDate 2012-02-29T05:25:44Z plainText mpstat -P ALL snippetType 3 useCount 0 uuidString 693C8861-0241-4C7F-82F1-C9B464511406 abbreviation system:cpu abbreviationMode 1 creationDate 2012-02-29T05:24:23Z flags 2 label Average CPU Load, Disk Activity modificationDate 2012-02-29T05:24:23Z plainText iostat snippetType 3 useCount 0 uuidString 8E96E052-C815-4D5C-B44C-656118D05759 abbreviation system:mem:free abbreviationMode 1 creationDate 2012-02-29T05:23:55Z flags 2 label Free memory usage modificationDate 2013-07-16T22:57:55Z plainText free %fillpart:name=Display total:default=yes%-t%fillpartend%%fillpart:name=Units in MB:default=yes%-m%fillpartend% snippetType 3 useCount 0 uuidString 453F64B9-9B23-4633-8EDC-E8117A611961 abbreviation system:mem abbreviationMode 1 creationDate 2012-02-29T05:23:55Z flags 2 label Memory usage (detailed) modificationDate 2013-07-16T22:57:59Z plainText cat /proc/meminfo snippetType 3 useCount 0 uuidString EE782450-5F26-422F-BB1C-F67435D6B777 abbreviation system:mem:vm abbreviationMode 1 creationDate 2012-02-29T05:23:55Z flags 2 label Virtual memory usage modificationDate 2013-07-16T22:58:04Z plainText vmstat snippetType 3 useCount 0 uuidString CB13CAEA-13E3-4DDB-B2AE-E2872516B87F abbreviation system:uptime abbreviationMode 1 creationDate 2012-02-29T05:21:54Z flags 2 label How Long The System Has Been Running modificationDate 2012-02-29T05:22:11Z plainText uptime snippetType 3 useCount 0 uuidString 4ED81531-08A9-4197-B019-1251324336DE abbreviation linux:firewall:restart abbreviationMode 1 creationDate 2012-02-29T04:12:42Z flags 2 label Firewall - restart modificationDate 2012-02-29T04:13:09Z plainText service iptables restart snippetType 3 useCount 0 uuidString E8AA1788-8007-4D84-A0A2-AD413E5B0C18 abbreviation linux:firewall:start abbreviationMode 1 creationDate 2012-02-29T04:12:07Z flags 2 label Firewall - start modificationDate 2012-02-29T04:12:38Z plainText service iptables start snippetType 3 useCount 0 uuidString 54E716EA-0889-4B06-8B8E-7F8DB59641D0 abbreviation linux:firewall:stop abbreviationMode 1 creationDate 2012-02-29T04:11:04Z flags 2 label Firewall - stop modificationDate 2012-02-29T04:12:01Z plainText service iptables stop snippetType 3 useCount 0 uuidString EE3EE6B4-CAAE-4496-BFEE-0A2EFBDDA553 abbreviation linux:firewall:status:numbered abbreviationMode 1 creationDate 2012-02-29T04:09:00Z flags 2 label Display Firewall status with line numbers modificationDate 2012-02-29T04:09:41Z plainText iptables -L -n -v --line-numbers snippetType 3 useCount 0 uuidString DD2A17CB-0A76-42E4-A5D9-00499D0D49D4 abbreviation linux:firewall:status:info abbreviationMode 1 creationDate 2012-02-29T04:07:44Z flags 2 label Display Firewall status modificationDate 2012-02-29T04:09:49Z plainText iptables -L -n -v snippetType 3 useCount 0 uuidString 7BF6E39D-840E-4B64-926C-A06B45DEEF9B abbreviation linux:lsb abbreviationMode 1 creationDate 2012-02-29T03:58:09Z flags 2 label Linux Standard Base (LSB) info modificationDate 2012-02-29T03:58:09Z plainText lsb_release -a snippetType 3 useCount 0 uuidString 204DC0A3-2AFC-489C-B476-ADA14F38127C abbreviation linux:distro:info abbreviationMode 1 creationDate 2012-02-29T03:54:31Z flags 0 label Get Linux Distribution info lastUsed 2012-03-13T19:47:28Z modificationDate 2012-03-13T19:47:23Z plainText cat /etc/*-release snippetType 0 useCount 0 uuidString 860C6935-6259-496B-9998-6C508376601B abbreviation server:hardware:info:basic abbreviationMode 1 creationDate 2012-02-29T03:00:28Z flags 2 label Print machine hardware name and basic info modificationDate 2012-02-29T03:01:30Z plainText uname -mrsn snippetType 3 useCount 0 uuidString D8897146-3950-40C0-A7BC-18E063729209 abbreviation osversion:ubuntu abbreviationMode 1 creationDate 2012-02-29T02:57:03Z flags 2 label Get Ubuntu/Debian Linux version modificationDate 2012-02-29T02:58:14Z plainText dpkg --list | grep linux-image snippetType 3 useCount 0 uuidString 43C602BB-8DB5-46F7-A581-7723619C858C abbreviation osversion:full abbreviationMode 1 creationDate 2012-02-29T02:55:05Z flags 2 label Find Linux/UNIX version (detailed) modificationDate 2012-02-29T02:58:16Z plainText cat /proc/version snippetType 3 useCount 0 uuidString C72CEA0B-9018-428F-814D-82F7D764A2D0 abbreviation osversion:info abbreviationMode 1 creationDate 2012-02-29T02:53:46Z flags 2 label Find Linux/UNIX version modificationDate 2012-02-29T02:58:18Z plainText uname -mrsn snippetType 3 useCount 0 uuidString 06FEFD92-FC61-43EC-8466-ABFFE275CC53 abbreviation cron:working abbreviationMode 1 creationDate 2011-12-31T01:23:42Z flags 2 label Test if cron is working modificationDate 2012-03-18T08:34:08Z plainText crontab -e snippetType 3 useCount 0 uuidString 7A453027-A8D5-4754-B6E1-284A8F18F9CD abbreviation cron:running abbreviationMode 0 creationDate 2011-12-31T01:21:15Z flags 2 label Test if cron is running modificationDate 2012-03-18T08:34:11Z plainText ps ax | grep cron snippetType 3 useCount 0 uuidString CAB85B31-CB82-4540-BC3F-81AB6344CB87 abbreviation ssh:echo abbreviationMode 1 creationDate 2013-06-23T07:38:26Z flags 0 label Print out SSH public key (for current user) modificationDate 2013-06-23T07:38:55Z plainText cat ~/.ssh/id_rsa.pub snippetType 0 useCount 0 uuidString D1462F35-C91D-45D7-A0D6-B790BB3DC043 abbreviation cron:del abbreviationMode 1 creationDate 2013-06-23T07:06:51Z flags 0 label Remove cron tasks (current or specific user) modificationDate 2013-06-23T07:18:26Z plainText crontab -r%fillpart:name=User% -u username%fillpartend% snippetType 0 useCount 0 uuidString AA75952C-820B-4CD3-B9DA-C7C00EE0A018 abbreviation cron:user abbreviationMode 1 creationDate 2013-06-23T07:05:47Z flags 0 label List cron tasks for certain user modificationDate 2013-06-23T07:05:47Z plainText crontab -u %filltext:name=Username% -l snippetType 0 useCount 0 uuidString 23DEBB45-84C7-4C4A-AFDF-F7CE432C231E abbreviation cron:add abbreviationMode 1 creationDate 2013-06-21T18:27:47Z flags 0 label Add cron task modificationDate 2013-06-23T07:17:02Z plainText %fillpart:name=E-mail user or not%MAIL="user@localhost" #empty value suppresses email delivery%fillpartend% %filltext:name=Minute (0-59)% %filltext:name=Hour (0-23)% %filltext:name=Day of Month (1-31):width=30% %filltext:name=Month (1-12)% %filltext:name=Day of Week (0-7, Sunday):width=30% %fillarea:name=Command to run:height=3% snippetType 0 useCount 0 uuidString C1BE5349-008E-4F5B-A0BD-CA463B54F12A abbreviation linus:users:list:home abbreviationMode 0 creationDate 2012-03-16T03:27:22Z flags 0 label List Linux users with home directories modificationDate 2012-03-16T03:27:46Z plainText cat /etc/passwd | grep "/home" |cut -d: -f1 snippetType 0 useCount 0 uuidString 6B9C4466-2A08-4000-9C96-6787DE9C779D abbreviation linus:users:list:home:full abbreviationMode 0 creationDate 2012-03-16T03:26:19Z flags 0 label List Linux users with home directories (full) modificationDate 2012-03-16T03:27:49Z plainText cat /etc/passwd | grep "/home" snippetType 0 useCount 0 uuidString 82FDCDE0-B758-46C6-85BC-212C97ED6F78 abbreviation linux:user:groups abbreviationMode 0 creationDate 2012-03-16T03:24:41Z flags 0 label List Linux user groups modificationDate 2012-03-16T03:24:41Z plainText cat /etc/group | cut -d":" -f1 snippetType 0 useCount 0 uuidString 777C5AE9-B75F-453C-8005-4403F052C04C abbreviation linux:user:groups:full abbreviationMode 0 creationDate 2012-03-16T03:23:05Z flags 0 label List Linux user groups (full) modificationDate 2012-03-16T03:24:57Z plainText cat /etc/group snippetType 0 useCount 0 uuidString 0C03E46B-4ABC-4E45-964B-87A37E8848A4 abbreviation linux:user:list abbreviationMode 0 creationDate 2012-03-16T03:22:07Z flags 0 label List Linux users (names only) modificationDate 2012-03-16T03:22:23Z plainText cat /etc/passwd | cut -d":" -f1 snippetType 0 useCount 0 uuidString AE795656-7BD7-492F-9D0E-8F9C461894C7 abbreviation linux:user:list:full abbreviationMode 0 creationDate 2012-03-16T03:21:03Z flags 0 label List Linux users (unfiltered) modificationDate 2012-03-16T03:22:31Z plainText cat /etc/passwd snippetType 0 useCount 0 uuidString 4231D8D9-C321-4066-9067-D5A91A737E4D abbreviation linux:user:group:primary abbreviationMode 0 creationDate 2012-03-16T02:06:24Z flags 0 label Change existing Linux user primary group modificationDate 2012-03-16T02:07:01Z plainText user mod -g %fill:group% %fill:user% snippetType 0 useCount 0 uuidString 9696CE4E-D2C8-4676-BBDA-A6B2AB5075E8 abbreviation linux:user:group:add abbreviationMode 0 creationDate 2012-03-16T02:04:03Z flags 0 label Add existing Linux user to a group modificationDate 2012-03-16T02:05:55Z plainText user mod -a -G %fill:group% snippetType 0 useCount 0 uuidString 60C6843D-296B-4E08-8A4E-4AF6D5BC644A abbreviation linux:user:details abbreviationMode 0 creationDate 2012-03-16T02:00:23Z flags 0 label Get user info & details modificationDate 2012-03-16T02:00:23Z plainText id %fill:username% snippetType 0 useCount 0 uuidString 7C6786DC-241C-40AF-9E48-55E130FA4C5C abbreviation linux:group:exists abbreviationMode 0 creationDate 2012-03-16T01:58:41Z flags 0 label Check if Linux user group exists modificationDate 2012-03-16T01:59:12Z plainText grep %fill:groupname% /etc/group snippetType 0 useCount 0 uuidString 15B3CE10-2FC7-4F18-AB2C-D3855C466601 abbreviation abbreviationMode 0 creationDate 2012-03-16T01:57:28Z flags 0 label Add new Linux user (w/group) modificationDate 2012-03-16T02:03:26Z plainText useradd -G %fill:groups% %fill:username% snippetType 0 useCount 0 uuidString 23CDAEAD-EBAD-4AC0-924A-DF15D5388450 abbreviation linux:user:password:set abbreviationMode 0 creationDate 2012-03-16T01:54:39Z flags 0 label Set password for Linux user modificationDate 2012-03-16T01:54:39Z plainText passwd %fill:username% snippetType 0 useCount 0 uuidString 1591A00C-F468-4A25-946A-98099AD3B1EB abbreviation linux:user:temp:add abbreviationMode 0 creationDate 2012-03-16T01:52:17Z flags 0 label Add temporary Linux user modificationDate 2012-03-16T01:52:17Z plainText useradd -e %fill:yyyy%-%fill:mm%-%fill:dd% %fill:username% snippetType 0 useCount 0 uuidString 34B04846-1D1B-4AD0-9650-81DC6FFA05E1 abbreviation linux:user:add abbreviationMode 0 creationDate 2012-03-16T01:51:16Z flags 0 label Add Linux user (interactive) modificationDate 2013-06-23T07:41:43Z plainText useradd %fill:username%%fillpart:name=Comment%-c "Comment"%fillpartend% snippetType 0 useCount 0 uuidString 68C9D466-3D9E-4949-8103-12F5E46F32DD abbreviation user:activity abbreviationMode 1 creationDate 2012-02-29T05:20:56Z flags 0 label Find out what a user is doing modificationDate 2012-02-29T05:20:56Z plainText w %fill:username% snippetType 0 useCount 0 uuidString FE20B0FE-0651-49F3-8D0C-F8B44528B1C4 abbreviation users:now abbreviationMode 1 creationDate 2012-02-29T05:20:26Z flags 2 label Find out who is logged in modificationDate 2012-02-29T05:20:50Z plainText w snippetType 3 useCount 0 uuidString 1021A61D-1F5C-4DAE-8904-7047F4D2FD9F