Blog
linux
Extract tar or just a gzipped file on Linux
Mon, 23 March 2020Quite simply, compressing and decompressing files on Linux is incredibly easy, albeit that developers and sysadmins seem to be forever searching the web for the commands.To decompress (untar) a tar.gz archive:$ tar -xzf archive.tar.gz If you've got a gz (gzipped) file, the command would be:$ gunzip... read more
Show the octal file permissions from Linux command line and Mac terminal
Mon, 23 March 2020It's helpful to have an understanding of file permissions on a unix system. I've seen all too regularly someone just wildly issue a 777 of an entire directory.Performing just a list of files, for example with `ls -la` or for those of us who use aliases, `ll`.Thankfully, there's a much easier way. It... read more