How to time grep commands accurately?
I want to compare the speed of these two commands:
I want to compare the speed of these two commands:
In Gnome 3, moving windows with the keyboard shortcuts Meta+← and Meta+→ can be convenient.
I have two same files, on local machine and on remote one. Their sizes are equal, and file on local machine is newer than on remote one – but rsync still attempts to copy the file.
I have a directory /srv/tftp/pxelinux.cfg and a file /etc/mtab. I want to exclude both from find. But whatever I do, either one always is not excluded
Why is it that find prints out a leading ./ to results if no paths are given?
On Debian there is the common problem, that you try to plug an ntfs formatted USB harddrive and then can’t write to it as a regular user to it because the directory belongs to root.
I’d like to price some new RAM for our in-house VMware testing server. (It’s a consumer box we use for testing our software on and running business VMs). I’ve forgotten what kind of RAM it has and I’d rather not reboot the machine and fire up memtest86+ just to get the specs of the RAM. Is there any way I can know what kind of RAM to buy without shutting down linux and kicking everyone off? E.G. is the information somewhere in /proc?
Sometimes “apt-get install” asks me "Do you want to continue [Y/n]?":
The following Bash loop stops if I interrupt it with ^C:
I know I can use seq to generate a random list of numbers: 1, 2, 3, 4…