Reputation
Next tag badge:
score
answers
Badges
17 137 278
Newest
 Guru
Impact
~4.0m people reached

1d
answered Copy files with parent folder to a new directory
1d
comment How to get system time with microsecond Resolution
What language? The system calls are clock_gettime() and gettimeofday(), though in recent Linux that can be via vdso
1d
revised Print text between two patterns not containing a particular word
added 250 characters in body
1d
answered Print text between two patterns not containing a particular word
1d
revised Print text between two patterns not containing a particular word
formatting
1d
answered Terminal does not accept pasted or typed lines of more than 1024 characters
1d
comment How to get system time with microsecond Resolution
@Coderaemon What do you consider being the querying time? When you press enter after having entered that hypothetical command, or when the signal from the keyboard reaches the USB controller, or when the X server reads that from the input device, or when it generates the keypress event, or when your terminal emulator processes that event or when it writes the corresponding CR character to the tty device, or when your shell reads that command from the tty device, or when the shell spawns the process to execute the command...
1d
comment How to get system time with microsecond Resolution
Note that's GNU specific. date +%s%6N for microseconds.
1d
comment How to get system time with microsecond Resolution
Please clarify what you mean by delay. Monitors usually don't update their display more than a few dozen times per second. Your brain will take several hundredth of seconds to process the image it sees on the screen, so in any case, if that time is just for display and not for comparison with another time, sub-second resolution is mostly meaningless.
1d
comment How to get system time with microsecond Resolution
@Coderaemon, delay between what and what? Between you pressing enter and the displayed date reaching your retina? You know pressing enter will take several thousand microseconds right?
1d
revised How to get system time with microsecond Resolution
added 535 characters in body
1d
answered How to get system time with microsecond Resolution
1d
reviewed Approve How can I end a here-document that starts with <<\\$fff?
1d
revised How to get system time with microsecond Resolution
edited body
1d
comment csh: setting command completion for `cd` to show both directories and files
@BluVio, a directory is one of many types of files. You've got regular files (probably the ones you're thinking of), devices, directories, fifos, symlinks, sockets, and more depending on the system. The f is for that general meaning of file.
1d
revised Meaning of '&' in C (here in linux kernel function-like Macros)
That's a question about C syntax
1d
revised How can I end a here-document that starts with <<\\$fff?
clarification attempt.
1d
comment csh: setting command completion for `cd` to show both directories and files
@BluVio, the tcsh man page comes to mind. Can't help you much more, I switched from tcsh to zsh decades ago, and I tend to agree with the general opinion that there's no point using (t)csh in this day and age. Also note that tcsh has that directory completion on cd even if you don't source that global config file (unless you start it with -f).
2d
comment delete lines of a file from a file
sed -f delete.lineno.txt < file.in > file.out
2d
answered csh: setting command completion for `cd` to show both directories and files