Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
2answers
60 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
0answers
7 views

Why would someone make use of pam_timestamp_check?

The man page states: With no arguments, pam_timestamp_check will check to see if the default timestamp is valid, or optionally remove it. By the description, you think "File", but the command ...
0
votes
1answer
16 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
23 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
70 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
57 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
61 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
35 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
89 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
94 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
51 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
43 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
32 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
56 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
79 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
24 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
64 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
0
votes
0answers
28 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
174 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
63 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
0answers
313 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
94 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
68 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.
1
vote
2answers
62 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
37 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
30 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
52 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 ...
0
votes
3answers
89 views

How do I get information about a partition through the command line?

On Ubuntu, I have the link to the partition (e.g. /dev/sda1). I want to know the labels, size,... of that partition. How can I do that with a command in which the partition's link is a parameter? It ...
3
votes
1answer
163 views

will boot command params acpi=off or acpi=noirq ruin my hardware?

Dell xps 15z here. Really, really trying to install linux distro to dual boot from. first goto is bt. cant even get past 'initramfs live media filesystem not found' on usb boot. next was ubuntu, ...
0
votes
1answer
78 views

What's a good way to install “build essentials” (all common useful commands) on a blank EC2 Linux server?

I want to get some "build essentials" (like gcc, make, etc.) on an empty micro Linux box. Seems inefficient to spend my time trying to try installing one thing, then realize I need gcc, then realize ...
1
vote
2answers
259 views

How can I install updates and shut down from the command line?

I know that there is a simple way to shutdown the computer in command prompt, but is it possible to do system updates and then shutdown the computer in command prompt? For example, when Vista needs ...
2
votes
1answer
56 views

How can I access a more accurate time in a Command Prompt aka “DOS”

I am running a batch script to retrieve information from a device. Tieing this up with a separate log file requires accuracy greater than the minute accuracy I can get using time /t. This question ...
2
votes
1answer
52 views

bash xterm : how to get command line before typing enter

I try to define a custom behaviour of the backward-kill-word function in bash xterm. For that, I need to catch the command line before validate it. For instances, if I type sdcds/edfdD sdf/sdf without ...
0
votes
0answers
25 views

How to bind command key in zsh?

It is possible to bind Command Key from mac os x in zsh? I can't find any information about that.
1
vote
1answer
71 views

Is there a program where I can use my mic to execute commands?

I was inspired by this http://vimeo.com/30649822 It appears he written a program using kinect to for mic input and it executes various commands. Is there an existing program i may use which uses a ...
2
votes
1answer
46 views

Change ssh tunnel after connecting

Is it possible to change/add an ssh tunnel after connecting to the ssh server via command line? I know you can do it with putty
1
vote
5answers
56 views

How to list files by file owner in Unix command?

I need to list all of the files my WD sorted alphabetically by the file owner name. Does ls have something for this?
0
votes
0answers
51 views

Shutdown command doesn't broadcast message

Shutdown command stops broadcasting messages like that: luzar@ubuntu:~$ sudo shutdown -h -P +3 Please save your work now! Broadcast message from luzar@ubuntu (/dev/pts/0) at 11:57 ...
1
vote
1answer
44 views

Deleting Multiple Files

I am deleting multiple files with the command: del /s *.doc *.rtf *.txt I get the error Could Not Find *.doc. How can I get the command to continue deleting RTF and TXT files when there are no ...
0
votes
1answer
72 views

Learning Command Line Basics for Linux [closed]

I'm just starting to use Github and am not very familiar with using command line. Are there any good online resources for someone who is truly starting out? I would really hate to nuke an entire ...
0
votes
3answers
56 views

Copying current line from shell in linux

While setting classpaths in the .bashrc, I was wondering if there was a way to copy the current output from the shell for pasting later into some editor. What I am trying to accomplish is as follows: ...
8
votes
1answer
151 views

Linux command to concatenate a file to itself n times

I've taken a plain text file book from Project Gutenberg (around 0.5MB) which I want to concatenate to itself n times in order to generate a large text file that I can benchmark some algorithms on. ...
0
votes
3answers
95 views

Redirecting Command output to file

This seems so simple when doing it from command line but I'm not able to accomplish it inside a script. I am trying to put output of following command into a text file: CMD= mysql -uroot -psecret -e ...
3
votes
1answer
56 views

Vim command mode complete word

Is there a way to get Vim in command mode to complete words from the current file? Say I have this file: one two three once and I enter command line mode :myruncommand o| where | denotes the ...
1
vote
0answers
23 views

Mac: Command + i produces Control? [closed]

I'm a photoshop user. This has annoyed me for a while now. Every time I press Command + i (command invert), this "^", but only in a code editor (like Textmate), every other time the command just ...
1
vote
2answers
167 views

ssh-keygen command not found when setting up Git on Windows

I'm following the steps here. I'm on step 3 of Set Up SSH Keys. When I type in: ssh-keygen -t rsa -C "myemailhere" I get the response: ssh-keygen: command not found What is this supposed to ...
4
votes
3answers
118 views

Windows 7 batch file: Why are these IF blocks keeping me from assigning variables to a value?

Here's the broken batch file: @echo off if prod==prod ( if xps==xps ( set i1=prodxpsi1 set i2=prodxpsi2 set e1=prodxpse1 set e2=prodxpse2 ) else ( set ...
1
vote
1answer
70 views

How can I know the list of files added to an SVN branch?

I need to find out all the files that were added to a given branch starting from a certain revision number. What command should I use ? I have access to grep, etc. I'm looking for a command-line ...
1
vote
2answers
92 views

'windiff' is not recognized as an internal or external command, operable program or batch file

I've heard of the windiff command, which basically helps us compare 2 files and show the differences. However, when trying to run it, I get the error 'windiff' is not recognized as an intenral or ...
3
votes
2answers
24 views

directory listing is showing “+” sign

In one of my directory listing I get following output drwxrws---+ 7 sip sip 4096 Aug 5 13:25 USSDG I am the member of the group sip but I am not able to create any file if I ...

1 2 3 4 5