1,067 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Antika2165

Write a shell script to create a directory called “page1” and ask the user if he/she wants to copy a file to TESTING directory. You should find out that the file has read, write and execute permission. If the file has write permission then copy the file to the directory; …

Linux and Unix shell-scripting
Member Avatar for Reverend Jim
-1
413
Member Avatar for whizkidash

Team, Hope you all are doing fine I have one admin server which is being used dedicately to run cron jobs on hourly basis, fetching the details from Database which is in a different server.These cronjob are run on every hourly/5 minutes basis depending as per end user requirement. The …

Linux and Unix
Member Avatar for Dani
1
1K
Member Avatar for PranavBhattarai

My Java Sir told me to install MySQL-server, workbench, and connector. I did that somehow after spending 30+ hours reading different posts. After launching Workbench, I went to Tools > Start Shell for MySQL Utilities. Which gave me this popup: https://imgur.com/GQvHKsI Pressing Download option redirected me to this website: https://imgur.com/ETr2nrY …

Linux and Unix mysql python ubuntu
Member Avatar for PranavBhattarai
0
791
Member Avatar for dwlamb

I am trying to establish a connection between LibreOffice (5.4.6.2) and Mariadb (10.1.29)/mysql. I have researched various resources on the web but am stuck not being able to establish a connection preliminary steps taken: * the file mariadb-java-client-2.4.0.jar is downloaded from [https://downloads.mariadb.com/Connectors/java/connector-java-2.3.0/](https://downloads.mariadb.com/Connectors/java/connector-java-2.3.0/) * JRE is installed and enabled under LibreOffice …

Linux and Unix java mariadb
Member Avatar for tejal_1
0
5K
Member Avatar for it@61@sec

I've discovered a weird problem with my Linux Mint-system (Linux Mint 18). After rebooting my system (or restarting as well) I got the GRUB menu, but my keyboard is not responding... So I have to wait for the timeout to get my system booted. The keyboard is wired to the …

Linux and Unix
Member Avatar for RuhiAngel
0
4K
Member Avatar for tun712

I've just installed RHEL 7.6. I've installed **Base environment: Server with GUI** with **all addons for selectred environment ** During Installation I created Root Password & created user form **User Creation** with, **Make this user administrator** option Now, post install & after successful login to RHEL environment, I'm unable to …

Linux and Unix
Member Avatar for rproffitt
0
458
Member Avatar for cwriter77

What I like to know is if network programs still use this file? I can comment out http port 80 without any effects on firefox: ># http 80/tcp ># http 80/udp Then I can delete out /etc/services without no serious effects on the system: >sudo rm -v /etc/services The best …

Linux and Unix shell-scripting
Member Avatar for AndrisP
0
408
Member Avatar for fo2sh

Hello everybody, I have the following records in a file. > 15:00:00.870;334 > 15:00:00.872;1314 > 15:00:00.889;334 > 15:00:00.890;334 > 15:00:00.891;334 > 15:00:00.892;334 > 15:00:00.909;212 > 15:00:00.910;334 > 15:00:00.929;334 > 15:00:00.948;334 > 15:00:00.950;334 > 15:00:00.969;334 > 15:00:00.970;334 > 15:00:00.990;334 > 15:00:01.010;295 > 15:00:01.011;334 > 15:00:01.012;334 > 15:00:01.029;334 > 15:00:01.030;334 > 15:00:01.048;334 …

Linux and Unix shell-scripting
Member Avatar for dcblack56
0
597
Member Avatar for JohnMcPherson

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 …

Linux and Unix unix
Member Avatar for JohnMcPherson
0
2K
Member Avatar for JohnMcPherson

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 …

Linux and Unix shell-scripting unix
0
381
Member Avatar for tony75

Hi I have 500GB WD my passport with bad sector, I try to take disk imaging for forensics investigation with ddrescue but ddrescue was very slowly, is it really take 131d 22h? Is there any command or way that I can use to speed up ddrescue and just take 8 …

Linux and Unix
Member Avatar for tony75
0
2K
Member Avatar for JIBY_2

I have a NanoPi Neo Core with eMMC..I have installed armbian os from "https://www.armbian.com/nanopi-neo/" to sd card and tried the "Armbian configuration utility" and "nand-sata-install" to install os to eMMC. But it is showing "there are no targets..please check your drives."..If we give "fdisk -l" command it is not detecting …

Linux and Unix
Member Avatar for rproffitt
0
654
Member Avatar for sunandhakapoor
Member Avatar for joey065z
0
411
Member Avatar for lewashby

Linux Mint So I'm trying to learn French but I'm running into some complications when it comes to finding a good keyboard layout. Here are the layouts that I've tried so far: English (US) English (international Alt Gr dead keys) English (UK, international with dead keys) English (UK, extended WinKeys) …

Linux and Unix
Member Avatar for Gribouillis
0
901
Member Avatar for kes166

I'm looking for software that will allow someone at one end to talk into a camera and stream to a Raspberry Pi on the other end. It's going to be a prop for a live action role play game I'm running for later in the year and I'd like to …

Linux and Unix
Member Avatar for rproffitt
0
574
Member Avatar for lewashby

I have an adroid phone, it's a descent phone and it's not that old yet several times here lately I have ran into problems installing or updatinga a few apps because my version of android is not supported. I think I need to upgrade but I've never done this before. …

Linux and Unix android-development
Member Avatar for rproffitt
0
576
Member Avatar for clintonharry99

I love to play games and till now I have found out only windows based games and gaming platforms (for PC) there are no or very little games, and very little is thought about game development with linux OS's why so?? Why do people like to develop games for windows …

Linux and Unix android-development
Member Avatar for lewashby
0
387
Member Avatar for lewashby

I just installed a new WD HDD. All I did was physicaly place the HDD in the computer and turn it on, now I'm getting this error. Imaged attached, any ideas? Thanks.

Linux and Unix
Member Avatar for rproffitt
0
459
Member Avatar for Luigi_4

I have a script that uses grep to extract data from a file. It works but I am now trying to modify the script for pipeline use. If I use the commands: `cat file | myScript.sh` there is an error because the data reaches myScript.sh as it was collected by …

Linux and Unix
Member Avatar for JasonHippy
0
410
Member Avatar for dkary555

Hi, I am using an Apache tool called Sentora, which forces me to have my [root] directory to be etc/sentora/panel .......causing me the big problem of killing my browsing to /var/www/html as my [root] folder, rendering it unreachable. How can I set up both (and more) using vhosts? Thanks.

Linux and Unix apache ubuntu
Member Avatar for Dani
0
300
Member Avatar for lewashby

I recently purchased Terra-Master F4-220 but I can not sign in via ssh. I thing is I don't think it's on the TM end, I think it's on my debian server's end. When I do try and connect this is what I get. $ssh root@192.168.1.2 /etc/ssh/ssh_config: line 55: Bad configuration …

Linux and Unix
Member Avatar for rproffitt
0
3K
Member Avatar for lewashby

I have recently discovered that my music directory and the micro sd card that's in my hand held media player (iBasso DX50) are not in sync, I don't have any idea how that could have happened. There are songs in both my music directory that are that are not on …

Linux and Unix
Member Avatar for rproffitt
0
488
Member Avatar for khess

Someone left a comment on one of my posts similar to, "Linux won't be popular on the Desktop until it runs [URL="http://www.microsoft.com"]Windows[/URL] applications." To which I silently responded, "Huh? and, "You've got to be kidding me." We have [URL="http://www.winehq.org"]WINE[/URL] for running Windows applications and it works reasonably well for those …

Member Avatar for subhankar_2
3
2K
Member Avatar for Onederer_1

I've been running Linux for more than 20 years now, and have encountered only one malware. Some jerks called me on the telephone telling me that my computer was broken. I told them where to go, and somehow, they already knew my IP address, and did something to my hard …

Linux and Unix
Member Avatar for Onederer_1
0
545
Member Avatar for avinesh_1

Hi all, i want to write a shell script to unblock sendmail user whose mailbox exceed 100MB

Linux and Unix apache unix
Member Avatar for rproffitt
0
376
Member Avatar for Curious Gorge

So this is a new installation of Fedora. I'd not used Fedora in many months prior to this point. I had Fedora 25. However the Wifi on this machine is quite troublesome. There are times when the connection will stop completely. I will try to load a webpage and the …

Linux and Unix
Member Avatar for rproffitt
0
910
Member Avatar for Steven_20

Hey, can you help me with convert the web.config to a .htacces file? <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <defaultDocument> <files> <clear /> <add value="index.php" /> <add value="_seiten/index.html" /> <add value="seite.php" /> </files> </defaultDocument> </system.webServer> <system.webServer> <handlers> <clear /> <add name="PHP53_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.3\php-cgi.exe" resourceType="Either" /> <add name="PHP54_via_FastCGI" …

Linux and Unix apache ubuntu
Member Avatar for Subraa_1
0
482
Member Avatar for jkon

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 …

Linux and Unix motherboards-cpu-ram
Member Avatar for rubberman
0
411
Member Avatar for Jayanthi_1
Member Avatar for rproffitt
0
332
Member Avatar for lewashby

I recently created a post thinking I had blown up my bootloader but I've actually narrowed the problem down to the SSD on which my home directory is mounted. The reason my computer has not been booting is because my system is not mounting my home directory's SSD. This started …

Linux and Unix
Member Avatar for alc6379
0
1K
Member Avatar for lewashby

Today I just put a new SSD in my desktop. I did have a little trouble booting up the OS because I had plugged the DVI into the wrong port, when I couldn't see the monitor I did end up turning off the computer several times before I finally found …

Linux and Unix
Member Avatar for Gribouillis
0
620
Member Avatar for lewashby

I've been using rsync and or luckybackup for a while now to sync my desktop's music library to my micro sd card for my digital music player. Today I noticed that my music player wasn't showing one of my albums so I've started investigating and I've found that it's not …

Linux and Unix
Member Avatar for rproffitt
0
2K
Member Avatar for fo2sh

Hello, I am running a software on a Linux machine, I am synchronizing time via default ntpd configurations available in Linux (/etc/ntp.conf). I am connecting to the customer NTP server. Now i was requested to tell which synchronization type is used on my machine (Frequency Synchronization/ Time Synchronization or Time-of-day …

Linux and Unix
Member Avatar for rproffitt
0
525
Member Avatar for lewashby

I'm having trouble mounting my android's micro sd card. When I run lsusb I see the entry for the card `lsusb` - > `Bus 001 Device 006: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader` I have also validated that the device is sdf. me@mothership ~ $ sudo mount …

Linux and Unix android-development
Member Avatar for rubberman
0
2K
Member Avatar for OxyDrim

<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Redirection Https" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTPS}" pattern="^OFF$" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" /> </rule> <rule name="REWRITE_TO_HTML" stopProcessing="true"> <match url="^(.+).html$" /> <conditions logicalGrouping="MatchAll" /> <action type="Redirect" url="{R:1}.sn" /> </rule> <rule name="REWRITE_TO_PHP" stopProcessing="true"> <match url="^(.+).php$" /> <conditions logicalGrouping="MatchAll" /> <action type="Redirect" …

Linux and Unix
Member Avatar for Punitha_1
0
5K
Member Avatar for dwlamb

I am trying to create databases in Ubuntu 14.04 running LibreOffice 4.4.3 and can not due to not connecting with JRE or JDK. Research carried out and things I have tried lead me to understand I need JDK-8 now instead of JRE. Is this accurate? JDK-8 and Java 8 are …

Linux and Unix
Member Avatar for rproffitt
0
1K
Member Avatar for TECH_8

Can someone please tell me what version of software i have to use to build a kernel module. Kernel version 3.10.49 perf .....aarch64

Linux and Unix ubuntu
Member Avatar for rubberman
0
582
Member Avatar for Warren_4

Hello. I am a newcomer to Daniweb and need some advice. I've been using Ubuntu regularily on several PCs and note books installing without problems until now. I have just purchased an Acer Aspire ES 11 (ES1-132-CONU) that is using an Intel Celeron Quad Core 3450 processor launced Q3'16 possibly …

Linux and Unix ubuntu
Member Avatar for Warren_4
0
518
Member Avatar for nadiam

Hi. I wasn't sure which topic this falls under as it sort of concerns both OS and this is, I'm sure, a **really noob** (I want to start learning linux) question but can i use one pen drive between the 2 different OS's? Earlier I was using my pen drive …

Linux and Unix ubuntu windows-vista-7-8
Member Avatar for Floret
0
518
Member Avatar for lewashby

I recently built a crypto currency miner and I'm using Linux Mint as my OS for the miner. I manually turn on the miner by navigating to ~/Desktop/claymore and running ./start_only_eth.bash and my miner starts mining. So i palced this line `./home/ethereum/Desktop/claymore/start_only_eth.bash` in the /etc/init.d/rc.local file but I don't think …

Linux and Unix
Member Avatar for rproffitt
0
377
Member Avatar for lewashby

A while back I built a computer with an Asus motherboard, a SSD, and two milk creates for a cheap case, and I had Xubuntu installed on it. I have tried to install Xubuntu on it again several times today but it always fails to create the partitions. I keep …

Linux and Unix storage
Member Avatar for rproffitt
0
452
Member Avatar for it@61@sec

I want to use my Linux Mint 18 (kernel version 4.4.0-62) computer to record music/recordings from (old) cassette tapes to disk using Audacity version 2.1.2. I'm using a cable between the headphone output of the cassette recorder to the input line of my computer, and I want to be able …

Linux and Unix
Member Avatar for rubberman
2
883
Member Avatar for zelrick

Hello Daniweb, As my title, I have a problem in my gnuplot. I can set the minimum range based on my file.. but doing the maximum range it give a wrong output for min and max yrange. I been searching for net and tried there solutions but it won't work …

Linux and Unix
Member Avatar for zelrick
0
452
Member Avatar for Aleš_1
Member Avatar for Shidong

#SpaceVim - Like spacemacs, but for vim# [SpaceVim](https://spacevim.org) I am author of SpaceVim, I hope SpaceVim can help more people with using vim.

Linux and Unix
Member Avatar for Gribouillis
0
328
Member Avatar for AndrisP

How i can `sed` save pattern matches to variables and do something with it? eg $ echo "string_4.3.2" | sed 's/^string_\([0-9]\)\.\([0-9]\)\.\([0-9]\)$/\1 \2 \3/' output "4 3 2" but I want to pass variables to function eg do_something() { echo $1 echo $2 echo $3 # ..... # ..... } string="string_4.3.2" …

Linux and Unix
Member Avatar for AndrisP
0
827
Member Avatar for lewashby

I recent created a .vimrc file in my home directory because in addition to syntax highlighting and auto indention I also wanted my tabs to be four columns wide and to be tabs and not spaces but now that I have my file setup I am unable to use backspace …

Linux and Unix
Member Avatar for Benjamin_17
0
619
Member Avatar for bob_16

` #include<stdio.h> #include<conio.h> #define max 25 void main() int frag[max],b[max],f[max],i,j,nb,nf,temp,highest=0; static int bf[max],ff[max]; clrscr(); printf("\n\tMemory Management Scheme - Worst Fit"); printf("\nEnter the number of blocks:"); scanf("%d",&nb); printf("Enter the number of files:"); scanf("%d",&nf); printf("\nEnter the size of the blocks:-\n"); for(i=1;i<=nb;i++) {printf("Block %d:",i);scanf("%d",&b[i]);} printf("Enter the size of the files :-\n"); for(i=1;i<=nf;i++) {printf("File …

Linux and Unix c++ python
Member Avatar for rproffitt
-2
381
Member Avatar for Dean_5

What it says on the tin. When the system (without logging into X) detects a change in internet accessibility, I'd like to set a hook to execute a script. EDIT: Every single bloody time... So, [dhcpcd-run-hooks](http://roy.marples.name/man/html8/dhcpcd-run-hooks.html) exists... is that the preferred method or can anyone recommend something else that's - …

Linux and Unix
0
293
Member Avatar for Dean_5

What it says on the tin. I'm looking for a good voice/chat server I can run on a RasPi 3 running Raspbian Jessie. TeamSpeak is Intel only as best I can tell. EDIT: Dangit. Every single time I jump on this forum thinking "These guys will know, but let me …

Linux and Unix client-server
Member Avatar for rproffitt
1
374

The End.