bsd x 48

1,292 Topics

Member Avatar for
Member Avatar for rootc70

Hi all, I've been thinking a lot lately about the evolving role of both Linux and Unix in modern computing. With Linux becoming a dominant force in desktops, servers, and cloud platforms, I’m curious how traditional Unix systems still hold up in 2025. In your experience: Where does Unix still …

Member Avatar for rproffitt
0
104
Member Avatar for cored0mp

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.

2
66
Member Avatar for Ronald417

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 …

Member Avatar for cored0mp
1
213
Member Avatar for Linda_15

I work in IT as a UNIX Systems engineer and I am studying towards a BSc IT degree.

Member Avatar for jwenting
0
85
Member Avatar for Steven11

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

Member Avatar for rproffitt
0
38
Member Avatar for Ismayil36

Hi everyone, When a file is deleted in the ufs file system, only the path to that file is deleted and the data of the file remains on disk. How can I find this data, this data will help me to recover the file. (As a reminder, I do this …

Member Avatar for rproffitt
0
29
Member Avatar for sandi david

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

Member Avatar for rproffitt
0
51
Member Avatar for clife

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 …

Member Avatar for rproffitt
0
230
Member Avatar for ponczuTM

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 …

Member Avatar for rproffitt
0
34
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 …

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 …

0
411
Member Avatar for HimaniBansal
Member Avatar for woooee
0
499
Member Avatar for ZombieKnight93

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 …

Member Avatar for tinstaafl
0
1K
Member Avatar for Naveed_786

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 …

Member Avatar for rproffitt
0
2K
Member Avatar for Narayanan_1

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'] . …

0
166
Member Avatar for avinesh_1

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

Member Avatar for rproffitt
0
404
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 …

Member Avatar for rubberman
0
450
Member Avatar for Kerri_1

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 …

Member Avatar for ddanbe
0
282
Member Avatar for Sammy_3

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 …

Member Avatar for rproffitt
0
306
Member Avatar for adriculous

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 …

Member Avatar for rproffitt
0
369
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" …

Member Avatar for AndrisP
0
857
Member Avatar for lewashby

`grep -v "#EXTINF:" All.m3u | sed 's#../##'g` I'm using the line above to try and make the playlists that I export from Banshee compatible with my digital music player. When I run the sed portion of this script I'm trying to remove the portion of the path up to where …

Member Avatar for rubberman
0
372
Member Avatar for Aeonix

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 …

Member Avatar for cereal
0
2K
Member Avatar for Corey_3

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 …

Member Avatar for Gribouillis
0
742
Member Avatar for new_2_java

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? …

Member Avatar for Gribouillis
0
1K
Member Avatar for neerajkumar_86

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 …

Member Avatar for Gribouillis
0
2K
Member Avatar for Shane_Warne

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 …

Member Avatar for davidchengnoc
2
3K
Member Avatar for rantnna

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 …

Member Avatar for 2teez
0
398
Member Avatar for Stuugie

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 …

Member Avatar for jkon
0
295
Member Avatar for zelrick

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. …

Member Avatar for Stuugie
0
444
Member Avatar for chrisschristou

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 …

Member Avatar for rubberman
0
453
Member Avatar for Member #1128301

How do I sort a text file which has been listed already by size order, then take that list and put it into reverse alphabetical order?

Member Avatar for Gribouillis
0
3K
Member Avatar for James_43

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 …

Member Avatar for James_43
0
274
Member Avatar for Valmian

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 …

Member Avatar for Jim_9
0
16K
Member Avatar for Sree007

Well i want to know if there is any code for converting the date time retrived from windows system date to a unix format, :?:

Member Avatar for JonyGreen
0
2K
Member Avatar for homeryansta

[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 …

Member Avatar for Member #1126516
0
990
Member Avatar for JohnMcPherson

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 …

Member Avatar for Nutster
0
319
Member Avatar for pooja3107

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 …

Member Avatar for pooja3107
0
406
Member Avatar for Benita_1

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?

Member Avatar for Benita_1
0
250
Member Avatar for Anderson_2

[Linux](http://www.educba.com/course/online-unix-linux-operating-system-fundamentals-training/) is in the simplest terms it is an Operating System. It is the software on a computer that ready the application and the computer-operator to access the devices on the computer to perform the desired functions. The OS(Operating System) relays instructions from an a application to and for instance …

Member Avatar for hastings.george.5
-1
212
Member Avatar for Slavi
Member Avatar for cbreeze

My professor assigned a problem from our OS book about matrix multiplication. Its pretty simple as the book shows how to do most of it. But now my professor has added an extra layer of difficulty. Instead of declaring the multidimensional arrays globally he wants us to input the size …

Member Avatar for Tedi_1
0
3K
Member Avatar for mike_2000_17

# Introduction # A recurring problem many newcomers face when tackling C++ is the compilation process, from sources to binaries. This tutorial will detail that process. It will be especially useful for people only familiar with higher-level languages (if any), but veterans of one or more native languages (C, Fortran, …

Member Avatar for Lutina
16
8K
Member Avatar for ggeoff

Hi I am trying to provide access to a folder of photos. The website is Unix based so I can change permissions. I am using WISE-FTP 8 as my FTP program. I created a directory on the server and intend to upload about 40 photos to it. I uploaded one …

Member Avatar for Aeonix
0
303
Member Avatar for d8m9

Hi, for my final thesis I choose to elaborate about fuzzing. When I will defending my thesis I should have some results, some bugs. I would like to test some unix program but I need to choose carefully. I need the probability of finding a bug to be the greatest. …

Member Avatar for rubberman
0
554
Member Avatar for ddanbe

Will the console prompt ever support unix commands Like in the Apple Terminal?

Member Avatar for rubberman
0
380
Member Avatar for Atharva.

I want to write a shell script which finds main() in the given folder files and sub folder files

Member Avatar for Gribouillis
0
251
Member Avatar for Papa_Don

Hi group, I'm using VB.net to convert an output file (text) from a Linux based program into a file that will easily read in Notepad. I found some code in VB.net to do this conversion for UNIX that works "OK" (meaning fair but not perfect). It looks like this: txtLine …

Member Avatar for rubberman
0
521
Member Avatar for Member #46692

Would you ever use a non unix like operating system ever again by your free will. (Working environments don't count) And why aren't all operating systems posix based? <-Serious question? It just seems so painfully obvious to me this is how all operating systems should be. Thoughts?

Member Avatar for Member #46692
1
241
Member Avatar for london-G

Hi guys, Trying to set up a cron job using [this tutorial](http://www.magentocommerce.com/wiki/how_to_-_import_manufacturers_or_any_other_option_attribute_set) I have replaced {my/magento/install} with my site path and tried to execute it as a unix command. /usr/bin cd /{/var/sites/e/mysite.com}/shell/; php -f attributeimport.php -- --attribute manufacturer --file ../manufacturers.txt; It gives me an error: Error: The command you entered …

Member Avatar for london-G
0
448

The End.