Reputation
Next tag badge:
399/400 score
103/80 answers
Badges
17 137 278
Newest
 Guru
Impact
~4.0m people reached

2d
revised How to get system time with microsecond Resolution
added 535 characters in body
2d
answered How to get system time with microsecond Resolution
2d
reviewed Approve How can I end a here-document that starts with <<\\$fff?
2d
revised How to get system time with microsecond Resolution
edited body
2d
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.
May
21
revised Meaning of '&' in C (here in linux kernel function-like Macros)
That's a question about C syntax
May
21
revised How can I end a here-document that starts with <<\\$fff?
clarification attempt.
May
21
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).
May
20
comment delete lines of a file from a file
sed -f delete.lineno.txt < file.in > file.out
May
20
answered csh: setting command completion for `cd` to show both directories and files
May
20
answered Run `grep` excluding a file in a specific path
May
20
revised Why doesn't cp have a progress bar like wget?
added a link to that cv tool.
May
20
comment Why is cp --reflink=auto not the default behaviour?
(that could be considered as an authoritative answer since Pádraig is a maintainer of GNU coreutils).
May
20
comment how to check directory is empty
Also note that those solutions are not equivalent if somedir is a symlink to a directory (or not a directory).
May
20
comment how to check directory is empty
Only in the ls case. globs and [ are silent when they don't have access. For instance, [ -e /var/spool/cron/crontabs/stephane ] will silently report false, while there is a file by that name.
May
20
revised how to check directory is empty
added 80 characters in body
May
20
revised how to check directory is empty
make sure newline sorts before `.` and `.` before `..`.
May
20
answered how to check directory is empty
May
20
comment how to check directory is empty
That would report as empty directories that don't exist or for which you don't have read access. For the second one, if you have read access but not search access, YMMV.
May
20
comment how to check directory is empty
That will report the directory is empty if you don't have read access to it or it does not exist.