How do I invoke Filezilla from the command line to upload the contents of a directory? I would also like to set parameters like overwrite all etc.
From help page all I see is options for opening Filezilla with specific server etc, but not to upload...
Is there a command that can be used from the command line to output a list of the mapped network drives on the local system and their location on the network to a txt file? This will only be used on Windows-based systems running XP.
Is there a way to restart a virtual machine running under Windows 7 Virtual PC from command line? Basically, i want to do a soft restart, same thing as clicking on Ctrl+Alt+Del button achieves.
Is there a command line way of stopping a process if I know the name of the exe (or better give a wildcard). I was about to jump in and write an autohotkey script to do it but I thought I would look for out of the box ways first.
Interested in Windows XP and Vista.
I have a bunch of avi's I am converting to m4v, and I can do this in QuickTime by opening the video and then go 'Save As', select a folder, select the type (iPhone, Movie, etc), blah blah blah. But I have around 100 videos I want to do this with. Command line options? Or batch processing options in the GUI? Enlighten me, please.
This is QuickTime X on Snow Leopard.
I like to know how to use command-line to connect to a wired network in general for Ubuntu 8.10?
In my case, I connect a cable to my laptop but it doesn't work with my WICD. So I like to try command-line method.
Here is the ifconfig of my network adapters:
$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:c0:9f:8d:23:74
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:19 Base address:0x1800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4457 errors:0 dropped:0 overruns:0 frame:0
TX packets:4457 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:493002 (493.0 KB) TX bytes:493002 (493.0 KB)
wlan0 Link encap:Ethernet HWaddr 00:0e:9b:ab:56:19
UP BROADCAST NOTRAILERS PROMISC ALLMULTI MTU:576 Metric:1
RX packets:1508929 errors:0 dropped:0 overruns:0 frame:0
TX packets:768144 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:806027375 (806.0 MB) TX bytes:78834873 (78.8 MB)
wlan0:avahi Link encap:Ethernet HWaddr 00:0e:9b:ab:56:19
inet addr:169.254.5.92 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST NOTRAILERS PROMISC ALLMULTI MTU:576 Metric:1
wmaster0 Link encap:UNSPEC HWaddr 00-0E-9B-AB-56-19-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Thanks and regards!
UPDATE:
Tried what oyvindio suggested. Here is the failing message:
$ sudo dhclient3 eth0
There is already a pid file /var/run/dhclient.pid with pid 18279
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
mon0: unknown hardware address type 803
wmaster0: unknown hardware address type 801
mon0: unknown hardware address type 803
wmaster0: unknown hardware address type 801
Listening on LPF/eth0/00:c0:9f:8d:23:74
Sending on LPF/eth0/00:c0:9f:8d:23:74
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
What is the most damage (of whatever kind) that you have ever caused with a single mistaken/mistyped/misguided command line? I deleted a production system database by mistake a while back, for example, but I was lucky (i.e. backed-up) and there was no permanent data loss, lost money, property damage etc.
Most importantly (for votes), what do you do to make sure it will not ever happen again?
Does anyone know an easy way to write files to a DVD from the command line. I've found a program that does it for CDs, and another that writes .ISO images to DVD.
I want to use it to write files to a backup DVD overnight.
If you invoke nmake ( or any exe) on command line in Windows, Windows will search through all the path variables and append the directory to front of the nmake and execute it.
Besides path, is there any other environmental variable that Windows will search and append to the front of nmake?
I have a divx video of 10 mins. I want to copy two parts from it , minutes 2 to 6 and 8 to 10 and create another video by merging the two. how can I do it using lightweight command line tools. Either on Windows or Linux?
I'd like to create a keyboard shortcut to quickly and easily change the DPI scale on my machine.
In Windows 8.1, the desktop display DPI scale can be set via the control panel (pictured below), taking effect immediately. Alternatively, the scale can be set manually in the registry, but doing so requires that the user sign in and out or restart the machine in order to take effect (and only works to imitate the "one scaling level for all my displays" option).
How can I set the DPI scale via the command line, or otherwise programmatically?
Possible Duplicate:
Is it possible to change my terminal window prompt text?
I have been using "Ubuntu 12.4" for few days now (no previous Linux experiences at all) and I have noticed that the symbols on each command line more then this in many examples in the network.
For example, I have:
And I want to remove the "gotqn-System-Product-Name" part, because it is taking too much space?
What should I do to change this?
Whenever I complete something in the command line while using Ubuntu and my computer does something of value to me, I enjoy saying thank you, just because it's the polite thing to do. A typical conversation might look something like this:
mtp-sendfile HamishAndyPodcast.mp3 /Music/podcasts
Sending file...
Progress: 17769768 of 17769768 (100%)
New file ID: 76098
sam@sams-laptop:~$ thanks
thanks: command not found
What's the best way to teach my PC a few manners and respond with something like "No problemo".
I think I accidentally remapped my git command to automatically include the subcommand credential-osxkeychain on the command line while trying to install a git credential-helper. When I enter
$git
it now displays
Usage: git credential-osxkeychain <get|store|erase>
How can I fix it?
Entering
$alias
returns
alias rvm-restart='rvm_reload_flag=1 source '\''/Users/teh/.rvm/scripts/rvm'\'''
Entering
$which git
returns
/usr/bin/git
I think the problem may have began when I entered a command to move git-credential-osxkeychain into
/usr/bin/git
instead of
/usr/bin/
I'm looking for a command-line download manager that can:
Download from FTP and HTTP
Open several TCP connections to accelrate the download
Supports resuming
It would be nice if it had ports to Windows & Linux, but it's not a strict requirement. It doesn't have to be free.
I'm constructing a backup script for Windows 7, and the last action I want it to perform is to safely "remove" the USB drive that it is backing up to. I am under the impression that plugging the drive into the SAME USB port all the time will keep the same DEV_ID, correct me if I'm wrong. With a Command Line (or PowerShell), how can I tell Windows to safely remove the hardware automatically without user input?
Just as a place holder, other OSes that may have a way to do this would be great to know as well
Is there a built-in command for downloading a file using the command line on Windows? I know I can get cygwin and install wget, but I would like a solution that works on any windows PC.
On SANs with Mylex RAID controllers there is a command-line utility called mlxcfg that allows one to configure the SAN. Does such a utility exist for Clariion CX SANs and is it free to use without licensing for Navisphere?
when launching chrome from the windows command line I can pass arguments like so:
...>chrome.exe -incognito
I can also pass a URL to open
...>chrome.exe google.com
Each work fine on their own but I can't get them to work together.
What I want is to launch it with a url, and open in its OWN tab, and hide the url, buttons, etc. like a utility window but I do want it resizable.
I'm looking for a way to set a group of File Types to "Index Properties and File Contents" (Control Panel, Indexing Options, Advanced Options, File Types).
Basically I'd like to write a batch file that switches that setting for a large group of file types and be able to share it with my entire team. Clicking in the UI is time consuming for everyone.
This is a great solution for bringing up the GUI, but I'd like to create a batch file
What is the command line for Indexing Options?
hi.
im looking for a small utility that can copy files over to/from remote windows hosts, and which can take the credentials (domain user and password) as part of its command line, similar to psexec.
i know i can use net use to map the target directory to a drive letter and use xcopy, and i know psexec can upload files to be executed on the remote machine and then delete them, but im looking for a small utility to distribute files to remote hosts that will not be as awkward to use as net use + xcopy
Hi there,
I want to compress a file using command line. I m writting :
C: compact /c aa.xml
return successful message but i cant see any zip file in C folder. Where is the problem?
Thanks for your helps..