Skip to main content

Questions tagged [unix]

Unix is a multitasking, multi-user computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs.

0 votes
0 answers
39 views

I have declared elasticsearch in the ranger-admin-site.xml config and, from the UNIX commandline on the system which has ranger installed, I can query the elastic cluster with curl. When I am in the ...
Hpoonis's user avatar
0 votes
1 answer
480 views

I am installing Solr 9.6.1 on Unix by follwing this link and I am able to start the service through below command service solr start But I am not able to start the service through systemctl. On ...
DDK's user avatar
  • 101
0 votes
0 answers
189 views

I found somewhere online that you can set up log rotation for audit_log on httpserver so in my modsecurity.conf i switched logging conf from: SecAuditLog logs/audit_log to SecAuditLog "|/usr/IBM/...
Nikola Milovanovic's user avatar
0 votes
0 answers
84 views

I wrote a custom shell command using the top command, in order of getting the sum memory usage for all the processes of a given program (for example java*, mongodb*, etc..) in a Linux based servers: ...
edwio's user avatar
  • 121
0 votes
1 answer
363 views

We have some Ubuntu v22 servers that get a lot of files dumped into the /tmp directory, in spite of our best code efforts to clean up after the processes are done. What we would like to do is run a ...
wonder95's user avatar
  • 123
1 vote
1 answer
718 views

I am currently facing a challenge with dynamically adjusting rate limits in my Nginx configuration based on the number of concurrent connections to my web server. Problem Statement: I have set up a ...
Ilgar's user avatar
  • 41
0 votes
1 answer
96 views

I have a dedicated server with 2 3TB SATA HDs. I use the server to create and share torrents. Recently I got the following error message when trying to create a torrent based on files on that server. ...
beta's user avatar
  • 205
1 vote
0 answers
2k views

I am trying to create a bare metal Kubernetes cluster of one master node and three worker nodes. The nodes are Ubuntu VMs running in a VMWare Workstation lab environment. The master node is ...
Naser's user avatar
  • 11
1 vote
1 answer
422 views

I have a problem on FreeBSD 14.0 - the ~/.ssh/ directory is owned by me, but I can not access it as myself: $ ls -al .ssh ls: .: Permission denied ls: ..: Permission denied ls: authorized_keys: ...
Alex's user avatar
  • 183
0 votes
1 answer
150 views

