Useful commands and scripts
-
TAR Command to archive just the given folder ( no absolute paths )
tar -cvf file_name.tar -C ~/ folder_to_be_archived
-C option will make tar command to change it’s directory from whereever it is to ~/ (home path)
-
To install ncurses lib on fedora
sudo dnf install ncurses-devel-6.4-7.20230520.fc39.x86_64
Note - Hit tab after nucrses-devel. It will pick up available version.