[cs631apue] ls -q and w

Patrick Grasso pgrasso at stevens.edu
Wed Oct 11 17:01:38 EDT 2017


Sometimes you have to do Ctrl-V + literal key (ENTER, TAB, etc.) because
the shell catches these keys, as is the case for me.

On Wed, Oct 11, 2017, 4:56 PM Jason Ajmo <jajmo at stevens.edu> wrote:

> 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
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs631apue
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20171011/89f19c13/attachment.html>


More information about the cs631apue mailing list