1,456 reputation
413
bio website
location
age
visits member for 1 year, 8 months
seen 5 hours ago

8h
revised In what cases is vi the only option
added 46 characters in body
9h
answered In what cases is vi the only option
18h
comment Problem with m4a files
Do you get this problem with all M4A files, or just this one?
2d
answered Copying first 1000 PDF files having single, double quotes in their name to another folder
Aug
22
comment Copying first 1000 PDF files having single, double quotes in their name to another folder
I don't think this would actually help. It seems that the problem is with filenames like foo'bar and baz"bing -- where the quotes will confuse the shell. Unfortunately, I can't seem to find a way to solve this in the find documentation, so it'll probably need a different approach entirely.
Aug
22
comment when i try to download anything from terminal i have this
That seems like it could be dangerous: lock files exist for a reason.
Aug
22
comment Copying first 1000 PDF files having single, double quotes in their name to another folder
What are you actually trying to accomplish overall? What are you doing to these PDFs? I ask becaue this might be an x y problem... do you really need to work on 1000 PDFs at a time, and do they need to be in the same directory, or is there a better way (possibly involving find's -exec option)?
Aug
5
comment Are PPA's safe to add to my system and what are some “red flags” to watch out for?
Of course, an malicious user isn't going to be stopped by having to sign the code of conduct...
Aug
5
answered Can I trust repositories
Jul
30
comment Does spyware exist for ubuntu?
@anorton in addition to Jared's comment, the areas that Linux dominates in (servers, embedded systems) notably lack the GUI stack, which is old and (so I'm informed) really creaky, probably the most likely place to find cracks for malware to creep into. And then there's the cavalier behaviour with regards to PPAs that a lot of Ubuntu users demonstrate... there are plenty of opportunities for blackhats to exploit.
Jul
14
awarded  Nice Answer
Jul
13
comment Needed simple script/loop/command for input command, execute and output within textfiles
@Pandya Yes, but it will break if those lines contain any spaces or tabs (this can be worked around quite easily, but it's cleaner to just use a while read loop). Not a problem in this specific case, obviously, but in general using a for loop to read a file line-by-line is to be avoided.
Jul
12
answered Access to the terminal while you are on Vim
Jul
8
answered Bash Function Oblivion
Jul
2
comment Sudo is also user login password - why? how to change?
Any half-competent attacker could get a list of usernames with a single command, so that doesn't add any security whatsoever. The fact is that: yes, you have to keep your passwords secret, and make sure they're hard to guess, otherwise you'll get screwed. Having two passwords, in this case, just wouldn't be any more secure.
May
18
awarded  Necromancer
May
18
comment How do I view the man pages?
Also, some tools have more extensive manuals in info pages (so info grep); and some commands that are an internal part of the bash shell rather than being separate external files are documented on help pages (for example: help echo). And, of course, many programs have a --help option that displays the most common usages.
May
16
comment Deleting specific files in command line
You'd be better off using + rather than \; -- see here. Or, even better, use find's -delete command.
Apr
20
comment shutdown using keyboard
To shut down, you can use REISUO instead of REISUB.
Mar
30
comment What does Vi stand for?
It should probably be noted that while it is excellent (once you know how to use it), vi/vim takes some effort to learn. It can be overwhelming the first time you have to use it; if you're not editing plain text files regularly, it's probably better to use (in the terminal) nano or (in the GUI) gedit (which lack the advanced features, flexibility and efficiency of vim, but are much more new-user-friendly).