Reputation
4,798
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 13 22
Newest
 Yearling
Impact
~690k people reached

  • 0 posts edited
  • 1 helpful flag
  • 505 votes cast
8h
comment Read columns from file into separate variables
I've added input redirection to provide the name of the file to be read.
Dec
2
comment How do I get yum groupinstall to work without a groups install file?
yum grouplist -v to the standard CentOS repositories returns the available groups for me. This yields the "no installed" message, though, if I only connect to my local repository.
Dec
2
comment How can I see all journald entries in Centos 7?
Perhaps: unix.stackexchange.com/questions/159221/…
Dec
2
comment Redhat 6.6 root partition is showing 100% full after power failure
You need to assess subordinate directories (like '/var/www/' that constitute significant usage). You are not concerned with the '/' directory (obviously).
Nov
16
comment Punctuation in bash script
Shell assignments can't have spaces surrounding the assignment operator.
Oct
21
comment how can I create two files with same name with different case in mac osx
See apple.stackexchange.com/questions/71357/…
Oct
20
comment Use terminal-based documentation effectively (no web browser)
No internet = buy-a-book. The manpages are not intended as how-to tutorials but as a reference for the details of commands, libraries, devices, etc.
Oct
9
comment script to check if SSL certificate is valid
If your running Red Hat/CentOS/Fedora, have a look at certmonger. It's also available from the standard repositories.
Oct
7
comment Cannot login to SSH with public key
Possible duplicate of unix.stackexchange.com/questions/45042/…
Oct
7
comment Cannot login to SSH with public key
What are the permissions of you .ssh directory? They should be 0700 owned by you. The 'authorized_keys' should be 0644
Aug
15
comment How do I find available versions of package for downgrade?
Possible duplicate of unix.stackexchange.com/questions/151689/…
Jun
18
comment Who is the -bash executing user on my server?
Consider using readonly TMOUT=600 to mark the variable as read-only and thus prevent defeating its setting.
Jun
15
comment how to check if iptable rule is working
Did you reload the iptables, as with service iptables restart?
Oct
7
comment Regex to grep filler followed by signed float
@jake If this solved your problem, feel free to "accept" the answer.
Oct
7
comment Regex to grep filler followed by signed float
@jake Do you lines have trailing whitespace? If so, use `\s*$' as I noted.
Sep
22
comment Extract text from one iteration of top
top -n1 will run just one iteration.
Jun
23
comment How to set variables from find+exec?
You would use xargs from a pipe if you wanted to process multiple arguments (here, files) as a bundle to reduce the number of processes spawned. Terminating find with {} + produces the same effect. Neither are needed to generate the list of files you want.
Apr
1
comment Why do I need a tty to run sudo if I can sudo without a password?
@StephaneChazelas +1 for enlightening me that it's largely indigenous to Red Hat and its siblings and another ++ if I could for the current bug report!
Mar
20
comment Which directories are writeable in a system following FHS?
@MichaelKjörling Updated answer to reflect this.
Jan
30
comment How does Linux “kill” a process?
I'd add that since a kill -9 can't be caught, a process receiving it can't perform any cleanup (e.g. removing temporary files, freeing shared memory, etc.) before it exits. Hence, use kill -9 (a.k.a kill -kill) only as a last resort. Begin with a kill -hup and/or kill -term first and then use kill -kill as the final blow.