Custom archiving specific filetypes in Linux
Using the command line can save you time. Say you want to archive all the .DOC files from your entire /home directory. Use locate .doc | grep /home/ | zip arhivate -@ to obtain an archive of these files.
Using the command line can save you time. Say you want to archive all the .DOC files from your entire /home directory. Use locate .doc | grep /home/ | zip arhivate -@ to obtain an archive of these files.
If you want to find out what processes are currently running, you can use pidof. For example, pidof xmms will return something like t4l@laptop:~$ pidof xmms 9962 9031
To quickly check what group our user is in, we can use the id command. To compress the result in a more easily read output, we can use id -Gn. For example: t4l@laptop:~$ id -Gn t4l adm dialout cdrom floppy audio dip video plugdev lpadmin scanner admin
In Linux, if you want to see what files from your /home folder belong to your user account, you can launch the ls -alFG $HOME command.