[Ubuntu-BD] bitwise right shift (>>)
Shabab Mustafa
shabab at linux.org.bd
Sun Mar 25 07:27:05 UTC 2012
It is a standard I/O redirector. It means "append this output to the end of
that file".
Suppose, someone has a file named a.txt and a.txt has a value X in it. Now,
if we run
echo 'Y' > a.txt
it will replace the file a.txt and will have value Y. And if we run
echo 'Y' >> a.txt
it will append '2' at the end of the file and a.txt will show XY .
---
Shabab Mustafa
On Sun, Mar 25, 2012 at 1:02 PM, Kabbo Sarker <kabyaa1 at gmail.com> wrote:
> You should specify where, in C++ right? Or in linux shell?
>
>
> --
> Ubuntu Bangladesh
> https://lists.ubuntu.com/**mailman/listinfo/ubuntu-bd<https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd>
>
More information about the ubuntu-bd
mailing list