Most Popular
1500 questions
138
votes
4 answers
I regularly see gstatic.com in the status bar, what is that domain?
Sometimes when I am browsing the web, among the hostnames that fly by in the statusbar is one that includes gstatic.com as the base domain. I can't navigate to http://gstatic.com to gain any more information. All I get is a Google page that…
eleven81
- 15,614
138
votes
8 answers
Show only current directory name (not full path) on bash prompt
The way my bash prompt is currently configured, it shows the whole path to the current directory. This is annoying when I'm deep inside a directory tree, as the prompt becomes so long that every command wraps into the next line. How do I make it…
agentofuser
- 7,397
138
votes
7 answers
Get home directory by username
I want to obtain home dir of any user with echo
echo ~puchuu
>> /home/puchuu
But I cant use variable
echo ~$USER
>> ~puchuu
echo `echo ~$USER`
>> ~puchuu
puchu
- 1,902
138
votes
11 answers
Copy and paste in Windows PowerShell
How do I effectively copy and paste input and output in the Windows PowerShell?
orschiro
- 3,595
138
votes
7 answers
Is there a way to show notification from bash script in Ubuntu?
Most of the application can show nicely formatted notification on events that appear on top right corner of the screen. I'm about to write a bash script that will do fairy long processing in the background and I really want to know when it is…
vava
- 5,878
138
votes
4 answers
What is the keyboard shortcut to focus to address bar in Mac Chrome?
In Windows Chrome, alt + d is the shortcut.
What is it in Mac Chrome?
js_
- 1,503
138
votes
6 answers
scp files via intermediate host
I have access to 3 machines, A, B, and C. The only possible (ssh) connections are:
A -> B
B <-> C
I need to get files from A to C, so I could scp the files from A to B, and then scp them from B to C. However, B doesn't have much disk space, so this…
astrofrog
- 1,767
138
votes
14 answers
Word heading number blacked out
When opening the document I am working on in Word 2010 this morning, the number in heading level 1 is a black rectangle:
however, it still look ok in the bookmark pane:
Weird, ey?
Theodor
- 2,040
138
votes
11 answers
How do I remove the same part of a file name for many files in Windows 7?
Basically, I have an album of music and I want to remove the authors name from all of the mp3 files instead of having to manually do it myself. Is there a function in Windows 7 Ultimate that can do this for me?
qroberts
- 5,229
138
votes
7 answers
scp to remote server with sudo
I have a file on server A (which is behind a NAT so not directly addressable). The file needs to be copied to server B in a directory restricted to root. I have an account on server B with sudo privileges. What is the syntax for the scp command?
Neil
- 1,505
- 2
- 10
- 9
137
votes
10 answers
How do you remove a default program association for file types in Windows 7?
I somehow have set the default file type association for a file type in Windows 7. It doesn't appear to be possible to delete it from the "Change the file type associated with a file extension" options screen. Is it possible to remove it?
Christothes
- 4,227
137
votes
8 answers
How do I find out command line arguments of a running program?
I'm looking for a tool or method to find out what command line parameters have been passed to a program, for example when it was run by another program (launcher-application scenario).
Gepard
- 1,777
137
votes
12 answers
How to upload one file by FTP from command line?
I need to upload a single file to FTP server from Ubuntu. This operation should be done in a script (in non-interactive mode). What is the right syntax for ftp?
I'm trying this, to no avail:
$ ftp -u ftp://user:secret@ftp.example.com…
yegor256
- 1,671
137
votes
7 answers
How to analyse disk usage in command line linux?
du and df are nice, but I don't know how to filter the data they provide the way I do with SequoiaView. I would like to know which are the largest folders and the largest files in a glance.
Jader Dias
- 15,996
137
votes
6 answers
How do I reload .inputrc?
Background
I have heard that the readline module is reading ~/.inputrc and that is how it changes the behaviour of keystrokes under programs such as bash.
Question
How can I reload this after editing to see the changed behaviour without restarting…
Captain Lepton
- 1,960