Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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
0answers
18 views

Restricting ssh and ftp access to unix server

I know I can restrict ssh and ftp access to my unix server by using tools like ufw (uncomplicated firewall). What if I restrict ssh and ftp access to one IP address (my home IP) and then suddenly lose ...
1
vote
1answer
24 views

Why NFS shows 100% but actual disk usage is some MB only

We have an issue with one of the NFS as its showing 94% usage as per df but actually some 10 BM only used. # df -h |grep lv-new-1401 cbjserver:/f04780/lv-new-1401 10G 9.4G 650M 94% /var/lib/...
0
votes
0answers
9 views

Need advive about merging files with rsync on mac that desperately needs answers [on hold]

I have a question about rsyincing on mac incomplete directorys and files to merge into one proper directory. Could anyone help answer my original question that i posted on the ask different forum
1
vote
0answers
11 views

Cross platform (Unix + Windows) scriptable or command line audio tag parsing tool

I'm looking for (but haven't yet been able to find) a cross platform application for parsing metadata from audio files. Specifically, I need to be able to read a list of tags from an audio file, and ...
0
votes
0answers
5 views

How to move a folder to another path and to move back to same tree merging its contents on Unix? [migrated]

On my Android phone, I have: A cron job to move files at 1:59am from /sdcard/WhatsApp/Media to /sdcard/wppmediabkp folder before WhatsApp backup at 2:00am: mv -f /sdcard/WhatsApp/Media /sdcard/...
0
votes
0answers
21 views

Identify Resource Usage of a Process: CPU, Memory and I/O

I need to request some AWS resources and in order to do so, I need to identify what are my requirements for: Number of CPU cores (maybe GPUs as well) (performs parallel processing) Amount of Memory ...
0
votes
1answer
29 views

Is there a way to display `free` updates in place without outputing new lines?

When I do free -m -s 1 it gives something like this: total used free shared buff/cache available Mem: 3789 3022 347 90 ...
0
votes
1answer
56 views

sudo su with password provided in jenkins?

I am stuck with one requirement in which I am switching to some "xxx" user and it asks for password every time. I am trying to automate this process with password hardcoded in Jenkins job. ex: sudo su ...
0
votes
3answers
45 views

chmod 1,2 and 4, what exactly do they do?

I was wondering about having only read, only write, or only execute permission, and what it means. If I have write permission only, does that mean I can append to, or replace the contents of the ...
1
vote
2answers
33 views

How to merge multi-line output to form a single line?

I want to join different line output to a single line like below. $ cat new.txt | grep Full | awk '{print $1}' 09/01/2018 08/25/2018 08/18/2018 08/11/2018 08/04/2018 07/28/2018 07/21/2018 I want ...
-3
votes
1answer
28 views

Question mark and no internet access

Suddenly, out of the blue, my internet is not working at all, I’ve tried all I found on the internet but in vain. I think is a dns problem or I don’t know. The problem occurred after I tried to switch ...
1
vote
3answers
87 views

How to get a line using a pattern before a line number?

I need to get a line which matches a pattern before a certain line number of a file. Example: linenum 1.fruits linenum 2.cherry linenum 3.apple . . linenum 7.orange linenum 8.apple2 . . . linenum 20....
0
votes
2answers
82 views

Sending terminal commands via SSH connection: Nested pipes

Hoi everybody, I am currently having a problem with sending commands over SSH via command line to a server. To have an easy example, I always send the "pwd" command - which should return the current ...
0
votes
1answer
23 views

Exclude mlocate.db from the Locate searches

Can the search be excluded in /var/lib/mlocate/mlocate.db? I just want you to look at the one I generated locally. With -d or modifying LOCATE_PATH, only the one created in local is added, but ...
1
vote
1answer
56 views

Why Unix child processes inherit [most] parent process attributes

Learning about how Unix processes work, and noticed that child processes inherit most of the attributes (including file descriptors) from the parent process. I also just learned about exec and how it ...

15 30 50 per page