Bash is a free shell for Unix-like operating systems from the GNU Project.

0
votes
1answer
18 views

running a script as service that requires DISPLAY=:1 command

I am running Ubuntu 16.04 and Xfce desktop + vncserver to access it I have a script that launches and controls a GUI appI can launch it from a shell like DISPLAY=:1 /home/script.sh I executes my app ...
-1
votes
0answers
13 views

Convert file to PDF using LibreOffice using under apache (i.e. when using JSP) [migrated]

I am converting my docx file to PDF using JSP. The Libre office is not converting file through JSP. But when i am converting it through terminal or bash file, it is converting successfully.Please ...
-2
votes
0answers
44 views

BASH SCRIPT for complete data [on hold]

Hello i was search but i no found noting about copy inside the same file.I have this CSV file."ID";"Comb ID";"Price";"Comb Price";"Name";"Descr""3";"";"200";"0";"name1";"Desc some""4";"21";"";"...
0
votes
1answer
64 views

Large Data Processing: Removing lines in one text document found in another

I have 2 large text files (~500M, ~15GB ea) That look like this: FileP.txt:test@test.com:testtest test@test.com1:testtest1test@test.com2:testtest2test@test.com3:testtest3test@test.com4:...
-1
votes
2answers
43 views

Append console out to file at begin [duplicate]

To postgenerate fake-module-bpy (For blender Python)... нowever, the language does not matter.So, I use next console command]$ ls | grep -v _init_ | sed -E 's/^([a-zA-Z0-1]+)/import \1/' >> ...
0
votes
1answer
24 views

Use asterisk sign in env variables value

I need to define an environment variable with a value of a cron job.The value would be as the following:"0 0 * * * *"It will be executed as a bash command on linux.Is It possible?How could I ...
0
votes
0answers
25 views

how make multiple redirection with command and fifo

I need to write a bash script in a linux machine with the follow redirection.echo commands > cmd_receives_commands > fifo > awk_parser > tcp_socketI verified that for the "tcp_socket" ...
1
vote
0answers
20 views

Git/Linux - Pushing trough ssh on a Lan server(raspberry pi) not showing any errors

I am setting a Git server on my Raspberry pi 3 running Rasbian Lite.The 22 port is open and i can successfully ssh into it. On the client side i can git clone from the respositorry,the files are ...
1
vote
0answers
17 views

stop bash try to display every possible result and auto-complete when ambiguous result find

This is my .inputrc9 set show-all-if-unmodified on10 set menu-complete-display-prefix on11 #set completion-ignore-case on12 set disable-completion on1) How do I stop bash try to display ...
0
votes
3answers
71 views

MD5 the files in each subdirectory given a starting directory, placing the checksum file in the subdirectory

What flags do I need to give to the find command to enter the directory before running the -exec command?I have a directory filled with directories filled with files> root directory-> ...
0
votes
1answer
39 views

Is it faster to use WSL commands instead of cmd commands for file manipulation?

On Windows 10, it is possible to manipulate files through the command line via three separate built-in ways: Powershell,the command prompt, and throughbash commands via the WSL (Windows Subsystem ...
1
vote
2answers
29 views

How to specify executable python path?

My PATH variable looks like this:/home/elgin/anaconda3/bin:…:/usr/bin:…As you see above anaconda3 precedes /usr/bin. So when I type python in terminal, it gets python in the first anaconda3 path....
0
votes
0answers
19 views

What is the easiest and shortest way to know java installation folder in bash?

The only way i know right now is-echo $(/usr/libexec/java_home)I tried editing .bash_profile to add export JAVA_HOME=/usr/libexec/java_home but still it didnt do the trick, so any other ...
-1
votes
0answers
32 views

How to copy admin protected user-1 data to user-2 or to an external pendrive in LinuxMint18.3? [on hold]

How to copy or backup user1 data which is password protected to user-2(login access available) or to a pendrive in linux? I tried to change the password but didn't work due to some bash script issue...
0
votes
1answer
13 views

“Command 'soruce' not found” when trying to execute bashrc (not a typo)

When I try any of the following I always get the above errorsudo bashsource ~/.bashrcsudo -sEven if I'm explicitly using the 'source' command it seems to think I'm typing in 'soruce' instead. ...
-1
votes
2answers
48 views

Can you make Windows command prompt cmd+cygwin?

I want to make my windows command prompt cmd+cygwin. I should be able to run both windows cmd commands and cygwin commands from my windows cmd prompt. If I add C:\cygwin64\bin to my PATH variable i ...