| bio | website | markashields.com |
|---|---|---|
| location | Atlanta, GA | |
| age | 30 | |
| visits | member for | 2 years |
| seen | 5 hours ago | |
| stats | profile views | 70 |
I work for a small business consulting company as their sole system administrator. Previously, I worked for one of the largest web hosting companies in the U.S. as a linux sysadmin.
|
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 javakill -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. |
|
Nov 29 |
comment |
What distribution for light weight server? ArchLinux stands by it's slogan, but if you want a lightweight distro that doesn't take much effort/time to get up and running, then Ubuntu minimal is the way to go. I recently used in a project and got up and running in no time. |
|
Nov 23 |
comment |
MDADM - how to reassemble RAID-5 (reporting device or resource busy) @hhaamu with that many drives, I'd go raid 6 over raid 10, even. |
|
Nov 21 |
answered | Automated SFTP upload with curl |
|
Nov 17 |
revised |
What does - mean with association to Linux files and directories clarification of -- versus - |
|
Nov 17 |
suggested | suggested edit on What does - mean with association to Linux files and directories |
|
Nov 14 |
comment |
Gedit won't save a file on a VirtualBox share: Text file busy Here's a few: virtualbox.org/ticket/2553 virtualbox.org/ticket/9203 bugs.launchpad.net/ubuntu/+source/gedit/+bug/341725 |
|
Nov 3 |
answered | Find both regular files and directories |
|
Oct 6 |
comment |
Identifying local and remote sessions make use of environment variables, such as $DISPLAY. |