Skip to content

while (true) { }

notes from a developer, tutorials, how-to, ideas

Tag: bash

Posted on 26 September 201225 May 2018

[BASH] Create big file (custom) size

This create a 15Mb file. For any use.

[code lang=”bash” autolinks=”false” collapse=”false” firstline=”1″ gutter=”true” htmlscript=”false” light=”false” padlinenumbers=”false” smarttabs=”true” tabsize=”4″ toolbar=”false”]dd if=/dev/random of=BigFile.dat bs=1500000 count=10[/code]

Continue reading “[BASH] Create big file (custom) size”

Posted on 16 September 201224 May 2018

[OSX-SHELL] Get Memory Informations

A simple python script to get your RAM status faster on MAC OSx.

Continue reading “[OSX-SHELL] Get Memory Informations”

Posted on 16 December 201125 May 2018

[SHELL] Count lines of code in all files recursively

Here a unix command line script to count code lines for your project (or something else!).

Continue reading “[SHELL] Count lines of code in all files recursively”

Posted on 8 July 201025 May 2018

[Shell] Argument list too long

As a Linux user, you may have to get the following error:

bash: /bin/rm: Argument list too long

There are a lot of methods to resolve this issue, but I use this stupid and simple one:

Continue reading “[Shell] Argument list too long”


Recent Posts

  • Swift – Simple full screen loader 11 August 2022
  • macOS – Disable microphone while typing 11 April 2022
  • iOS – Secure app sensitive information 25 March 2022
  • DIY: Hack Weward for iOS 8 March 2022
  • Swift – Circular button bubbles with gravity 26 November 2021
  • Swift – Have fun with GravityBehavior and DynamicAnimator 19 November 2021

Archives

Proudly powered by WordPress