Skip to main content

All Questions

Tagged with
1 vote
0 answers
37 views

on the password prompt, the shell automatically adds a return after entering a character and displays authentication failed

logging in to an ubuntu 16.04 server via ssh. This has never happened before. The other user I asked seems unaffected by this. What could have happened? Also, when I try to enter my git credentials ...
spheroid's user avatar
0 votes
0 answers
32 views

Why performing the env command I obtain different values of the environment variables declared into "/etc/environment"?

I am working on an Ubuntu 18.04.2 LTS system and I have the following doubt. Into the /etc/environment file I have delcared the following variables: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/...
AndreaNobili's user avatar
  • 7,201
0 votes
0 answers
243 views

Cronjob in background

I have a bash script already tested and working fine. It's a listener that trigger a command on new created files in a specific directory. I added it in crontab "* * * * * root /bin/bash /var/...
user3210456's user avatar
0 votes
0 answers
38 views

Terminal gets closed as soon as I start it

I have newly given ubuntu 16.04. I wanted my terminal to execute command during start up so I go to: Edit -> profile preferences -> run a custom command instead of my shell There I wrote the ...
Ankur Gautam's user avatar
0 votes
0 answers
118 views

Why can I not mount my NTFS local partition on Bash for Windows

I have two local disks on my Windows 10 OS, C:/ and W:/ (w:/ is an NTFS partition of my C: drive). I start up Bash on Ubuntu on Windows, and under /mnt/ I only see one directory, /mnt/c. Following ...
P Cresswell's user avatar
2 votes
2 answers
862 views

How to know where terminal name (command line prompt) come from?

When I log in on remote server with my user, I see terminal name: user@someName. I want to modify someName part. I thought maybe it was related with hostname. So opening /etc/hostname, it was also ...
Andrius's user avatar
  • 607
3 votes
1 answer
786 views

pkftk.jar executable with bash script pdftk current directory

In ubuntu-16.04 the command line program pdftk was dropped. I use pdftk every day, so I am working on using this PDFTK fork https://gitlab.com/marcvinyals/pdftk from the instructions found at https://...
Dan Hunt's user avatar
0 votes
2 answers
483 views

Bash :: append text to output of file

I am very new to Shell Scripting so this maybe a very easy solution but i'm struggling to get it to work. I have a file with this content: example1.eu example2.eu example3.eu What I am trying to ...
PLouro's user avatar
  • 3
0 votes
1 answer
76 views

Where exactly is defined this service into a Linux Ubunty 16.04 system?

I am not so into Linux and I have the following problem. I am working on n Ubuntu 16.04 system. In this system I have a program that it is started from the command line in this way: service wso2ei ...
AndreaNobili's user avatar
  • 7,201
0 votes
1 answer
972 views

Why does Bash suddenly print a lot of `declare -x` commands on startup?

Recently, whenever I open a terminal, bash prints this text(some info redacted) to it before I'm dropped into the prompt: declare -x CCACHE_DIR="/local/.ccache" declare -x CLICOLOR="1" declare -x ...
oarfish's user avatar
  • 806
4 votes
1 answer
3k views

ssh is stuck at sending command, but login without a command works

I am able to ssh to machine xyz: $ ssh xyz mitchus@xyz's password: Last login: Fri Sep 1 12:37:10 2017 from 192.168.1.23 mitchus@xyz:~$ but I can't scp to it, nor can I send a command via ssh. ...
mitchus's user avatar
  • 147
-1 votes
1 answer
58 views

Does changing root permissions matter?

I see many times when dealing with password or other confidential files, tutorials and the like recommend changing the file permissions to 400. This seems odd because root, I have learned, is like the ...
electricjelly's user avatar