Most Popular
1500 questions
208
votes
12 answers
sudo with password in one command line?
On busy days, I'd like to run
$ ./configure && make && sudo make install && halt
on the night and go to bed, hoping the application would automatically be installed. But what I see the next day is the screen where sudo asks me for the password. So…
Jichao
- 7,470
208
votes
15 answers
Can't delete folder and I am admin. "You need permission to perform this action. You require permission from..."
I can't delete a certain folder in Windows 7. It's not a system folder. It was created by an app. I get an error message "You need permission to perform this action. You require permission from Tony....". I am an admin and logged in as myself Tony.…
Tony_Henrich
- 11,706
208
votes
12 answers
Disable "These files might be harmful to your computer" warning?
I keep getting this irritating warning when copying files over the network:
These files might be harmful to your computer
Your internet security settings suggest that one or more files may be harmful. Do you want to use it anyway?
I am copying a…
Jeff Atwood
- 24,142
207
votes
7 answers
Where can I download Windows 7 (legally from Microsoft)?
I just bought a serial for Windows 7 on-line from the Microsoft store (the most painful shopping experience EVER!). I selected that I wanted to download my version of Windows 7 after purchase. After payment, I have listed a Product Key but no…
Luke
- 2,649
207
votes
9 answers
Change default code page of Windows console to UTF-8
Currently I'm running Windows 7 x64 and usually I want all console tools to work with UTF-8 rather than with default code page 850.
Running chcp 65001 in the command prompt prior to use of any tools helps but is there any way to set is as default…
Regent
- 2,376
206
votes
11 answers
I accidentally typed password into bash command line
I accidentally typed my password into bash command line, mistaking the Last login: ... line for Wrong password (I was in a hurry). What do I do to cover my trace?
What I did was editing .bash_history and deleting the offending line (had to relogin…
MaDa
- 2,013
206
votes
17 answers
Is there a way to see any tar progress per file?
I have a couple of big files that I would like to compress. I can do this with for example
tar cvfj big-files.tar.bz2 folder-with-big-files
The problem is that I can't see any progress, so I don't have a clue how long it will take or anything like…
Svish
- 39,580
206
votes
4 answers
How to disable internet search results in start menu post Creators Update?
It used to be possible to disable internet search results in start menu searches before the Windows 10 Creators Update, but I've just clean installed a new Windows 10 Pro image and that setting is gone. Is there some way to disable it through…
Drew
- 2,679
205
votes
8 answers
Where should the .vimrc file be located on Windows 7?
I recently installed vim on Windows 7 as a stand-alone binary.
Where should I put my .vimrc file?
AJ.
- 4,031
205
votes
12 answers
Cmd+Tab App Switcher is on the wrong monitor
I have an external monitor connected to my laptop, and the external monitor is set as the primary display. My problem is that sometimes after I've connected the monitor, the App Switcher still shows on the laptop screen. How can I set/reset it to…
Markus Hedlund
- 2,637
204
votes
9 answers
How far will you get with an 'rm -rf /' command?
I've often wondered how far the system will actually get if you run rm -rf /. I doubt the OS would be able to erase itself (?)
Bonus Question: After the command has been executed, will rm have removed itself?
Update:
I've tested this in a couple of…
nopcorn
- 16,662
204
votes
6 answers
Why won't "sudo cd" work?
Why typing sudo cd whatever won't change the directory?
sri prasanna
- 2,143
203
votes
9 answers
How to install new packages on Cygwin?
I installed the latest version of Cygwin with a number of packages.
I soon realised that I need more packages (such as wget, etc) and I couldn't find a way to install the new packages without running the set up again and reinstall everything from…
Mulone
- 2,203
- 3
- 15
- 10
202
votes
15 answers
"This file came from another computer..." - how can I unblock all the files in a folder without having to unblock them individually?
Windows XP SP2 and Windows Vista have this deal where zone information is preserved in downloaded files to NTFS partitions, such that it blocks certain files in certain applications until you "unblock" the files.
So for example if you download a zip…
Tom Kidd
- 1,627
202
votes
8 answers
Execute a command from another directory in bash
Say that I'm doing this:
cd subdir
git init
cd ../
Is there a way to do this with a single command, or perhaps two, rather than having to move in and out of a directory in order to run a command there?
(Not looking for a git-specific solution;…
Trevor Burnham
- 2,431