1,446 Topics
![]() | |
Hello everyone, I'm in the early planning stages of a personal project to set up a smart home automation system using a Linux-based Raspberry Pi setup. My background is in electronics and embedded systems, but I'm relatively new to working with Linux for this kind of application. I’m hoping to … | |
Team, What would you want to see in an awk tutorial? None of the existing tutorials are great. A good tutorial is like the video from ten years ago where that kid outlines in about ten minutes how to breakdance, it's crazy. | |
how to get job as linux adminstrator can i also work as network admin or analyser i am biggner in cybersecurity can any one help me for that.. | |
Essentially, there is no best hosting provider for everyone, there is only the provider that is best for you, that is, the provider that best fits your web hosting needs within your budget. The lowest cost is not always the best option Your website is often the face of your … | |
I want to list services currently installed in an ubuntu box. Also want to list the status of the listed services. Thanks. | |
The Tkinter module comes with the normal Python installation. It allows you to create Python GUI programs for Windows, Linux or Unix on the Mac. In this snippet we put a GIF image (.gif) onto a form's canvas with just a few lines of code. Most of the lines are … | |
Hello, I am trying to install paramiko on a linux instance running on docker. However, I keep getting the same error: Failed building wheel for cffi | |
Is it possible to write a full blown operating system (such as Linux) in Python? I mean writing a kernal, and then other applications that the kernal calls, without having Windows, Linux, UNIX, or Macintosh OS installed on your computer? | |
Hi, Is there any other option other than OPM to restrict command in linux and nix server.? I have done through OPM but if OPM is not installed can we done through any other option | |
i’m looking for the steps to write a c program which work as the command PS and i know that i should read the information from pseudo file /proc but i don’t know how …and any simple code to help me understanding that... thanx | |
[CENTER][b]YaBasic: The beginners choice[/b][/CENTER] [CENTER][i][SIZE=1]By Michael "Cup of Squirrels" Garwood[/i][/SIZE][/CENTER] So you know how it is, you have some kind of sudden fascination with computers, and want to learn how to program. This could be for a number of reasons: You could be a middle aged man who wants to … | |
I am trying to convert the GMT time into unix epoch (starting from 1970), looks like there is a small bug in code , i could not get and exhausted. I see following difference Non leap years Expected output: Jan 20 19:00:01 2019 GMT = 1548010801 Actual output: 1548097201 (which … | |
I have a really big problem because I have to call the file with the same name twice and I have this error all the time: ELF binary type "0" not known. -bash: ./a.out: cannot execute binary file: Exec format error https://pastebin.pl/view/6dd51419 I have to write a game for two … | |
hi i was set the task to increment a number by x every x seconds and i tried to find some code off the net, but found the subject covered very sparsley so for whoevers benefit ill post the code here hope it helps :) [CODE] <html> <head> <style type="text/css"> … | |
Hello, my name is John McPherson. I work as a contractor for the DOL, and I am trying convert some code I maintain in an application to send output files to a printer. Right now, the code( a bash script) just slowly prints the output file on the screen, and … | |
Hello, my name is John McPherson. I work for the DOL, in the Uneployment Insurance office, and I am working on an application that uses bash scripts as the controller running the application. I am trying to add a capability to email the output files to the users, which are … | |
Can anyone help me with the process of making an executable python script in Unix? | |
So I have a poker type program where it should shuffle and deal a deck of cards using arrays of pointers. I have to write a function that uses a pointer(s) to determine if the hand contains an Ace. If I can understand this one, I'd be able to do … | |
I have a unix timestamp for each cooment in my database. I want to output the user date and time depending on their location, or timezone. How do I do that properly? | |
##vbScript - Run an External Program and Capture the Output Please see my post [vbScript - The Basics](https://www.daniweb.com/programming/threads/516400/vbscript-the-basics) for more details on vbScript. When you want to execute an external program for a particular result (such as resizing an image, as shown in a previous snippet) you can simply use … | |
Dear All, I am trying to read a CSV file into VB.NET datagridview which is fine i did already but one of datagridview coloumn is date and time i want to convert it to human readable format and want to read the correct format in date and time column in … | |
echo '<td><a href="details.php?id=' . $row['ServerName'] . '">' . $row['ServerName'] . '</a></td>';--> it's working as expected( but it always display the one table value without any matching criteria hence i am trying with if condition as below) if($row['ServerName']=='DataBase')<< curly start brace>> echo '<td><a href="db.php?id=' . $row['ServerName'] . '">' . $row['ServerName'] . … | |
I'm trying to run a project that uses Django and uWSGI in a Docker container. But I'm new to Docker and uWSGI so I'm not quite sure how I'm supposed to do it. At first I build the project with the below command: docker build -t saleor . Then I … | |
Hi all, i want to write a shell script to unblock sendmail user whose mailbox exceed 100MB | |
Hello , I am not Linux and Unix expert so maybe this is a simple question to be answered , I am just not sure. I have a sever with 8 cores (running CENTOS) that executes a batch job once a day for few minutes . I tried to monitor … | |
1. Your program should read the input files by using Unix shell redirection (e.g. a.out<lab1.dat) to read the input from stdin (C). By using redirection, it is unnecessary to open and close the input file, nor should your program prompt for a file name. You should dynamically allocate tables for … | |
Hi not sure if this is possible so wanted some guidance.. I have a database with 3 columns.. id, data,timestamp id is auto increment and data is json array and timestamp is unix timestamp.. the field I wanted to update was data but I wanted to replace just a part … | |
We all know that identity and access management (IAM) tools from third parties can help secure access with Active Directory. However, problems in Active Directory IAM tools can have an impact on the operation or security of the overall AD environment. Identity governance and administration (IGA) tools are often used … | |
Hello, I've joined Daniweb months ago, but haven't really had the time to post here. I apologize if I posted in the wrong section, as I tried to look for the most specific one. So far I've seen `Linux/Unix > server` as the closest. I'm currently stuck with my situation … | |
I have a machine, I have a hosting with FTP. On my venture I found out about `lftp`. And the instructions are here: http://www.dangibbs.co.uk/journal/ftp-sync-usin-linux Snippet is this: open ftp://username:password@website.com mirror -v --only-newer /home/local/path/ /website.com/public_html/ Do these things still work? Also, how do I loop it? I don't want to spam … | |
![]() | Hi everyone. I downloaded ubuntu server into a virtual machine on my mac so I can learn unix/linux. When I type commands it sometimes prints many pages worth of information, but the virtual machine does not allow me to scroll upwards (either with my mouse or with my arrow keys) … |
I am attempting an extra credit assignment for a summer course. The question says : "Modify the client.c and server.c program from Assignment 1 to add the following function: when the client connects to the server, the client provides the name of a directory D to be retrieved in the … | |
Hello everyone, I am trying to merge large number of CSV files into one, using the following "awk" command, but if I increase the number of files more than 10,000, it then gives me "argument too long" error. Can someone suggest how I can manage to go beyond the limit? … | |
Hi I have some python file.i runs these file one by one as below on unix server. python f4761sk3.py python f4761sk2.py python f4761sk1.py python f4761se3.py python f4761se2.py python f4761se1.py python f4761pl3.py python f4761pl2.py python f4761pl1.py python f4761no3.py python f4761no2.py python f4761no1.py python f4761nl3.py python f4761nl2.py python f4761nl1.py python f4761ie3.py python … | |
Hi all, Can you please tell me if there is a bash command in UNIX that is similar in functionality to XCOPY in Windows? XCOPY can copy who directory trees from a source folder to a destination folder, but from what I saw about the cp command in bash, it … | |
hi im attempting to keep a group of tick boxes ticked after i refresh the browser in been through the forums trying different solutions but anything ive tried doesnt work if anyone has a solution to this be much grateful index.php <?php session_start(); include ('connect.php'); ?> <div class="main"> <h2>PHP: Get … | |
Hello, currently on one of my development servers I have SQL Server 2014 installed, the problem I HAD was that when I executed any of my PHP sites connected to various databases I was getting `SQLSTATE[HY2000][2002] Connection was activily refused...` I fixed that error by forwarding the port through the … | |
I have two files large files: 1) file1.txt as below: ( more than 20,000 records ) 5020120475 |13ZJ38000813 |20141204|R 5020127431 |13ZJ38001569 |20141201|R 5020127689 |12ZJ44000606 |20141203|R 5020127728 |13ZJ38001356 |20141203|R 5020127956 |13ZJ62002544 |20141205|R 5020127972 |13ZJ49000082 |20141205|R 5020128325 |13ZJ57000785 |20141210|R 5020128706 |13ZJ38002805 |20141211|R 5020129084 |10XJ70107764 |20141217|R 5020129102 |12ZJ54000041 |20141217|R and 2) other file … | |
Hi All, I'm looking for some advice. After having to take about two years off from university due to suffering from viral meningitis, I have finally gone back and finished my undergraduate degree in Information Systems, which is a stream from the applied computer sciences. I am very excited to … | |
Hello DaniWeb Users/Programmers, I don't know if I post this on the right thread but I already post in Linux and Unix Thread but the cause I try ask in here is because it is programming related. I am a window user but trying to use linux for some purpose. … | |
hello world i would like to know to print on terminal a message with color and backround without external library i find this on internet and it works pretty fine but i would like to coloriza backround too!! #include <stdio.h> #define ANSI_COLOR_RED "\x1b[31m" #define ANSI_COLOR_GREEN "\x1b[32m" #define ANSI_COLOR_YELLOW "\x1b[33m" #define … | |
Hi there, I'm a long time PHP programmer, 6 month newb python developer, but entirely new to git and gitlab. I've spent 2 solid work days trying to solve this issue, I've chatted with others in chat rooms, all to no avail. I'm not certain where I should post this … | |
Hi all, Brand new to nginx, but it seems to be the rising star, and suited to hosting high volumes like I'm doing. However, I'm having trouble setting up the config files. A day of google searching hasn't really helped. My nginx.conf looks like: events { worker_connections 768; # multi_accept … | |
Hello, First of all, I'm sorry if my question seems silly, but I am very unfamiliar with Python. I am using a particular python code base which, in a Linux system, solves the problem I am working on (I am using Windows). A major part of the python code's task … | |
I have a software which demands this extensions on server , i tried by using xampp but failed. In the beginning it demands zend Guard Loader . I have tried to install on xampp but it can't be installed. I have already read this topic and follow and many topics … ![]() | |
Well i want to know if there is any code for converting the date time retrived from windows system date to a unix format, :?: | |
[CODE=C++] #ifndef LIST_H #define LIST_H #include <iostream> typedef char Item; class List{ public: List() {first = NULL; last = NULL;} //~List() void append(Item entry); void remove_last(); void output(); private: struct Node { Item data; Node *next; Node *back; }; Node *first; Node *last; }; #endif [/CODE] I'm writing a class … ![]() | |
Hello, this is a very strange problem. I had first put this discussion in the Linux and Unix thread, since I believe it is actually a problem with how the data is entered via but the vi editor, but I closed those out and will put it in the C … | |
Hi, I am getting java.lang.ArrayIndexOutOfBoundsException: -131072 exception. when i am running the code from my local machine (eclipse) it works fine, when i copied my code to unix server, the same code is giving error. Exception trace: =============== In generate Report Method ================= java.lang.ArrayIndexOutOfBoundsException: -131072 at xlrd.biff.CompoundFile.<init>(CompoundFile.java:282) at xlrd.biff.File.<init>(File.java:86) at … | |
I am trying to remotely access a computer running UNIX/Linux from another computer by using telnet. I was able to activated the telnet in windows but I cant find the right server address and (port) to open the connection between windows and unix. Do you have any suggestion for me? |
The End.