I have started using ack which is much faster than grep. However using ack I want to search for file name rather than file contents. Is there a way to do that?
Hello everybody,
In my SBS 08 (AD, exchange), is it possible to change the name, email address of a user because he is leaving and I'd like to transfer all the account and credential to the new employee that is replacing him.
Lot's of thing are set up for this user and it would save me lots of time if I can transfer an account like this.
Thanks for your help !
I have problem with installation Ganeti Web Manager on Debian 6.0.6
fab prod deploy
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/fabric/main.py", line 378, in main
docstring, callables = load_fabfile(fabfile)
File "/usr/lib/pymodules/python2.6/fabric/main.py", line 112, in load_fabfile
imported = __import__(os.path.splitext(fabfile)[0])
File "/root/ganeti_webmgr/fabfile.py", line 6, in <module>
from fabric.context_managers import settings, hide, lcd
ImportError: cannot import name lcd
Any solution?
Thanks
So, I want to send a kill to a process, I know it's name
ps -ef | grep '_rails master'
root 2388 1 0 19:46 ? 00:00:04 unicorn_rails master -c /web/hero/config/unicorn.rb -E production -D
root 2582 2172 0 20:28 pts/0 00:00:00 grep --color=auto _rails master
It is unicorn_rails master [..] how do I kill it?
I tried so far: sed and expr. But cant pass it as param to kill
Hi,
I install SQL SERVER 2005 on my Windows 7 machine. Now, when connecting to the server there is nothing being displayed in the Server Name. Am I missing something?
Same happens with SQL SERVER 2000!
I want to archive all .ctl files in a folder, recursively.
tar -cf ctlfiles.tar `find /home/db -name "*.ctl" -print`
The error message :
tar: Removing leading `/' from member names
tar: /home/db/dunn/j: Cannot stat: No such file or directory
tar: 74.ctl: Cannot stat: No such file or directory
I have these files: /home/db/dunn/j 74.ctl and j 75. Notice the extra space. What if the files have other special characters? How do I archive these files recursively?
How do you decide what you name your servers?
Do you keep it simple/boring like svr-01, svr-02; make it descriptive like citrix-01, share-01; or do you make it creative like the names of the planets, peanuts characters, etc?
I'm not a technical person but I want to know how I can move my blog to my domain name. Can anyone please provide step-by-step process to get this done? Thanks so much!
How-To Fix this: The SQL Server Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Error: 0x54b, state: 3.?
Found these line in SQL2008-Server Log on my Vista notebook. Yes my notebook is a member of a 2003 AD domain but now i'm offline.
Any ideas?
When I run my web application which sends mail on my dev machine, the mail is not sent. The mail.info file shows that there was a host name lookup failure. How do i fix it? (i am trying to send mail to my gmail account.)
Not sure if any of you have experience with this, but I am trying to include the anchor (?)
in my domain name (using the appropriate punycode to allow it) but upon registering it I encounter the error that the symbol is not supported by the language I have chosen. Does anyone know what language would support this if I were to continue or even how I would go about doing so or if i can even do so. Thanks
I think this started with the Snow Leopard update. Cleaned out the .ssh directory, still having the issue.
~: uname -a
Darwin california-example-com.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386
~: ssh -V
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
~: ls -l ~/.ssh
~: nslookup nevada
Server: 10.94.62.3
Address: 10.94.62.3#53
Name: nevada.example.com
Address: 10.94.62.3
~: ssh nevada
ssh: Could not resolve hostname nevada: nodename nor servname provided, or not known
I'm trying to create my first VPN on a VPS with CentOS 6, following this tutorial.
When I have to create an iptables rule to allow proper routing of VPN subnet, with this command:
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
It throws this error:
iptables: No chain/target/match by that name
I was searching and I've found that this error is usually thrown when you misspell something, but as far as I understand, the rule is correct...
Hello,
CentOS 5.3
After booting up. I am wondering what is the name of the log file that contains if all services where successfully loaded or not?
For example when computer boots you get a list of start services and they can be OK or FAILED.
Is there a log file where this information is kept? I had a look in the following directory /var/log/ but not sure which one will contain the informaiton that I need.
Many thanks for any advice,
When picking receiver from my contact, the receiver's name will be displayed as well, like "Somebody" . But I don't want receiver to know how I named them. I just want them see receiver as [email protected]. Can I do this in gmail? Thanks.
I hate those auto-generated names or those "joes-computer" ones. I always try to come up with something funny for my personal computer name. Looking for inspiration here.
What are the coolest names you came up with?
Hi there,
I have a very big job to do.
I have about 930 pictures which are called like:
5210841 Tuinset Senator.jpg
5210898 Traptrede Premium.jpg
etc.
I'm looking for a way to rename these pictures, without losing the number part.
So for the first one, its name would be:
5210841.jpg
and the second
5210898.jpg
Can you guys think about a program which can do this job?
It's for a Windows platform.
Without booting to Linux, how do you delete a directory that was created in Linux on an NTFS partition that contains a pipe in the file name?
For example:
f:\flac\foreign\Yoshida_Brothers\Best_of_Yoshida_Brothers_|_Tsugaru_Shamisen
Tried and failed:
Midnight Commander
Recursively deleting the parent folder
del /f /s /q Yoshida_Brothers
del /f /s /q "\\?f:\flac\foreign\Yoshida_Brothers\
rmdir /s Yoshida_Brothers
FileASSASSIN
Other ideas?
I'm noticing on MS Network Monitor a ton of NetBios Name Service broadcasts coming from a particular workstation. When I run netmon on that desktop it cannot resolve the application producing them (but does log them).
First question, is this bad?
Next question, what could be causing this so we can either move it to a server or stop it entirely?
My website takes awfully long time after entering the domain name and before the content starts showing up.
I assume this is something to do with the dns resolution or the networks.
How do I go about troubleshooting this problem? Where do I start and what tools do I need? I know I’ll need nslookup and traceroute. What else will I need?
I am looking for the cleanest way on linux to find the port status for a port being used by a specified program name via the command line. I have seen that netstat -p lists all pids but haven't seen anything corresponding to specific process names. Any help would be appreciated.
I have a script that creates a user associated with a login for SQL Server 2005. It does this immediately after creating the database and the login. One user of the script reported the following error:
The login already has an account under a different user name
Any idea how this might happen, and how I could modify the script to handle it?
I think this started with the Snow Leopard update. Cleaned out the .ssh directory, still having the issue.
~: uname -a
Darwin california-example-com.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386
~: ssh -V
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
~: ls -l ~/.ssh
~: nslookup nevada
Server: 10.94.62.3
Address: 10.94.62.3#53
Name: nevada.example.com
Address: 10.94.62.3
~: ssh nevada
ssh: Could not resolve hostname nevada: nodename nor servname provided, or not known