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.

Excerpt from the Wikipedia page

Unix was originally written in assembly but has since been rewritten in C. It has been branched many times both commercially and open source. One popular variant is the BSD variant which originated from the University of California, Berkeley. It also gave rise to Linux.

Notable variants

  • Silicon Graphics - Irix
  • IBM - AIX
  • Sun Microsystems - Solaris
  • Hewlett Packard - HP-UX

Unix is officially trademarked as UNIX.

Unix on Wikipedia

1949 questions
0
votes
1 answer

If I set up a DNS server, will I need to buy a domain name from Godaddy?

Suppose I have a server in my network that would like to talk to the database server. How would it talk to the DNS, and then point to the database server?
Alex
  • 8,471
  • 26
  • 75
  • 99
0
votes
2 answers

What are all the most essential things to install for YUM?

I am building a server that has all the libraries (of course, they shouldn't take up Gigs of data). So that I can clone it, and will have it all. This server is mainly for web/crawling/databases stuff. What are some Absolutely must-have libraries…
Alex
  • 8,471
  • 26
  • 75
  • 99
0
votes
1 answer

What is the exact YUM to install Java-JDK?

Do I have to put "multiverse" or something...this is what I heard. For CENTOS
Alex
  • 8,471
  • 26
  • 75
  • 99
0
votes
1 answer

Trouble running this simple cronjob on the server every 24 hours. What is wrong?

Trying to run an 'R' script at 00:30 every day. The script is located in /home/username/Desktop/folder/runnow.r and which Rscript reveals that the absolute path to binary Rscript is /usr/bin/Rscript. The crontab entry that I made was using the…
learnerX
  • 121
  • 4
0
votes
2 answers

“yum repolist” showing repo list but there is NO repo file in /etc/yum.repo.d

Could any one look into the issue and help ? I have a Red Hat server which has Red Hat subscription and I tried to get all Security patches list using /usr/bin/yum list-security --security. After executing above command, I see all the packages that…
Rohith
  • 1
  • 1
  • 1
0
votes
1 answer

How to store SSH key without attempting to login with password using Plink?

The below command is used to attempt to store the SSH key, even though we tried to force exit in the command, still it is asking password. echo y | plink -ssh root@172.19.117.69 "exit". The server's host key is not cached in the registry. You have…
user2018953
  • 1
  • 1
  • 1
0
votes
1 answer

Default http proxy under FreeBSD

I'd like to set default http proxy for all users under my FreeBSD environment. I modified /etc/login.conf file by adding HTTP_PROXY…
Daniel
  • 15
  • 6
0
votes
2 answers

How can I edit/update hosts(etc/hosts) file using any programming language

Dynamically I want to edit/update hosts(etc/hosts) file to add domain. To edit hosts(etc/hosts) file require Admin privileged. Using Linux I can do this by this command sudo gedit /etc/hosts But I am trying to do this from using Programming…
None
0
votes
1 answer

What is the equivalent of chdir for UNIX?

I'm working on OSX 10.11.4 trying to write a simple bash script. I'm getting command not found when I try to use chdir. When I test with which chdir I get nothing. What's going on? I'm using this clunky workaround... alias vagrants_up='here=$(pwd)…
emersonthis
  • 169
  • 1
  • 4
  • 11
0
votes
1 answer

Run FNDLOAD command on unix server from windows using Jsch

I'm trying to run an FNDLOAD command using Jsch after connecting to my unix server through ssh. But the command is giving me the following error bash: FNDLOAD: command not found Also if I try to read any environment variables like JAVA_TOP,…
0
votes
2 answers

Check number of connections to webserver port 80 AND 443

As the title says how would one check the number of open connections to a webserver on port 80 and 443? I'm currently using this oneliner to get the number of open connections per ipaddress from port 80: netstat -tn 2>/dev/null | grep :80 | …
Baklap4
  • 127
  • 2
  • 13
0
votes
0 answers

wget FTP directories with more than 10k folders

I have an issue trying to move servers. I have a couple of folders with 300k subdirectories and wget will only copy the first 10000 (the same number that Filezilla is capable of showing). Splitting those folders would be a very big amount of work.…
Callombert
  • 147
  • 4
0
votes
1 answer

Changing /etc/passwd in SSH User

I've got an Amazon EC2 instance running. It's an Ubuntu 14.04. I connect using Putty SSH. I use the key/certificates I got when I created the instance to authenticate my connection. This is all done through a user called ubuntu created when I…
0
votes
1 answer

Installing fortune on Solaris

I'd like to build and install fortune into my home directory on Solaris 10. Can someone recommend a version that's easy to build on Solaris and comes with a good set of fortune files. In reading about fortune, it seems I need to first find and…
brianegge
  • 1,064
  • 2
  • 14
  • 23
0
votes
1 answer

How to run a program inside chroot with stdin/stdout available to caller?

Is there a way to run a program in a chroot while still having access to stdin/stdout? My first attempt was a shell script: /usr/local/bin/real-app: -------- #!/bin/bash chroot /var/lib/app-root /usr/bin/app $* Then symlinked it where things…
Mark Renouf
  • 1,373
  • 2
  • 16
  • 22