I am wondering what is the command in Windows to show the current local directory? I am now working in PUTTY psftp mode, so the current directory is not shown in prompt.
Also is there GUI for ssh and sftp under windows? I don't think PUTTY offer anything GUI?
Thanks!
I'm trying to learn PHP and I'm just in the process of installing apache,msql and PHP.
I'm on a mac osx 10.7.2
Processor 2.26 GHz intel core 2 due
I downloaded: mysql-5.5.18-osx10.6-x86_64.dmg
I'm now at the point of setting the root password and when I type in: sudo: mysql_secure_installation it asks me to enter my password, then it says:
sudo: mysql_secure_installation: command not found
Any help would be appreciated.
Thanks
If the use the following scp command then I get an error:
scp -P 22 [email protected]: /home/username/public_html/* ./
The error I get is:
stdin: is not a tty
scp: .: not a regular file
What am I doing wrong?
Thanks for help.
Hi,
I have a 2 1.5TB drives containing numerous video, audio, documents etc that I would like to essentially mirror to 2 other drives for backup. I would like to do this using rsync (as it seems the most appropriate thing to use).
What command should I use to do so? Is there anything to be aware of when rsyncing NTFS partitioned drives/files?
I'm wondering where to find detailed information regarding the Microsoft Advanced Windows Firewall command line settings. For instance, from reading a couple technet articles I've learned that I can run the following:
netsh advfirewall firewall set rule group=”File and Printer Sharing” new enable=Yes
The bit about 'group="File and Printer Sharing"' is the part I'm having trouble finding documentation for.
Any help would be greatly appreciated. And, if possible, I'd rather a pointer to the docs than a simple listing of group names.
A while back, I came across a random password generator for the command line that displayed a grid of "memorable" passwords. Output was something like this:
adam@host:~$ CantRememberThisCommand
lkajsdf aksjdfl
kqwrupo qwerpoi
qwerklw zxlkelq
The idea was that you could run this utility while someone was looking over your shoulder, and still pick a password with some level of secrecy due to the large number of choices.
I cannot remember what this utility was called. Oh interwebs, can you help?
Please, recommend network bandwidth limiter for windows which can be controlled from command line. No need for fancy options, only limiting of up and down traffic on a host required.
In Ubuntu, when we right-click a icon and use "open with", there is an option to remember that application for that file's type.
For some reason, my system is no more memorizing the application (I think it was aftare some update).
And, even when I have already used the "open with" command, the application is not showing in the "open with" list, so I have, everytime, to go to "open with"-"Other Application".
Any hint to solve this?
simple issue.. I'm a noob
I am running a cisco 5500 ASA which is used to manage a VPN, I need the command used to check the current user list.
I think it might be an 'access-list', if so I have no idea what the name of the access list is, is there a way to show the access lists?
thanks.
I am writing a batch file to compress a folder using various archiving applications.
Currently I also use Winrar (X64) but manually set up the parameters
I would like to add rar to my batch
The folder concerned has many sub folders and I need to take this into account
What is the command line for the following keeping folder structure?:
Solid Archive,
Archive Format=RAR5,
Compression Method=Best,
Dictionary Size=1024MB
Many thanks
I'm in the process of deploying a bunch of Win2K8R2 VMs via vSphere's deployment template stuff, and in the deploy specification it allows you to punch a list of commands to run. Aside from activating Windows (which it doesn't do), it works pretty well.
Does anyone know the command-line equivalent of going into a network adapter's properties and unchecking the IPv6 box? If I had that I could put that in the spec and not have to manually uncheck the IPv6 box.
I'm a newbie to Xen, and I've recently installed Xen 4.2 by sources on my system.
I've found a strange thing I've a VM when I start it via the command "xm create machine.cfg" all work fine, but if I use "xl create machine.cfg" it gives me the following error
xc: error: panic: xc_dom_core.c:442: xc_dom_alloc_segment: segment ramdisk too large (0x4ba 0x2000 - 0x1bd9 pages): Out of memory
libxl: error: libxl_dom.c:208:libxl__build_pv xc_dom_build_image failed: Invalid argument
cannot (re-)build domain: -3
xenconsole: Could not read tty from store: No such file or directory
What could be the problem? Any idea?
Is there a CLI command or program that will list available wireless access points? I'm running Ubuntu 9.04 on a laptop and sometimes I boot straight into the CLI instead of a GUI. I know iwconfig can configure a connection but will not list available AP's.
I get different output of file command on same file(checked inode) from different machines.
One of the machines is with suse10 sp3 and the another - rhel4.
machine1>file x.tcl
x.tcl: ASCII English text
machin2>file x.tcl
x.tcl: data
Even in vi editor same file look different from different machine. Any clue?
One more thing - there's third machine suse10 sp3 works fine. Is this machine issue?
Is there a way to get DVD region code from command line (linux/ubuntu 9.10)?
I want to script this action and store the region code (and other data about DVD) in a log.
Once upon a time when I started sqlite from the command line I could using the tabbing autocomplete to enter the database name. This has not worked for a while now.
Any suggestions on how to do this? (Possibly specifically for files with a .db suffix.)
I'm using evrouter to simulate keypresses from my mouses extra buttons. It works great but I need to run the command with sudo to make it work so I can't just use my DE to handle autostart.
I considered init.d but from what I've heard this only works for different stages of boot, and I need this to run as root after login.
$ cat .evrouterrc
"Logitech G500" "/dev/input/event4" any key/277 "XKey/0"
"Logitech G500" "/dev/input/event4" any key/280 "XKey/9"
"Logitech G500" "/dev/input/event4" any key/281 "XKey/8"
$ sudo evrouter /dev/input/event4
I am writing a batch file to compress a folder using various archiving applications.
Currently I also use 7-Zip but manually set up the parameters
I would like to add 7-zip to my batch
The folder concerned has many sub folders and I need to take this into account
What is the command line for the following keeping folder structure?:
Archive Format=7z
Compression Level=Ultra
Compression Method=LZMA
Dictionary Size=512MB
Word Size=273
Solid Archive
Many thanks
Please, recommend network bandwidth limiter for windows which can be controlled from command line. No need for fancy options, only limiting of overall up and down traffic of a host required.
I am running Apache 2.4.6 on my CentOS 6.4 server.
Having some trouble with rewrite...so was trying to check loaded modules
apache2ctl -M
But that returns
apache2ctl command not found
So I tried
which apache2ctl
and I get
no apache2ctl in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
I am sure apache is installed and running.
How do I find apache2ctl/ check loaded modules now?