Questions tagged as 'linux'

2
answers

How do I compile the javascript v8 engine in ubuntu 16.10?

I am trying to compile javascript v8 in ubuntu 16.10 but I could not, I searched in google and not only found it compile it with scons and with GYP , but apparently it is no longer possible to use GYP , I found h...
asked by 14.12.2016 / 21:43
1
answer

How to check if there is a word in a file

I have the following file in centos: I want the program to check if there is "equipment" with a regular expression like it would be with the sed command ???     
asked by 01.01.2019 / 14:39
1
answer

variably modified at file scope - C

Well, this is my code: /****** pru.c ****************************************************/ /** * * @file pru.c * * @brief Programa para comprobar el rendimiento del procesamiento de una * matriz con dos modos de ejecucion diferentes. *...
asked by 01.06.2016 / 11:00
3
answers

shell to concatenate files

Good day, I need to implement a shell which is able to concatenate several .txt files in a single file as if it were a unique script in this file. In addition, you must identify when a new txt is added and be able to concatenate it in the same f...
asked by 12.11.2018 / 23:30
1
answer

In AWK how to do output of 18 lines [closed]

I have to do an output of 18 lines: ls -lh ~cis140u/lab6examples |awk '{print" \t",$8, $6,-$7,"\t",$NF , $5, "\t",$10; } ' in order of DATE ARCHIVE SIZE Is it okay?     
asked by 06.08.2017 / 17:03
1
answer

Error starting the Ruby on Rails server with 'rails s', in Linux Mint, by console (Bundler Error Backtrace)

What I try to do is start my ruby on rails server with rails s , but in the linux console I get the following errors: /usr/local/rvm/gems/ruby-2.4.0/gems/rake-11.2.2/lib/rake/ext/fixnum.rb:4: warning: constant ::Fixnum is deprecated /usr...
asked by 29.05.2017 / 20:29
2
answers

Bug in Debian

GNU / Linux Debian 7 (Wheezy) is throwing the following error: Reason: 2017-01-11 06:25:38 INFO: pum is called with arguments: ['--list', '--repo-info', '--json'] 2017-01-11 06:25:42 ERROR: W:Failed to fetch http://http.debian.net/debian/dists...
asked by 26.01.2017 / 14:28
2
answers

Help with program C get Mac Addres

Hi, I would like to know if you could help me with the following error that the program throws at me, it consists of three codes which are: Lic2.h - > which is the header #ifndef _LIC2_H_ #define _LIC2_H_ #define LIC_OK...
asked by 16.11.2016 / 17:12
1
answer

How to work with decimals in linux shell, conditional use if & else

I'm working on a code that allows to know the classification of a student through a note entered in shell linux, my problem is that I could not adjust the value to decimal places, if I use the "," the program runs but does not work good. I at...
asked by 01.10.2018 / 20:01
2
answers

Bash to count folders in the current directory excluding others with a given name

In Linux I need to count the number of folders that are contained in the current folder, excluding a pair with these names: $ RECYCLE.BIN and System Volume Information. In total there are 53 files without counting the two that I need to exclu...
asked by 04.10.2018 / 17:24