1.first case(processName as argument from cmd i.e java) command from cmd with arguments : ./a.sh getProcessId contains java code: getProcessId(){ matchType=$1 #defaulting matchArg to x i.e exact ...
Nitin Alety's user avatar
0 votes
1 answer
602 views

code : function main { [ -z "$@" ] && { getProcessId "$@" } || "$@" } getProcessId(){ matchType=$1 #defaulting matchArg to x i.e exact match matchArg=x ...
Nitin Alety's user avatar
0 votes
2 answers
709 views

I would define the program run for the user at session initiation into /usr/bin/false in /etc/passwd. The default value parameter is /usr/bin/ksh. When I try to modify it with commands: bash-5.1# ...
medisamm's user avatar
  • 109
0 votes
1 answer
1k views

I am a newbie in Kubernetes. I am not even very familiar with basic kubernetes commands, but the installation is a starting point for my learning journey. I wanted to avoid installing something like ...
Debapriya Roy's user avatar
-2 votes
1 answer
99 views

I am running an application on my server with the help of Nodejs, and it has many dependencies such as Chrome. I have not updated my server for two years. I am afraid that if I do, my code will fail ...
Hypothesis's user avatar
1 vote
1 answer
498 views

I have an NGINX config that takes url's converts them with regular expression, this works fine. The issue is that while forwarding to the new atlassian instance the + from the URL is turned into %20 ...
Joeri_Damian's user avatar
0 votes
1 answer
1k views

The default permission in /etc/sudoers file is readonly for root and group root as in picture is obvious : So when you open it with any test editor it can't be written and give error read only. now ...
Salar's user avatar
  • 174
1 vote
0 answers
383 views

I am doing some work on a server which has 1TB RAM, 100CPUs, and 1000TB storage. My work involves very large datasets. One specific I am trying to run would benefit immensely from a GPU, it is ML ...
donkey's user avatar
  • 63
1 vote
3 answers
1k views

I have a minimum example of my problem, which is trying to install a crontab that looks like this: FOO="foo\"bar\"bin" 0 0 1 * * ls by running crontab crontab (I have it in a ...
Pablo Fernandez's user avatar
0 votes
1 answer
571 views

I'm currently trying to create a shell script that will execute a mysqldump on a remote mysql database and then copy the output file back to my local machine. The problem I'm running into is that I ...
pbuchheit's user avatar
  • 201
0 votes
0 answers
287 views

Require unix-group is not working for me when configuring the VirtualHost for my Apache server. Whenever I log in using pwauth, the server still authenticates users who are not members of the group ...
Anish G.'s user avatar
  • 101
1 vote
1 answer
6k views

I have some script with STDOUT and STDERR output. By default, both STDOUT and STDERR goes to console: ./script.sh I can redirect STDOUT to file, leaving STDERR output in console: ./script.sh > log....
AntonioK's user avatar
  • 673
0 votes
0 answers
228 views

I have a file in a folder on the server with ".dat" extension. I want to find which program file is generating this file. How should I find this using putty?
Toohina Barua's user avatar
0 votes
0 answers
144 views

I have an Linux Debain 10 server running an web project. The project (parent) folder is as follows: ls -la: drwxrwxr--+ 7 some_user some_group 4096 Jul 21 11:01 . getfacl: # file: . # owner: ...
Jiří Žák's user avatar
0 votes
1 answer
670 views

Trying to insert a line feed on large files in UNIX when a text string matches. Any file around 1GB or less, it works. Anything over that size, it does not complete the replace. It appears to do ...
TimBurke's user avatar
0 votes
0 answers
262 views

I am trying to add system/device mac address in syslog. No solution is working for me. Following command gives me mac address, just wanted to use in rsyslog template. mac_addr=$(ifconfig en0 | awk '/...
sandip karanjekar's user avatar
0 votes
0 answers
2k views

I have a server that has PHP 7.4.3 installed, but it doesn't load PHP-DOM. It's not listed in php -m or php -i, nor when I load PHP on a page. Here's what I tried so far: Ran sudo apt-get install php-...
lastnoob's user avatar
  • 101
0 votes
1 answer
78 views

Any super user who has access to the Jenkins running on a Linux server can easily disable security authentication from config.xml file; then log in and can also decrypt sensitive passwords from ...
user avatar
1 vote
1 answer
1k views

The below line of code/command is working as expected if I run it from Unix terminal, but not if I include it in a script and run the script - exact same. I am expecting the X-Priority to show the ...
akpuvvada's user avatar
0 votes
2 answers
978 views

I tried using the 'group' attribute of the 'user' resource like so : user { "user": group => ["docker", "www-data"] } If the groups 'docker' and 'www-data' exist ...
hamid's user avatar
  • 1
-2 votes
1 answer
257 views

I'm an sa on Unix side, and there is a writeable Windows share, which I can access from my desktop using an AD service account. How can I batch a file transfer from Unix over to that mount (it's not ...
access_granted's user avatar
0 votes
1 answer
288 views

I have a shell on a Unix system. Is there a command that can tell me which shell I am working ? (bash, zsh, etc. )
Bob5421's user avatar
  • 511
-1 votes
1 answer
150 views

I have a server using OS centos-7, but sometimes my server got slow with some processes. I want to check which service or process makes the system slow. how to check the percentage of CPU, ram, or ...
bopea's user avatar
  • 1
0 votes
0 answers
387 views

I am trying to use an R tool in which RMySQL is one of the package being used. I am working this on ubuntu behind a corporate proxy but having the following issue for three days persistently. Error ...
7-x's user avatar
  • 1
3 votes
1 answer
2k views

I'm trying to understand how fast different IPC mechanisms are, and I know it's possible to create a Unix Socket as a "file" in a directory on a filesystem, but what I don't understand is ...
Christopher Shroba's user avatar
2 votes
0 answers
544 views

Is there a (unix) utility which is able to detect temporary system freezes by observation? E.g. I could imagine an utility which continuously fetches the system time, sleeps for a specific amount of ...
MRalwasser's user avatar
0 votes
1 answer
57 views

I have a number of physical (desktop) machines running at the office as part of a new network to handle processing & serving Open Source data; some of these machines also house VMs. At the moment, ...
Michael Hillman's user avatar
0 votes
1 answer
328 views

I am running below bash script which is saving the history in a file, however it is logging the history with Unix epoch timestamp. I need the timestamp in human readable format. _who_am_i=$(who am i|...
Dinesh Kumar's user avatar
1 vote
1 answer
3k views

According to my understanding the popular syslog formats are: RFC 3124 (BSD syslog): Format: < priority >timestamp hostname application: message Example: <133>Feb 25 14:09:07 webserver ...
Allan's user avatar
  • 15
-2 votes
1 answer
592 views

What's the big deal around POSIX and how it interferes in the overall usage of an Operating System?
Ricardo Silva's user avatar
0 votes
1 answer
605 views

i am trying to close port with basic authentication (for pushgateway of prometheus), so not a big specialist in nginx, so could someone please give me and advice where i am is wrong? I have 9091 port, ...
Nigrimmist's user avatar
0 votes
2 answers
239 views

Hey guys I am turning up a little FAMP stack on an Azure VM. 4 Xeon cores 16GB ram. Second SSD is using ZFS and the boot drive is UFS2 (Default). When I dd if=/dev/zero of=testfile bs=1024 count=...
Zork's user avatar
  • 1
1 vote
0 answers
1k views

I need to replace a string with the string which is mentioned in a file abcd.txt in all files in a folder. For eg: I want to replace a string 'apple' with whatever the cat output of this file abcd.txt ...
Am3Y's user avatar
  • 77
1 vote
0 answers
989 views

I'm trying to write a script to copy some files from a remote ftp server to a local directory. I have seen lots of examples using the mirror command of lftp but so far none of them seem to work. ...
pbuchheit's user avatar
  • 201
0 votes
0 answers
202 views

I am evaluating NextCloud for a solution for which I have a requirement that files cannot exist on non encrypted disks or the files themselves cannot be individually read or cached. I have read a lot ...
Alex's user avatar
  • 355
0 votes
1 answer
702 views

In this answer they mention 10 I did man xargs and couldn't find what's the maximum limit. Is it possible to send 10000 cURL requests per second? How about 50000 cURL requests per second? I mean all ...
sofs1's user avatar
  • 103
0 votes
1 answer
473 views

As in the title, I was looking for, but hadn't found. How were time stored and processed before epoch standardizing in 2000?
Piotr's user avatar
  • 11
0 votes
2 answers
3k views

In ssh config you can easily edit a hostname by appending or prepending it with something. For example, when you want to connect to server with ssh test5, but actually the server name is test5.mail, ...
Ashark's user avatar
  • 386
0 votes
0 answers
781 views

i am not sure how to write the proper title i have 5 ajax requests that gonna execute postgresql query in php here is the directory /var/www/webgis.com: 1. webgis.html 2. php(directory) -query1....
astaga's user avatar
  • 1
0 votes
1 answer
503 views

when I do docker images I have below docker images as list where there are images with multiple tag and also image with latest tag value. REPOSITORY TAG ...
Alex's user avatar
  • 302
0 votes
1 answer
1k views

Recently our monitoring tools is reporting a port as down, the port number is 19000. I have never seen this port before and I don't find out good information. Doing some tests, I've seen I can telnet ...
Astora's user avatar
  • 163

1
2 3 4 5
40