How to get clean data is important, however Excel or any GUI application might not be able to help us clean the raw data. Moreover, if the data set is large, the application might crush. If you are also using unix system like I did, there are many useful utilities that could help with data… Continue reading Data Wrangling with sed
Tag: unix
List all csv file in current directory
I need to list all csv file in a directory and I have to goole how to do it every time I need it. So I’ll write a post to remind myself. Since I only want to list file in current directory not any sub directory. I have to use the maxdepth flag, as find… Continue reading List all csv file in current directory
Enable console(UART) on raspberry pi 4b running ubuntu22.04
I recently had some issue on how to enable UART(console) port on a raspberry pi device. This post will help you configure raspberry pi to be accessible by UART(console) on the board. 01. Edit the config.txt under /boot/firmware. Add “enable_uart=1” in the file or edit if the line already exist. 02. Edit cmdline.txt under /boot/firmware.… Continue reading Enable console(UART) on raspberry pi 4b running ubuntu22.04
How to setup DHCP server on Ubuntu
Sometimes we might need to set up a DHCP server for our testing. Here is how to set up a simple DHCP server in ubuntu. Step 01Update the package repository. Step 02Install isc-dhcp-server package. Step 03Check which interface you want the DHCP server to listen on.In my example the interface is “enp0s25”. Step 04Edit the… Continue reading How to setup DHCP server on Ubuntu
How to set time(zone) on unix server
Step1List timezones with command below. Step2Find the desired timezone in list. Step3Set timezone with the command below. Step4Check the if the timezone has been changed with the command below.