The command tag has no wiki summary.
0
votes
2answers
40 views
Who to Telnet to access only a prompt? [closed]
Is there any host where I can just telnet them and access a prompt?
I'm not looking to hack – just wondering if I needed to.
Let me rephase my question anyone who has an old computer and just lets ...
4
votes
3answers
109 views
How to disable the command prompt's auto-close upon completion?
I know there were some tricks with older versions of windows to accomplish this, but not sure on windows 7.
If I had a piece of software that executes a command with switches resulting in a cmd.exe ...
1
vote
1answer
23 views
Where can I find the command “udevinfo” on Debian?
I'm trying to fix a problem with my webcam in Wheezy, and I need some information about the drive with the command udevinfo.
The problem is: where is this executable?
if I run sudo udevinfo the ...
0
votes
0answers
40 views
Import into Excel a list of filenames and dates from dir command
First I would like to introduce the problem in hand.
We have a file repository containing code files (*.sql ; *.xep ; *.dll ; *.aspx ; *.gif) that you are going to submit to Production pretty soon. ...
1
vote
0answers
11 views
Finding sub-directories inside directories with same name using find and xargs [closed]
Possible Duplicate:
Finding subdirectories inside all directories with the same name
I want to run a command line to achieve following 3 steps:
find all directories named "inc" under a ...
1
vote
1answer
25 views
Where can I find a comprehensive list of DOSbox shortcut commands?
I've got a shortcut linked to dosbox.exe named:
dosbox - START.lnk
in it I have
D:_DOSBox\dosbox.exe -conf mydosbox.conf -noconsole -c
However, I only got it because I looked into some of the ...
1
vote
1answer
79 views
Windows Move Command: Odd 'Access Denied'
I am trying to move folders from D: to C: but am getting 'Access Denied'. I have ownership and full control over every folder in question and am running as local admin in administrator mode. What's ...
0
votes
2answers
39 views
What is “Sudo -Hiu” for?
I followed a tutorial to install Hudson server. And, in the tutorial had a linux command:
sudo -Hiu hudson
which hudson is a username in ubuntu.
But I dont know what is "sudo -Hiu" for?
What ...
2
votes
1answer
111 views
Using SCP or SFTP with my ssh config file?
Perhaps my google-foo is failing me here... I'd like to connect and upload a mysql dump file via terminal using SFTP or SCP to my remote server using my ssh config file. According to documentation ...
1
vote
2answers
32 views
“which” Program Requires Shell Refresh to See Newly Installed Programs?
Why does the Linux program which require you to refresh the shell (e.g. type tcsh in the terminal) to see new programs installed in your path??
I was baffled why I couldn't access a program, which ...
0
votes
1answer
36 views
What can I use as parameters to specify the output behavior of `ls`?
What is the ls command that will produce the following output?
478661 .gconf/
478662 .gconfd/
450001 .gimp-2.4/
450006 .gksu.lock
478706 .gnome/
478664 .gnome2/
478667 .gnome2_private/
478669 .gnupg/
...
0
votes
1answer
41 views
Working out which folders are svn'd from the command line
I've got a folder that containes a set of folders that are themselves the root of different projects. Some of these projects are versioned under svn, some are not. I'm looking for a one-liner I can ...
0
votes
5answers
120 views
How to create multiple directories use Bash
I want to create ten folders named foo1java, foo2c, foo3python, etc.
I tried this but it creates too many directories:
mkdir foo{1..3}{java,c,python}
foo1c/ foo1python/ foo2java/ foo3c/ ...
0
votes
1answer
32 views
Count the number of accesses made to a file
Can I run a script/use a tool that monitors a file and counts the number of access that are made to it (both read and write). I am running multiple threads and trying to record the number of ...
1
vote
0answers
142 views
ffmpeg works on terminal not with PHP exec
If I execute a ffmpeg command from terminal, I get the desired result:
ffmpeg -i src.mp4 -ar 22050 -ab 32 -f flv -s 320x240 video.flv
Terminal's output
...
video:3404kB audio:1038kB global ...
0
votes
0answers
76 views
how to up/down remote NIC card or PORT using ifconfig or any other command?
please tell, how to remotely up and down the port using ifconfig unix command?
$ ifconfig etho down
$ ifconfig etho up
where etho is my nic card interface!
1
vote
1answer
104 views
Command prompt hangs/freezes/crashes sporadically
I'm finding it very difficult to Google this, I don't seem to be able to find anyone with the same issue and I don't know enough about the Windows operating system to troubleshoot. The machine(s) we ...
0
votes
1answer
77 views
On-demand custom search with Pentadactyl
I'm a Perl developer, so I often visit CPAN. I'd be happy if I could make my Pentadactyl understand command like
:cp List Util
to search CPAN for modules containing theese strings in its names. I ...
1
vote
2answers
283 views
FTP Command for deleting multiple files as once
I'm trying to run this command via FTP in order to delete some files I have stored in a folder in my website:
DEL *.csv
However this doesn't work and I don't know why. However if I try to delete ...
1
vote
1answer
89 views
command line: how to get instantaneous bandwidth on a port
I'm trying to get the instantaneous bandwidth usage of eth0, port 10001. I've looked into using lots of different tools, but most of these seem to have an ncurses type output which isn't suitable for ...
0
votes
1answer
88 views
Get Extended Properties of a file
What's the fastest way to output the 'Title' property of all files in a directory in Windows 7? I tried 'dir' in command line but that only prints the filename, not the Title found in the extended ...
0
votes
2answers
57 views
How do I use multiple commands to install setx from the command line?
just wondering how I can install setx from the command line. I want it to be a silent install with a specified directory. I know that if I type /? after the .exe it will give me the various options, ...
20
votes
5answers
1k views
Are Linux commands interchangeable with Unix?
I find that some commands, for example, ls and pwd, can be used in both Linux and Unix systems.
Is it that all Linux commands can be used in the Unix systems, and all Unix commands can be used in ...
3
votes
1answer
193 views
How can I make the following conversion in VLC from the commandline?
I find the command line documentation a little overwhelming, given that I know almost nothing about codecs and the like...
So the following is exactly what I'm doing in VLC (1.1.11) and it would be ...
1
vote
2answers
102 views
How to “fresh-clean” OS on the server?
Is there any fast and reliable way to remove everything not related to OS from the server?
In removing everything I mean:
Completely delete all packages and it's dependencies
Completely delete all ...
0
votes
1answer
86 views
I'm trying to wake on lan, but I get ethtool: command not found error
It's driving me crazy... I've been googling for an hour now and nothing!
I'm trying to invoke this script:
#!/bin/bash
ethtool -s eth0 wol g
exit
I run it as root: /etc/init.d/wakeonlanconfig
And ...
1
vote
0answers
91 views
Running terminal commands from Chrome's Omnibar
I would like to use Google Chrome's Omnibar to execute terminal commands.
Is there any way to do that?
Edit:
I found that I could add a custom search engine as "terminal://%s". However, there seems ...
0
votes
0answers
99 views
WMI command line empty
I'm using WMI in my scripts for managing some services and processes.
I'm using in win32_process object the command line. Sometimes the command line is empty although it is not (It got up and I can ...
1
vote
1answer
137 views
List files with path using Windows command line
My folder structure in a drive is like this (in Windows):
Folder 1
Fd1
Fd2
Fd3
Fd4
Fd5
Folder 2
Fd1
Fd2
Fd3
Fd4
Fd5
This arrangement continues for 100s of folders. Inside Fd1 of each ...
1
vote
2answers
87 views
Bash - is there a way to search for a string (or pattern) in your current directory? [closed]
Possible Duplicate:
Search for a text pattern in linux
Bash: is there a way to search for a particular string in a directory of files?
Let's say I am in a certain directory which contains ...
1
vote
1answer
38 views
Bash - how do you make it so that the result of a command gets placed into a variable?
For instance, let's say I wish to type the command pwd.
It gives me a really long path to the current directory I am in.
What I would really like to do is make it so that I can go into a completely ...
0
votes
1answer
479 views
How to run the “runas” command without writing the password
I need to run the "runas" command for log on automatically an Application User, on an Active Directory. Then I need run an executable file.
Can I do this in some way or work around to do not type the ...
0
votes
3answers
133 views
How to UNDO in Bash?
I accidentially copied my whole home directory into one of my subdirectories, causing me to exceed my disk quota on a server.
Or does anyone know how to undo a command in general?
1
vote
1answer
238 views
All commands are not working on mac os x lion
I am facing a problem, i can't run even a single command on my mac osx lion terminal, even "ls" command, when i print $PATH variable, found
My-Mac:/ Mac$ echo $PATH
/usr/local/git/bin
Please help ...
1
vote
1answer
65 views
How do I create a command to run with sudo?
I have created a file called svrestart in /home/gab/bin (which is a folder that should be automatically be added to path on startup) which contains:
/etc/init.d/nginx restart
/etc/init.d/php5-fpm ...
2
votes
0answers
144 views
Linux command line partition manager with LVM
I need to write a program to format SD card with, FAT boot, ext4 and swap partitions.
I would like the ext4 to use LVM. Ideally there would be scope for mdadm.
I need help finding a command line ...
1
vote
2answers
94 views
when we use “top -c” in Linux, which type of process is closed by brackets?
As the title said, which type of process is closed by brackets?
2
votes
2answers
129 views
Why we can't use chkdsk command on C drive?
When we run the chkdsk command on C drive in windows it won't run but will prompt you to schedule the command later when we reboot the system. Why?
0
votes
0answers
54 views
Modify Mac Shortcuts via Terminal?
Is there a way to edit the shortcuts for Mac (such as Fn+F11 or Cmd+Escape for Front Row) via Terminal.
It's blocked on my laptop due to idiotic parental controls, so I was wondering if there was a ...
-1
votes
1answer
102 views
How to delete folders by command line
I want to delete folders and its files that created before than 7 days by command line ,
Thanks and regards
1
vote
1answer
55 views
notepad++ to search a line for varied strings. advanced commands
here it is
ab12@zmial.com, Charles Dawson cd21@zmial.com, ef23@zmial.com, gh32@zmial.com,
ij34@zmial.com, mn45@zmial.com, op54@zmial.com, Queen Roffman qr56@zmial.com,
kl43@zmial.com, ...
0
votes
1answer
876 views
tar shows “is not a bzip2 file” error when uncompressing a .tar.bz file
I've a data_or.tar.bz file
I tried to extract it with
$ tar xjvf data_or.tar.bz
Output is
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting ...
1
vote
1answer
158 views
Run ftp.exe with a command line argument
I was trying to run the following script in command line in windows xp but I couldn't make it :
C:\..\ftp -s:"%~f0"&GOTO:EOF
open someweb.com
username
password
pwd
bye
the following runs ...
0
votes
1answer
836 views
How to connect to VPN using commands in Linux (Fedora 16)
Usually, I use the network connections icon on the top bar to connect to VPN.
The connection is configured properly and it connects well. Configuration screen shot is given below.
As you can ...
1
vote
2answers
195 views
Windows reboot to safemode from command prompt
Im just wondering if there is a way to reboot the windows machine in safemode from command prompt.
Looked at the man page of shutdown but it is not there.
0
votes
2answers
463 views
DOS command to change folder permissions on a remote computer
Is there any DOS command present using which I can change permission for a folder which reside on a remote computer. Appreciate your help on this.
Thanks.
2
votes
2answers
159 views
Bash script: dealing with spaces when running indirectly commands
I have been struggling for a while with the folllowing problems I have written scripts in which any command run is first put into a string, and then executed. That way, the command is written only ...
0
votes
2answers
87 views
SQL command for selecting multiple records within range
I'm relatively new to SQL and am looking for a command that I can run in order to find all records within a database within .5 of a calculated value.
For example:
SELECT X, (Y/Z) AS ZZ FROM Table ...
1
vote
1answer
43 views
Is there any way to add nameserver without modification of configuration files?
I need to add my own nameserver, but if i boot installation CD/DVD, i can't edit configuration files. So i'm searching for any way to add the nameserver from terminal.
0
votes
1answer
128 views
7ZIP - Command Line Compression | Can Never Keep it Simple
I've been Googleing for a few hours on how to just compress a file inside a directory and I can't find anything. I found how to just compress a folder in general. Now I wish to know how I can compress ...