Changing a file’s “Date Created” and “Last Modified” attributes to another file’s

I’m using merge cap to create a merge pcap file from 15 files. For the merged file, I have changed the name to that of the first of the 15 files. But I would also like to change the merged file’s attributes like “Date Created” and “Last Modified” to that of the first one. Is there anyway to do this?

How can I have two keystrokes to delete to either a slash or a word in zsh?

Bash behaviour I’ve just migrated from bash to zsh. In bash, I had the following line in ~/.inputrc. "eC-?": unix-filename-rubout Hence, Alt+Backspace would delete back to the previous slash, which was useful for editing paths. Separately, bash defaults to making Ctrl+w delete to the previous space, which is useful for deleting whole arguments (presuming they … Read more

How can I add an application to the Favorites section of the Applications menu in CentOS 7?

I have created a custom application entry in the applications menu for Eclipse as follows in a file /usr/share/applications/eclipse.desktop as follows [Desktop Entry] Version=1.0 Name=Eclipse Exec=/usr/local/eclipse/eclipse Terminal=false Type=Application StartupNotify=true Categories=X-Red-Hat-Extra;Application;Development; X-Desktop-File-Install-Version=0.15 Icon=/usr/local/eclipse/icon.xpm This now appears fine in the Programming section of the Applications menu. How can I add it to the Favorites section? Answers: Thank … Read more

Using a single passphrase to unlock multiple encrypted disks at boot

My machine has an SSD, where I installed the system and an HDD, which I use as a storage for large and/or infrequently used files. Both are encrypted, but I chose to use the same passphrase for them. SSD is mounted at / and HDD at /usr/hdd (individual users each have a directory on it and can symlink as they like from home directory).