[cs631apue] ls -q and w

Jason Ajmo jajmo at stevens.edu
Wed Oct 11 16:56:34 EDT 2017


You can't type the special characters. They're interpreted as plain
characters. You need to insert the special character codes themselves.

i.e. for \t, hit the tab button on your keyboard.

On Wed, Oct 11, 2017 at 4:54 PM Jeevanandha Ramanathan <jramana1 at stevens.edu>
wrote:

> I am trying to create a file with special characters, using
>
> touch 'foo\n'  'foo\t'  'foo?'
>
> but listing the files using ls command, displays
>
> foo\n foo\t foo?.
>
> I expect it to be
>
> foo? foo? foo?
>
> Am I missing something here?
>
>
>
> Thank you.
>
> Kind regards,
> Jeeva
>
> ----------------------------------------------------
> Jeevanandha Ramanathan
> Stevens Institute of technology
> CS Graduate Student
> email: jramana1 at stevens.edu
>
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs631apue
>
-- 
Jason Ajmo
Stevens Institute of Technology
B.S. Cybersecurity '17
M.S. Computer Science '18
0x56FA3123
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20171011/5d58670d/attachment.html>


More information about the cs631apue mailing list