Reputation
614
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 7
Newest
 Yearling
Impact
~103k people reached

  • 0 posts edited
  • 0 helpful flags
  • 99 votes cast
Jan
21
comment Show password characters when logging in to Linux
see this answer : unix.stackexchange.com/a/141272/27616
Nov
21
awarded  Yearling
Nov
16
comment A more comfortable way to edit a long $PATH?
suggesting an alternative: d="/usr/share/man" ; [ -d "$d" ] && MANPATH="$MANPATH:${d}" It will be shorter, and easier to add a new dir (just copy a line and edit the first "d=...." part). However, for the PATH one, I think you'll end up with far too many dirs in your PATH, which is not always good (what if some "foo" command exist in one of the less known paths, and do something entirely different that what a regular user would expect?)
Nov
5
comment Difference between '{}' and {} in find command?
they are not erring, they are trying to make sure people use the correct way (ie use '{}' instead of {} ) so that their shell send {} to the find command without interpreting it (as mentionned above by @Charles-Duffy, if you happen to use fish, it will interpret {} but not '{}', so you need to use the latter on that shell (and on several others!). Therefore, always use '{}' to avoid being bitten by the ambiguity of {}
Nov
5
comment Difference between '{}' and {} in find command?
I'd replace " are interchangeable" with " are interchangeable in some shells, not in all of them. ALWAYS use the single quotes to make sure they get passed as-is to the find command" (good habits starts by making sure you use the correct way even if you happen to (always?) be on a system that allows the ambiguous one)
Sep
22
comment Why are not all files compressed and how to improve the solution
@ismaelmiguel: I m pretty sure it will happily create the file. if not, just : touch xy_0_10000.tar.gz && { _the full command here_ ; }
Sep
22
comment Why are not all files compressed and how to improve the solution
could a (=add) instead of c (=create/overwrite) work around that limitation?
Sep
22
comment Why are not all files compressed and how to improve the solution
and if you try a instead of c, in the tar command?
May
18
comment Cannot Create User Account Named 'Con' Under Windows 7
for example: any program that may create a folder or file (for settings, for example) named with your username will break. I don't know of any program like this (usually they instead store it underneath your home dir), but they could exist.
Mar
16
comment Can’t kill a process that’s running—yet apparently not visible—in the task manager
+1 for a good answer (but... invented the [x] trick 20 years ago? or just read about it in the Unix FAQ ? ;) )
Mar
16
comment Can a file be maliciously changed in a way that maintains its original SHA-1 Hash?
-1 Not right at all. aka "Not even wrong" (Wolfgang Pauli)
Mar
16
comment Can a file be maliciously changed in a way that maintains its original SHA-1 Hash?
According to the wiki for sha-1 (en.wikipedia.org/wiki/SHA-1): As of 2012, the most efficient attack against SHA-1 is considered to be the one by Marc Stevens[34] with an estimated cost of $2.77M to break a single hash value by renting CPU power from cloud servers.[35] ( ... ). On 8 November 2010, he claimed he had a fully working near-collision attack against full SHA-1 working with an estimated complexity equivalent to 2^57.5 SHA-1 compressions. He estimates this attack can be extended to a full collision with a complexity around 2^61. . So not exactly "never done", but quite costly
Mar
9
comment Remove key from known_hosts
-1 because of the whole "delete the whole known_hosts file" first lines. This is a terrible, terrible, terrible thing to propose, and should be edited out.
Nov
21
awarded  Yearling
Jul
22
revised How to make the spellchecker accept two languages at the same time in Word 2007?
added 5 characters in body; added 380 characters in body
Jul
22
answered How to make the spellchecker accept two languages at the same time in Word 2007?
Jun
17
comment Is it possible to ping an address:port?
+1. Many, many people think that if they can't ping something they can't connect to it... but as you say, ICMP is different than TCP and UDP : if you intend to serve, say, a webpage on TCP 80, than you only need to open TCP 80 on the firewall, nothing else (so Ping to the same IP could (... should!) be blocked, for example)
Jun
15
comment How Do You Recover An Encrypted Partition?
First find/buy a large usb disk, boot on a linux livecd, and backup a full image of the ENTIRE disk those partitions were on (ex: /dev/sdc ). Cooy that backupbto a 2nd backup disk so you have 2 copies on 2 differen external disks. Then wipe the backuped disk, and in windows try to exactly redefine the partition table as it was. Then on linux livecd exsctly restore only the exact bytes corresponding to each partitions (not any mbr or fat, as the backup contained a cleaned one) (tricky). Then truecrypt should work again
Jun
14
comment Unable to delete a file using bash script
Ok, cool. But you should realty only delete it in execution paths where it is created. And the advantage of using a trap is that it will also work in case of an external exit (ctrl+c, or if your termibal disconnects)
Jun
8
revised Unable to delete a file using bash script
added 231 characters in body