Hello guys,
can somebody tell me how to pipe the output of the serial port to a file in Windows?
In Linux the command would be:
cat /dev/ttyS0 > /opt/logs/Serial.log
Thanks in advance
I was working with a Spanish user today to resolve a plugin issue. All his language setting was in Spanish. I was trying to find COM-Addins in the Customize menu Command Tab Tools.
Even the user was unable to find it. Please help me in locating this option.
Thanks in Advance.
Animesh
I tried running the sqlcmd from a remote host to do a simple backup of a sql 2008 database. The command goes something like this:
sqlcmd -s xxx.xxx.xxx.xx -U username -P some_password -Q "Backup database [db] to \
disk = 'c:\test_backup.bak' with format"
I get a succesfull message but the file isn't created.
When I run this on the sql manager on the same machine, it works. I thought it was permission problems, but I'm using the same username in both cases.
Any thoughts?
Whenever I try to turn off my Mac, this Finder menu appears on top:
And it doesn't go away even when I try to Force Quit this application using Command+Option+Escape.
Can anybody please suggest me what's wrong with it?
Okay, kind of a weird question but let's say I'm running a long-running batch script in a terminal window and I close that terminal window.
Is it possible, in any way, to ssh back into that server and run a command that pops you back into that process, so you can see it running again?
This is on linux (Redhat).
Thanks
I'm on ubuntu. I only have sftp access to a remote server. The remote server disabled shell, so i can't use ssh or scp command.
Is there a way for me to recursively get the entire /var/www directory onto my localhost?
I right clicked the gnome menu and clicked on "Edit menus"
Then I clicked on "New item".
Type: Application
Name: gedit as root
Command: gksudo gedit
Comment: Launch gedit as root.
When I click it, the gksudo dialog appears as expected. But then... nothing.
How should I be doing this? (From the menu - I know it's trivial from the terminal)
I need to get rid off "access denied" messages which fills my find output.
I've read man find (maybe not too carefully, hit me) and cannot find anything like
-s/--silent or -q/--quiet command line key.
I use a local DNS-Server (MicroDNS) which I set via netsh to redirect any query to my own page. A little webserver running inside my software answering something like "this page is not whitelisted". It works when connected to the Internet but does not work when offline. The Browsers stop looking up the DNS.
How could I make Browsers go to my page, whatever I enter in the address line, WHEN OFFLINE?
I have setup postfix to send outgoing mail, It works fine for most of the cases except for some e.g duke.alumni.edu where it gives me a 450 error, even though the email address is valid.
This is the exact error I get
Sender address rejected: Domain not found (in reply to RCPT TO command))
Any suggestions on how I can rectify this?
I got the following command with this error
rsync -avz --links -O /home/jansiatest/.jenkins/workspace/svn_to_demo/trunk/CPS/ [email protected]:/home/tasklite/temp
sending incremental file list
./
rsync: failed to set permissions on "/home/tasklite/temp/.": Operation not permitted (1)
But the thing is that i don't want to change permission of "/home/tasklite/temp/". How can i set that?
I want to ftp a large file from a Windows client to a Windows server, using their IP addresses. This is on an internet independent network. While the file is transferring, I would like to determine how many bytes have been received by the server. I then would like to use this information to determine in real-time the percentage of the file that has been transferred to the server.
Any recommendations as to the ftp command syntax and C# code to achieve this?
This is a usability problem that happens often to me :
I open a read-only system file with vim, even editing it, because I'm not attentive enough, or because the vim on the system is badly configured. Once my changes are done, I'm stuck having to write them in a temporary file or loosing them, because :w! won't work.
Is there a vim command (:W!!!) that allows you to write the current buffer as a super-user ? (Vim would ask for your sudo or su password naturally)
I try command
rsync -v --include-from=/path/to/list.lst /home/user /path/to/backup
list.lst contains for example
.gnupg/
.pki/
.gnome2/keyrings/
.mozilla/firefox/*.default/bookmarkbackups/
.mozilla/firefox/*.default/bookmarks.html
.mozilla/firefox/.default/.db
.mozilla/firefox/.default/.sqlite
and i get error on all strings with * "failed: No such file or directory"
When i use --files-from for this, i get error too.
Can anybody help me use wildcards for this?
SSMS 2008 - Excel 2003
This isn't happening all the time, but sometimes when I 'copy with headers' from sql server management studio, the results in Excel look as though I've used the 'text to columns' wizard with 'spaces' and 'brackets' as delimiters, meaning that the results become raggedly distributed across columns making them useless
I've looked in the 'grid output' query options but can't see anything which may be causing the issue
(not sure if this should be on superuser?)
I want to restart ssh or sshd but I get this error:
qqqq@Matrix-Server:/$ sudo /etc/init.d/ssh stop
sudo: /etc/init.d/ssh: command not found
qqqq@Matrix-Server:/$
Do I need to install ssh or sshd or does it come with Ubuntu?
I have this command to create a service:
sc create svnserve binpath="\"C:\Program Files (x86)\Subversion\bin\svnserve.exe\" --service --root C:\SVNRoot" displayname="Subversion" depend=tcpip start=auto obj="NT AUTHORITY\LocalService"
Unfortunately, it seems not to work, even though the syntax is correct. When I run it, I get the usage instructions (which I guess is a way of telling me that I've supplied incorrect arguments, although I have no idea what incorrect argument I might have supplied).
Can anyone help me out of my difficulty? Thanks!
I have encrypted a drive with BitLocker in Windows 8 Pro, but the drive will not auto-unlock. I can manually unlock the drive from BitLocker in the Control Panel. However from Windows Explorer, I keep seeing the "unlock-bde" command that reports the error "application not found." Anyone know how to permanently fix this issue so it will auto-unlock the encrypted drive upon login to Windows 8 and it does not reoccur?
What is the Linux command to clear IP address of an interface without bringing it down and/or restarting network services. Seems strange ifconfig is able to change IP address but has no option to clear it, or am I wrong?
EDIT:As simple as ifconfig eth0 0.0.0.0. They should have put it in the man
I'm trying to do proof of concept with Mongodb(sharding) and Id like to run a command every time I spin up a new cluster without having to add lines in all my sls files. My current init is as follows:
mongo Replica4:27000 /usr/lib/mongo/init_addshard.js:
cmd:
- run
- user: present
The word Replica4 is not templated id like to know a way I would be able to do so, that way when I spin up a new cluster I wouldn't have to touch anything in this file.
Hello,
I can connect to a remote machine using ssh,
I would like to open a URL from the remote machine. Well, I can do this using lynx (a command line browser), but then, javascript etc... gets messed up.
Is there a way I can open the URL and see it in my local machine firefox browser for example ??
Thanks
Hi,
I want to install kernel package by this command
sudo apt-get install kernel-package
but it gives me the error :
Package kernel-package has no installation candidate
How can I solve this???
I'm seeing some errors in my apache logs and they may (or may not)
be related to some packages that I recently installed/removed using Yum.
Is there a way to view the history of Yum packages that have been updated/installed/removed ?
I could use the "history" command from unix, but some installations may have been done with different accounts. I've tried searching the web and reading the man page too but haven't found anything.
According to MSDN installer sets ROOTDRIVE to the local drive that can be written to having the most free space. In my situation it is a slow USB drive that I use for nightly backup, but I would prefer to use my C drive for the install folder.
But somehow I can't figure out how to set this property from command line or through PowerShell. I found that it is possible, but these instructions don't make any sense