Most Popular

1500 questions
115
votes
5 answers

Is there a standard place for placing custom Linux scripts?

I am developing a set of scripts, which I want to be present for all users, when I set up a server. But I don't want them in the standard locations like /usr[/local]/[bin],[sbin] etc. Is there some existing convention for where such scripts should…
vfclists
  • 1,949
115
votes
1 answer

npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed

I want to install npm. I've updated everything but I can't fix the problem. The message I get is: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean…
114
votes
14 answers

What is a program similar to WinSCP?

In Windows I use WinSCP to transfer files server-side. It has a very attractive feature that I like best: keeping remote folders up to date. This means, whenever my local file is changed, WinScp will replace the same file on the server with this…
114
votes
15 answers

Can you set passwords in .ssh/config to allow automatic login?

I'm using Ubuntu 11.10 and ssh for connecting to many servers daily, so I put their parameters in the .ssh/config file like this: Host Home User netmoon Port 22 HostName test.com Is there a way to put passwords for each connection in this file, so…
Netmoon
  • 1,498
114
votes
10 answers

How can I boot with an older kernel version?

The latest kernel is causing problems with my sound, which worked fine with an older version. As I have only Ubuntu installed, Grub is not getting displayed while booting. How can I manually choose my kernel version while booting?
114
votes
9 answers

How to get bash to stop escaping $ during tab completion?

I have this on the command line: ln -sf $PWD/wine- and then I hit Tab to complete the filename. In earlier versions of Ubuntu, this worked just fine to complete the wine- filename (and as a side-effect $PWD would be expanded at that time). But…
keturn
  • 1,397
114
votes
10 answers

rsync over ssh "error in rsync protocol data stream" (code 12). ssh works

I tried: rsync -v -v -e 'ssh -p YY' ./testfile me@XXXXX:/home Error Message opening connection using: ssh -p YY -l me 146.6.84.206 rsync ->-server -vvve.s . /home [sender] make_file(testfile,*,0) send_file_list done send_files…
user3391229
  • 1,255
114
votes
6 answers

Apache: access denied because search permissions are missing

I know this question is asked a lot, but the solutions I saw didn't work for me. I only have one virtual host enabled, and I'm trying to enable access to a folder that's not under the document root ServerAdmin webmaster@localhost DocumentRoot…
Yotam
  • 1,419
114
votes
5 answers

What is different about the Mac ISO image?

http://cdimage.ubuntu.com/releases/11.04/release/ At that location there is an ISO image which is described as "This image is adjusted to work properly on Mac systems." What specific problems on the Mac does this image address that the standard…
popey
  • 24,549
114
votes
12 answers

How do I read a variable from a file?

I want to insert in my script a value (string) that I would read from a text file. For example, instead of: echo "Enter your name" read name I want to read a string from another text file so the interpreter should read the string from the file and…
user208413
  • 1,175
114
votes
2 answers

In Gimp can I change all black pixels in a picture to blue pixels?

Using Gimp can I make all the black pixels with RGB(0,0,0) into blue pixels with RGB(0,0,255)?
sashoalm
  • 5,241
114
votes
3 answers

How do I change file system in recovery mode to read-write mode?

I have messed up my sudoers file and I want to change the permission on it. When I login in recovery mode, I cannot run the command chmod as it is read-only option. I tried mount -o remount,rw / in recovery mode. Didn't work for me: Err : Ext4-fs…
bale
  • 1,141
114
votes
7 answers

How to change/disable password complexity test when changing password?

I know that it is a "bad" idea, I know that it is not secure, I know. I searched the net for an answer and all I saw was whining that it's not good. But I like using Linux because it lets me make the system I want and like to use. The end of…
wobmene
  • 2,101
114
votes
19 answers

apt-get update failed because certificate verification failed because handshake failed on nodesource

Running sudo apt-get update on my AWS EC2 Ubuntu 18.04.01 LTS instance fails: Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown when trying to access the deb.nodesource.com/node_10.x bionic…
Joe
  • 1,279
114
votes
3 answers

Right click not working on Ubuntu 18.04

I have installed Ubuntu 18.04 LTS on my HP Pavilion series laptop. After installing this version of Ubuntu, right click is not working of my touchpad. How can I solve this? BTW: This question does not have any solution which which is working for…
sam
  • 2,836