Most Popular
1500 questions
136
votes
14 answers
How do I force sync the time on Windows Workstation or Server?
What is the command to sync a Windows workstation or server to its configured time source?
Kyle Brandt
- 85,693
136
votes
3 answers
Is there a way to view the members of an Active Directory group if you aren't a domain admin and can't log into to a domain controller?
Is there a way to view the members of an Active Directory group if you aren't a domain admin and can't log into to a domain controller?
Alan Hecht
- 1,483
135
votes
9 answers
How can I monitor hard disk load on Linux?
Is there a good command line utility to monitor hard disk load on linux? Something like top but then monitoring disk activity i.s.o. cpu usage.
More specifically, I suspect that for some (heavy load) servers after several optimizations on various…
Pieter
- 1,479
135
votes
9 answers
How to copy file preserving directory path in Linux?
I have Eclipse projects and ".project" file in them, the directory structure looks like 'myProject/.project'. I want to copy these '.project' files to another directory, but I want the enclosing directory name to be preserved.
Let's say I have…
dhblah
- 1,453
- 2
- 10
- 7
135
votes
3 answers
How can I show user's privileges in MySQL?
I know that I can set user's privileges in the following simple way:
grant all on [database name].[table name] to [user name]@[host name];
But how can I see existing privileges?
I need to see data similar to those which are used in grant. In other…
Roman
- 2,739
- 10
- 34
- 33
134
votes
5 answers
What is this IP address: 169.254.169.254?
I have always noticed an IP something "169.254.x.x" in my routing table even when I am not connected to any network in my Windows operating system.
In Linux, when I list my routing table.
$ ip route show
I get an entry like
169.254.0.0/16 dev eth0…
pradeepchhetri
- 3,018
133
votes
8 answers
Is it possible to rerun kubernetes job?
I have the following Kubernetes Job configuration:
---
apiVersion: batch/v1
kind: Job
metadata:
name: dbload
creationTimestamp:
spec:
template:
metadata:
name: dbload
spec:
containers:
- name: dbload
image:…
Bostone
- 1,463
133
votes
4 answers
FreeBSD performance tuning: Sysctl parameter, loader.conf, kernel
I wanted to share knowledge of tuning FreeBSD via sysctl.conf / loader.conf
/ KENCONF / etc. It was initially based on Igor Sysoev's (author of nginx)
presentation about FreeBSD tuning up to 100,000-200,000 active connections.
Newer versions of…
SaveTheRbtz
- 5,761
133
votes
7 answers
Does Windows have a built-in ZIP command for the command line?
Since Windows Explorer (since at least Windows XP) has some basic support for ZIP files, it seems like there should be a command-line equivalent, but I can't seem to find any sign of one.
Does Windows (XP, Vista, 7, 8, 2003, 2008, 2013) ship with a…
Electrons_Ahoy
- 1,831
133
votes
18 answers
Why does sudo command take long to execute?
I've been picking up Linux (Fedora 10, then 11) over the past few months (and enjoying it immensely-- it's like discovering computers all over again, so many things to learn).
I've added my user to the last line of the /etc/sudoers file as shown…
Cuga
- 101
133
votes
8 answers
How to forcibly close a socket in TIME_WAIT?
I run a particular program on linux which sometimes crashes. If you open it quickly after that, it listens on socket 49201 instead of 49200 as it did the first time. netstat reveals that 49200 is in a TIME_WAIT state.
Is there a program you can…
Rehan
- 1,433
133
votes
18 answers
Switching to IPv6 implies dropping NAT. Is that a good thing?
This is a Canonical Question about IPv6 and NAT
Related:
How does IPv6 subnetting work and how does it differ from IPv4 subnetting?
How can I 'dip my toes' into dynamic IPv6 network addressing?
IPv6 without nat but what about an isp change?
Our…
Ernie
- 5,402
132
votes
11 answers
Prevent duplicate cron jobs running
I have scheduled a cron job to run every minute but sometimes the script takes more than a minute to finish and I don't want the jobs to start "stacking up" over each other. I guess this is a concurrency problem - i.e. the script execution needs to…
Tom
- 4,522
132
votes
7 answers
What Linux distribution is the Amazon Linux AMI based on?
Amazon Web Services (AWS) offers an officially supported Amazon Machine Image (AMI), but it doesn't indicate which Linux distribution it's based upon.
Is the official Amazon Linux AMI based on another Linux distribution, and if so, which one?
Trevor Sullivan
- 2,223
132
votes
20 answers
How do you install Node.JS on CentOS?
I've found numerous installation instructions for Node.js but they all seem so complicated -- I'm not a super sys admin but I can get around. I have yum on the system, but I didn't find any node.js packages, and I'm not sure how to compile code on…
qodeninja
- 2,803