Skip to content

109 Sandbox

A website made for testing

  • Home
  • All entries
  • Categories
  • Pages
  • Contact

Tag Archives: Linux

How to copy a directory with all its attributes

$ cp -a source-directory destination-directory

Documentation: manpages.debian.org/unstable/coreutils/cp.1.en

Posted byDemetris Kikizas20 Jul 20197 Dec 2020Posted inRecipesTags:LinuxLeave a comment on How to copy a directory with all its attributes

How to extract a tar archive without the leading directory

tar -xzf archive.gz --strip-components=1

tar -xzf archive.tar.gz --strip-components=1

Documentation: manpages.debian.org/unstable/tar/tar.1.en

Posted byDemetris Kikizas15 Dec 201816 Dec 2018Posted inRecipesTags:LinuxLeave a comment on How to extract a tar archive without the leading directory

How to run a cron job every 15 minutes

*/15 * * * *

The line above will run the job on the hour and then on minutes 15, 30 and 45. It is the same as the more verbose:

0,15,30,45 * * * *

The verbose syntax can be used to specify minutes other than 0, 15, 30 and 45. For example:

5,20,35,50 * * * *

Posted byDemetris Kikizas15 Dec 201816 Dec 2018Posted inRecipesTags:LinuxLeave a comment on How to run a cron job every 15 minutes
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Est enim effectrix multarum et magnarum voluptatum. Quodcumque in mentem incideret, et quodcumque tamquam occurreret. Nulla erit controversia. Minime vero istorum quidem, inquit. Duo Reges: constructio interrete. This is the link, which is a bit long...

Categories

  • Android
  • CSS
  • Edge cases
  • JavaScript
  • Linux
  • Lorem
  • Markup
  • Media
  • Miscellaneous
  • Post Formats
  • Recipes
  • Software
  • Templates
  • Testing
  • Web
  • Windows
  • WordPress

Meta

  • Log in
  • Entries feed
  • Comments feed
  • About
  • Activity
  • All entries
  • Blog
  • Categories
  • Classes
  • Contact
  • Front Page
  • Lights
  • Members
  • Ninja Forms
  • Pages
  • Panels
  • Plugins
  • Schedule an Appointment
  • Tests
  • Level 1
  • Lorem Ipsum
  • Page A
  • Page B
109 Sandbox, Proudly powered by WordPress.