PHPnews.io

Overview for 'sebastiandedeyne'





Listing directories

Written by Sebastian De Deyne / Original link on Mar. 18, 2020

A listing of my favorite ls features.To know wich directory you're in now, use the pwd command. pwd stands for “print working directory”.> pwd/Users/sebastiandedeyne/Sites/testList the current directory, use the ls command. ls is short for “list”.> lsREADME.md assets index.htmlInclude hidden…


Unix things I always forget

Written by Sebastian De Deyne / Original link on Mar. 18, 2020

I've been a Mac user for over a decade now. Over time I've added more and more Unix commands to my muscle memory.List a directory? ls. Create a new file? touch.But there are also pesky tasks that come up once in a blue moon.List a directory in a single column to copy paste? ls -whoknows. Find all…