Skip to main content
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

New answers tagged

0 votes

Windows command line window scroll limit

Windows terminal might not, but if you set scroll back to MAXINT lines, you get (2**31)-1 lines in putty. The best way is to fill it with '9's, it will default down to MAXINT, then save it in the ...
Kayla and Jim Bryant's user avatar
0 votes

Bulk open multi tab using Google Chrome Console

More elegant code. Open Developer console by hitting F12 on your keyboard, and then enter the following code: var str = ` `; var ...
Prokur's user avatar
  • 1
10 votes

How does ls know how to output its results?

For a less technical explanation, observe what happens when you try these two commands: $ ls web.config MyApp.runtimeconfig.json $ ls | cat web.config MyApp.runtimeconfig.json ...
gbarry's user avatar
  • 850
32 votes

How does ls know how to output its results?

It calls the isatty() libc function on its stdout file descriptor to determine whether the output goes to a terminal or not. Internally, isatty() attempts to use one of the ioctl() calls that are ...
grawity_u1686's user avatar

Top 50 recent answers are included