bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Double slash root cwd


From: Jonathan Ździarski
Subject: Double slash root cwd
Date: Sun, 11 Dec 2016 16:10:59 -0500

Hey there-

Noticed in bash you can cd into paths prefixed with double slash; e.g. “cd 
//usr/sbin” and it will set the pwd environment variable as such; not sure if 
this was intended or not, but can see where some poor guy’s aliases or bash 
scripts are likely to barf.

Jonathan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]