-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 ...
0
votes
1answer
49 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
41 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
24 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
19 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 ...
0
votes
3answers
68 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
38 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
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
12 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. ...
0
votes
1answer
15 views

Recursively execute Linux 'ar' command

I have a directory with hundreds of sub-directories with many .lib files in them. I am able to use the ar -x filename.lib command to unpack one of them, but I was wondering how one would do this ...
3
votes
1answer
47 views

Remove all but N files from directory recursively

I would like to whittle down a large database from the command line to N files, very similar to this question does. The only difference is that most of my files are in sub-directories, so I was ...
-1
votes
0answers
29 views

Get size of multiple directories from multiple location on Linux [closed]

I have client directories under a parent folder like below/home/test/one/client1/home/test/one/client2/home/test/one/client3/home/test/two/client2/home/test/two/client10/home/test/two/client55...
1
vote
1answer
24 views

Unix/Linux - service unit file cannot recognize env variable set in /etc/environment

I have an environment variable setup correctly in /etc/environmentI have ensured that it loads correctly via /etc/profile modification. and I can echo it to confirm.but when I created the unit ...
1
vote
2answers
32 views

Windows-to-Linux: Execute a shell script as user process (as bkgrnd) on remote machines

I am trying to do the following:1) Run a shell script on remote machine 1,2,and 3 (all Linux) from Windows machine.2) On my Windows machine I have plink which I am using in the following way:...

153050per page