Remove a directory from inside using the command line interface

Imaging the next simple file structure within the /home/user/ directory: /home/user |–dir0 |–dir1 |–file1 My current directory is ‘dir1’ and I remove the directory from inside with the following command: rm -r ../dir1 After that (and not getting any errors on the terminal), the working directory still is the same and when using the command … Read more

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?