Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in the help center. Closed 5 years ago. Improve this question I ran this [sudo apt-get install mysql-server] in the terminal and …
Tag: linux
How to use git namespace to hide branches
Background I’m working with a large team using git for version control. The normal flow is: People selecting a ticket from the “backlog queue”. Working on the issue via a local branch (i.e. git checkout -b my_feature_branch). Making several commits as they go (i.e. git commit). Pushing local…
Bash – if statement not automatically operating
I’m having a very odd problem with a bash script, written on Ubuntu 17.04 machine. I have a txt file that contains information about people in this fashion: number name surname city state With these infos I have to create an organization system that works by state. For example, with a list like this 123…
How to find all files on a *NIX server containing a certain string
I want to produce a list of every file on my server that contains a certain email address within the file. Starting with htdocs and all of its sub-directories. I am using this command: I seem to be getting the files that contain the string, but I am alos getting a listing of all directories, which I do not wa…
Remove PHP errors from CLI and PHPMyAdmin
I’m currently getting the following errors when using PHP via command line and on PHPMyAdmin. Command line error PHPMyAdmin error What’s the easiest way to disable these errors? The command line errors don’t make sense because all them work correctly. When I navigate to the directory where i…
Identifying http request with KERBEROS from Java runing on Linux
I have some environment with both Linux and Windows servers. Authentication is handled by Kerberos. I want to make some JAVA code which automatically authenticates the http requests it makes as being done by the logged in user executing the program. For example, if I have this code: when I execute it from win…
What does the “D:, H:, V:” means in fbset?
I search many data on web but I can’t find what does the “D: 148.500 MHz, H: 67.500 kHz, V: 60.000 Hz” means in the below example? mode “1920×1080-60” # D: 148.500 MHz, H: 67.500 kHz, V: 60.000 Hz geometry 1920 1080 1920 3240 32 timings 6734 148 88 36 4 44 5 accel false rgba…
Can’t get stdin to read into array on linux – Java
So I’m using Java on a Linux machine and I currently am trying to read from stdin so that when I run “java Simulation more ~test/locationOfInput/test” it takes a stream of numbers and calculates values and prints them. However, my code is locking up when trying to read in the values and I ha…
IRQCHIP_DECLARE: init function is not being run
I am trying to use the Xilinx interrupt controller driver in an embedded ARM FPGA system I am developing. (https://github.com/torvalds/linux/blob/master/drivers/irqchip/irq-xilinx-intc.c) At the end of this driver is the line: IRQCHIP_DECLARE(xilinx_intc_xps, “xlnx,xps-intc-1.00.a”, xilinx_intc_of…
How To Substitute Piped Output of Awk Command With Variable
I’m trying to take a column and pipe it through an echo command. If possible, I would like to keep it in one line or do this as efficiently as possible. While researching, I found that I have to use single quotes to expand the variable and to escape the double quotes. Here’s what I was trying: But…