Skip to main content

All Questions

Tagged with
-1 votes
2 answers
5k views

Java_home No such file or directory in Linux terminal

Hello I have a problem my linux terminal shows bash: java_home: No such file or directory, when I type echo $JAVA_HOME I get /usr/lib/jvm/java-8-openjdk-amd64 and echo $PATH shows /usr/lib/jvm/java-8-...
Jules's user avatar
  • 5
2 votes
0 answers
32 views

Two commands when run seperately works but when on a Bash file it does not work [closed]

I am using KUbuntu 18.04.1 I am trying to extract text from screenshot using spectacle (Screenshot app of KUbuntu) & gocr (OCR tool) If I give the commands one after another in Konsole (Terminal ...
Ahmad Ismail's user avatar
  • 2,738
1 vote
1 answer
5k views

Bash script to detect a file modified yesterday and check if its size is above a certain threshold

I'm writing a script to stat all files in a directory, and then find specific files that were created yesterday and tell me if they are larger than a certain size or not. So basically I need this to ...
Aiden Prohaska's user avatar
0 votes
2 answers
340 views

Add users from dat file

I have a dat file with names. These are the names of users I must add, without groups or passwords. Ofcourse i have to remove all spaces. I have to add them with a bash script. Can anyone help me ...
user64047's user avatar
26 votes
6 answers
73k views

ssh-agent not getting set up (SSH_AUTH_SOCK, SSH_AGENT_PID env vars not set)

I set up a new user account for a friend on Kubuntu 12.04.  When he uses ssh, he gets this error: Could not open a connection to your authentication agent We're running ssh in some bash scripts. ...
MountainX's user avatar
  • 18.2k