Reputation
1,232
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
5 11
Newest
 Yearling
Impact
~160k people reached

Feb
25
revised How do I build a read-only Linux system that only writes to the RAM?
Added code blocks to make preformatted text readable
Feb
25
suggested approved edit on How do I build a read-only Linux system that only writes to the RAM?
Feb
21
comment Which distribution is usually chosen in an enterprise environment - Debian or RHEL (CentOS)?
Your question is open to debate and therefore not fit for this site. Flagged.
Feb
21
comment find flags: -exec rm -rf vs -delete
Even simpler: rm -rf practice{1..10}
Jan
30
comment Why do I get fsync() failed: Disk quota exceeded on my linux machine?
Is quota configured? Run quotacheck -a and look at the output.
Jan
11
comment Count appearance of a variable in another file
That would skew the results. If you have more than one instance per line, suddenly your counted results aren't accurate.
Jan
11
comment ddrescue: reread only good sectors?
Using dd without a block size (bs) set makes FSM sad.
Jan
10
comment Count appearance of a variable in another file
No need to pipe to wc -l and count lines; grep can already count occurrences with the -c option.
Jan
9
comment Change default path for when I SSH in to CentOS server?
It's better to use usermod when changing anything concerning a user that writes to /etc/passwd, to prevent mistakes: usermod -d /home user.
Dec
28
comment 'kill java' doesn't kill java
kill -9 is generally a last resort. It's better to try kill -11 then kill -6 first. If kill -11 doesn't kill it, kill -6 usually does. Try kill -11 first, wait a few/several seconds, and if the process is still alive, try kill -6. Wait several seconds and if it still isn't dead, you can then try kill -9.
Dec
24
comment mkdir multiple directories with a subdirectory name having space in it
This would also work: mkdir -p project/level{' 1', 2}
Dec
24
answered Check whether two directories and their subdirectories are the same
Dec
19
answered Bulk Adding Users to Groups
Dec
14
answered Identify folder in bash
Dec
12
comment /: is a directory issue in bash
Upvoted. The shell will interpreted text separated only by slashes as directories, not commands/arguments. The forward slash can be used in arguments of, for example, Perl scripts (requires configuring Getopt::Long or rolling your own), but still requires the space between the command and arguments -- again, this is a shell requirement.
Dec
9
comment Automated SFTP upload with curl
OP, please accept my answer if you found it acceptable.
Dec
9
answered Copy files with deleting suffix in name
Dec
9
comment Copy files with deleting suffix in name
This doesn't work with files with spaces
Dec
9
comment Is there any way of prompt a message when a command in /usr/sbin/ is tried to run as nonroot?
Did you source your .bashrc or close and open a new terminal?
Dec
4
comment Rename multiple directories decrementing sequence number?
while technically true, quoting is generally considered best practice.