- ALGOL 68
- Raspberry Pi
- Raspberry Pi 3
- X windows
- Setting the network MTU size
- Implementing 'cat' in Python (reading a file character by character)
- Determine MTU size using ping
- GNOME 3 Customizing the login screen
- A (not so) minimal implementation of 'cat' in C
- Minimal GNOME 3 Install on Debian (jessie)
- Set Linux Console Height and Width
- Installing Lighttpd with Python CGI support
- Prompting for a Yes/No response (BASH)
- Configure a network interface to have no IP address
- 660,642 hits
Tag Archives: bash
Another one liner that just counts the number of sub directories. $ find ./* -type d | wc -l Note – Remember to use ./* if you don’t want to include the current directory itself in the total.
The following script makes it easy to set the MTU size if you are using RedHat or CentOS 7.x, and has also been tested successfully on RedHat 6.x.
Normally the MTU size should be set correctly using Path MTU discovery, but this may not always work.
This one liner can remove the version numbers from any string (providing they start with a hyphen and a digit).
I recently discovered that is it actually rather difficult to determine which packages depend on a particular package using the RedHat Package Manager, and I ended up writing a short script to list all the dependencies for a particular package.
Obviously when I want to compare two files I’m going to use diff .
Or how to use up a lot of disk space real quick…!
There are several ways to check which version of Debian, Ubuntu or Raspbian you are running.
You can use ssh to execute a command on a remote machine, in this case to shut it down, which can be particularly useful if you want to turn off a Pi gracefully but don’t have a keyboard or screen … Continue reading
This script will determine what packages you have installed and download a copy of each package to you current folder.