Skip to main content

Questions tagged [command-line]

An interface for interacting with a computer using typed commands in a text-oriented environment, as opposed to a graphical user interface (GUI).

Filter by
Sorted by
Tagged with
52 votes
12 answers
326k views

How to find out uptime on Windows?

What is the simplest way to find out how long a computer is turned on Windows?
Juozas Kontvainis's user avatar
16 votes
3 answers
7k views

What is causing all these "declare -x …" lines when I open a terminal?

When I open a terminal on my Fedora machine (or ssh into it), I get a bunch of lines like this before the prompt: declare -x CVS_RSH="ssh" declare -x DISPLAY="localhost:10.0" declare -x ...
Daryl Spitzer's user avatar
216 votes
9 answers
412k views

How do I find out what version of Linux I'm running?

Is there a way to determine what version (distribution & kernel version, I suppose) of Linux is running (from the command-line), that works on any Linux system?
Daryl Spitzer's user avatar
2 votes
1 answer
5k views

Start firefox in safemode in Ubuntu 9.04

How would I start firefox in safemode in Ubuntu 9.04, I did not see a menu option like there is in windows? Is it done through a command line flag?
Bobby's user avatar
  • 438
2 votes
2 answers
779 views

How to find and then compare similar files in Dropbox folder?

I am using Dropbox, and I wind up with a number of files like: prefs (home's conflicted copy 2009-07-20).js What I would like to do is find all the "conflicted copy..." files and then compare each ...
pcapademic's user avatar
  • 3,781
15 votes
3 answers
21k views

Schedule a job from the Windows command line?

On Linux there is cron job and at job. Is there a way to schedule a job from the command line on Windows? The Task Scheduler GUI is not what I am after. I must modify a script to schedule an event ...
user avatar
19 votes
6 answers
4k views

Good PowerShell guide, getting started through more advanced usage [closed]

Does anyone have a really good tutorial or getting started guide for Microsoft's PowerShell? I'm a long time Linux/Unix user, and very familiar with scripting languages, command-line usage with bash, ...
jtimberman's user avatar
  • 21.7k
14 votes
7 answers
5k views

Fullscreen Vista's Command Prompt, or Replacement

Opening the command prompt ("cmd") on Vista into full screen causes the application to take up 100% vertical space, but only about 50% horizontal. Is there not a way I can make this fullscreen? If it'...
Sampson's user avatar
  • 7,358
7 votes
4 answers
23k views

Sync remote folders on Linux

What is the simplest way to unidirectional incremental syncing of a folder present on a Linux system. +1 for using the command line. +2 for not using rsync (Seems to have some problems on my system.)
lprsd's user avatar
  • 2,915
16 votes
2 answers
12k views

How can I get OSX Terminal.app to open fullscreen and not cascade?

I prefer to have separate Terminal App windows rather than tabs. If I open a new windows then it always wants to cascade and I can never get it to go fullscreen. Solution?
Gareth's user avatar
  • 261
38 votes
11 answers
57k views

Is there an easy way to split mp3 files?

I recently learned a neat trick. To join mp3 files together, you simply use the command (in Windows) copy /b *.mp3 joined.mp3 and voila, you have one large mp3 file. My question: is there a method ...
Yuval's user avatar
  • 2,282
0 votes
4 answers
676 views

Why are some commands 'non-existent'?

I'm a fairly new Linux user and I've noticed that some commands are only available to the superuser - shutdown for example. I often get confused when I know there's a command, try to execute it but ...
Ross's user avatar
  • 3,288
1 vote
4 answers
2k views

Use Windows Briefcase from the command line

I have a thumb drive on which I take many of my files with me. I would like to synchronize it with my computer automatically when I connect it. I currently have a script run every time I connect it so ...
Daniel H's user avatar
  • 1,624
8 votes
5 answers
3k views

Transparent Command Prompt in Vista?

Is it possible to have a slightly transparent command prompt window in Vista or Windows 7? Are they any 3rd party alternatives?
duckworth's user avatar
  • 899
34 votes
6 answers
12k views

What zsh features do you use? [closed]

I do a lot of work in the terminal so I have learned a lot about my shell of choice, zsh. What features of zsh do you use to make yourself that much more productive at work? One of my favorites is ...
Frew Schmidt's user avatar
  • 1,261
23 votes
2 answers
92k views

.profile in Mac OS X?

I have set my terminal preferences to execute: set -o vi at startup. The problem is I don't get that command executed when open a new terminal tab. Is there something like .profile in OS X where ...
OscarRyz's user avatar
  • 4,131
626 votes
5 answers
1.6m views

How to find a directory on linux?

I have a VPS with Suse Linux 10.3. I've logged in via SSH/putty and am trying to find where my web files are located. Since I'm uploading via FTP in a directory called httpdocs, I assume that this ...
Edward Tanguay's user avatar
25 votes
7 answers
53k views

Access to the Windows Startup directory via Run

What is the command to type in the Windows Run that opens the user's Startup directory? it's of a format similar to %windir% for Windows and %appdata% for application data the site Computer ...
SteveC's user avatar
  • 2,154
15 votes
6 answers
59k views

Windows equivalent of ls * (asterisk) directory wildcarding?

Another question from an long-time Unix/Linux user who finds himself in a Windows world. First let me explain exactly what I'm trying to do. I'm using the Windows cmd.exe shell, and I want to list ...
Ogre Psalm33's user avatar
1 vote
7 answers
557 views

Restore drive image with PC reboot

I need a way to restore a drive image (C:) automatically.. My client earlier had some Norton Ghost 2003 floppy disk with some batch program to initiate a Drive Restore operation via the command-line ...
Robin Rodricks's user avatar
17 votes
3 answers
21k views

What is the colorized version of the Linux "top" program?

I didn't know "top" had a nicer colorized version like this. What is the command? Does anyone recognize this?
user35997's user avatar
  • 554
46 votes
12 answers
97k views

Which command can I use to recursively rename or move a file in Windows?

What command in Windows emulates the recursive move / rename command from Unix?
javamonkey79's user avatar
13 votes
10 answers
19k views

Windows Vista: How to execute a .exe program in the cmd "As Administrator"

Yes, that's it. I need to run a program .exe in the dos cmd line and it needs to run like when you right button and select "run as an administrator"
user avatar
13 votes
2 answers
672 views

How to Send the Contents of a Text File to the Clipboard from the Command Line in OS X?

I would like to send the contents of a text file to the OS X clipboard. Does Mac OS X have a built in way to do this, or will I have write a script to do this myself? Or in other words, how do I ...
user2539's user avatar
  • 469
367 votes
15 answers
1.2m views

How do you list all processes on the command line in Windows?

Is there a command equivalent to 'ps' on Unix that can list all processes on a Windows machine?
readonly's user avatar
  • 3,944
130 votes
9 answers
211k views

How do I add a user to multiple groups in Ubuntu?

What's the command line utility and the arguments it requires?
quackingduck's user avatar
  • 3,171

1
258 259 260 261
262