Tag: Linux

Remove the same part of many filenames via command line

I have multiple files with same suffix and need to remove the suffix.

Tagged with: , , , , , ,

Install the Adafruit FT232 Python GPIO Library and libFTDI in Fedora 25 26 27

Adafruit has a great write up on using the FT232 breakout board with Linux.  Unfortunately, its not for our branch of Linux. Here’s how to get the FTDI and GPIO libraries installed on your machine.   Install libftdi At this

Tagged with: , , , , , , , , ,

HOWTO: Install Poisontap on Raspberry Pi Zero 1.3 – Linux/Windows IN PROGRESS

Prerequisites Raspberry Pi Zero 4GB or larger microSDHC card, with either USB or SD card adapter for PC Mini HDMI to HDMI adapter Mini USB to female USB-A adapter USB-Fast Ethernet adapter Powered USB 2.0 hub Install an OS on

Tagged with: , , , , , , , , , ,

Delete a stubborn Linux file

Delete the file by it’s inode. 12345 is the inode number returned in the ls command. $ su – Password: xxxxxxx # ls -il # find . -inum 12345 -exec rm -i {} \;

Tagged with: , ,

PCHAOS’s VMWare 10.0.0.5 Compile/Install Errors in Fedora 21

Pchaos informed me that my original patch didn’t work.  From his original source, I created this patch: Switch to root and install the necessary packages which may be missing. su – yum install kernel-dev* gcc* patch Create these patch files

Tagged with: , , , , , , ,

VMWare 10.0.0.5 Compile/Install Errors in Fedora 21

PChaos says that this patch didn’t work for him.  If this patch fails for you, try his solution. If you’re seeing the following VMWare 10.0.0.5 errors during compile, you need patches: /usr/lib/vmware/modules/source/vsock-only/linux/af_vsock.orig.c:2873:18: error: incompatible types when assigning to type ‘kuid_t’

Tagged with: , , , , , ,

VMWare 10.0.0.1 Compile/Install Errors in Fedora 21

If you’re seeing the following VMWare 10.0.0.1 errors during compile, you need patches: vmnet-only/filter.c:206:1: error: conflicting types for ‘VNetFilterHookFn’ vmnet-only/netif.c:152:64: error: macro “alloc_netdev” requires 4 arguments, but only 3 given vmnet-only/netif.c:152:10: error: ‘alloc_netdev’ undeclared (first use in this function) vmci-only/linux/driver.c:740:12:

Tagged with: , , , , , , ,

Rename Jpgs in a Directory with a Prefix and Sequential Numbers

$ cd pictureDirectory $ find -name ‘*.jpg’ | gawk ‘BEGIN{ a=1 }{ printf “mv %s MY_FILE_PREFIX_%02d.jpg\n”, $0, a++ }’ | bash Adapted from Pero’s post at Stackoverflow.

Tagged with: , , , , , , ,

[HOWTO] Automount a LUKS partition

Switch up to root su – Password: xxxxx Get partition UUID from gparted or the device tree. Select the drive and highlight the partition, right click, select Information, ex: ebd47bb4-8912-4688-a8e8-f895ac27fdd6 gparted & or ls -l /dev/disk/by-uuid Add the UUID to

Tagged with: , , ,

[HOWTO] Change window focus in Gnome 3

By default window focus is set to ‘click’ where a user must click in a window to gain it’s focus. This is far from optimal. Switch up to root su – Password: xxxx Install dconf-config, and editor. yum -y install

Tagged with: , , ,
Top