Linux

New Mirai botnet species 'Okiru' hunts for ARC-based kit

The Register - 9 hours 27 min ago
Researchers: Code designed to hit Linux devices

A new variant of the notorious Mirai malware is exploiting kit with ARC processors.…

Help with move command

Command Line - 9 hours 41 min ago

Hello all, im trying to create a bat file that will upload the contents of a directory to an FTP, and then move the text files to a backup directory within the same folder.

Im fairly new to the command line, so ive done some research and made some progress.

This will be given to a user to make the process of uploading the files as simple as possible, IE a single click or running the bat file using scheduled task.

They will always be text files, but the filenames will be slightly different each day. There will always be two files.

I have run into some issues that I cannot figure out with google.

At the moment I have a single bat file called "startupload.bat". This calls another batfile in the source directory called "fileup.bat".

Issue 1: In "startupload.bat" I navigate to the source directory, and then call fileup.bat to run on the text files using the command:

fileup.bat *.txt

But for some reason this will only move a single text file, not both. When I tried it yesterday both files moved but today, without changing anything, will only move one file.

Issue 2: Im also struggling with the move command. This is what im using:

move *.txt targetdirectory

The error I get is "cannot move multiple files to a single file."

I read that I can specify that the targetdirectory is an actual directory and not a file using the /D option - but when I try to use it I just get syntax errors - where should the /D option go?

If it helps, below is the full bat files that im using:

startupload.bat

pushd C:\Users\USERNAME\Documents\FTPAutoUploadTest\ mkdir Backups fileup.bat *.txt move *.txt C:\Users\USERNAME\Documents\FTPAutoUploadTest\Backups

fileup.bat

@echo off echo user USERNAME> ftpcmd.dat echp PASSWORD>> ftpcmd.dat echo bin>> ftpcmd.dat echo put %1>> ftpcmd.dat echo quit>> ftpcmd.dat ftp -n -s:ftpcmd.dat HOSTSERVER.com del ftpcmd.dat submitted by /u/ShockRampage
[link] [comments]

Unity android module how to create text file

Developing Android Apps - 9 hours 42 min ago

Hello! I have a Unity game that game imports my Android library(jar file) as a plugin via AndroidJavaClass and calls my method, that part is clear and works fine. I can't even create a hello.txt file, because obviously I can't even do context whatever code in my java file. My question is how do I create a txt file in the download directory and fill it with text?

submitted by /u/tokman2
[link] [comments]
Categories: Android, Linux

Amount of pixels needed to make VR less crap may set your PC on fire

The Register - 10 hours 21 min ago
Wow, this is incredib- BLEEUUURGHGHGH

Put on a virtual reality headset and it's hard to believe that your visual system is being stretched beyond its limit. Individual pixels are still visible and the narrow field of view makes it feel like you're wearing ski googles.…

Looking for a good book on Linux system administration

I am doing the course "Essentials of Linux System Administration (LFS201)" on Linux.com.
I like the course, but what I need is a good book next to it.
Does anyone know a good book on the subject of Linux System Administration?

submitted by /u/DontwakemeUp46
[link] [comments]

Containers versus Operating Systems

Linux.com - 10 hours 27 min ago

The most popular docker base container image is either busybox, or scratch. This is driven by a movement that is equal parts puritanical and pragmatic. The puritan asks “Why do I need to run init(1) just to run my process?” The pragmatist asks “Why do I need a 700 meg base image to deploy my application?” And both, seeking immutable deployment units ask “Is it a good idea that I can ssh into my container?” But let’s step back for a second and look at the history of how we got to the point where questions like this are even a thing.

Understanding Feature Engineering (Part 1) — Continuous Numeric Data

Linux.com - 10 hours 47 min ago

Any intelligent system regardless of complexity needs to be powered by data. At the heart of any intelligent system, we have one or more algorithms based on machine learning, deep learning or statistical methods which consume this data to gather knowledge and provide intelligent insights over a period of time. Algorithms are pretty naive by themselves and cannot work out of the box on raw data.

Causes of software development woes

The Register - 10 hours 57 min ago
Reg readers point the finger at ambiguous requirements

Research "Agile development" can mean different things to different people. To some it's about easing up on traditional rigour, and even legitimising a quick-and-dirty approach to getting stuff out of the door. To others it's about implementing a different kind of rigour, in order to bust project backlogs in a more robust manner, and generally keep up with constantly changing business demands.…

Who plan to go to Game Developer Conference this March?

Developing Android Apps - 11 hours 25 min ago

Hi guys, anybody plan to go to Game Developer Conference this March?

submitted by /u/app2017
[link] [comments]
Categories: Android, Linux

mini project

Linux - 11 hours 28 min ago

hello i am engineering student.we required to make 2 different mini projects on python and Linux and anyone suggest me?🤔 (Linux mini project on shell scripting)

submitted by /u/jaybhatt
[link] [comments]
Categories: Linux

Hey Europe, your apathetic IT spending is ruining it for everyone

The Register - 11 hours 28 min ago
Gartner predicts buyers ready to splash 4.5% more cash globally in 2018

Listless IT spend in Europe is dragging down the pace of global recovery, according to the latest prediction from entrail-prodders Gartner.…

A redefined filesystem hierarchy - is good or bad?

Linux - 11 hours 47 min ago

I've just stumbled upon GoboLinux - a project that is supposed to redefine the filesystem hierarchy.

I'm on linux for more than 5 years now. Although I do know how to find files, pacman -Fs, etc. sometimes I do wonder why the files belonging to a program are scattered across the filesystem /usr/share/doc, /etc. There are more points on the FS idea presented here

What are your thoughts?

submitted by /u/sitilge
[link] [comments]
Categories: Linux

Capita military recruiting system has 'glitches' admits minister

The Register - 11 hours 54 min ago
DRS still letting the armed forces down big-time

A defence minister has told Parliament that Capita’s pisspoor Defence Recruiting System (DRS) has “glitches”, following reports from The Register giving a glimpse inside the shambolic system.…

Pages