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

Installing a software in multiple linux machines using shell scripting in one machine

I will login to one Linux instance using ssh - putty and my goal is to install a software (for ex: I need to download oracle and install it) on 5 Linux machines with one shell script when I run that script on one machine software should be installed…
0
votes
1 answer

How can I know why my dedicated server froze or crashed ? (Unix-like)

Recently, my dedicated server froze for around 50 minutes on Sunday. It did not respond to ping or any command. In the end, it was hard rebooted by the hosting company and everything works fine since then. I've been digging into the logs for two…
0
votes
2 answers

Unable to clear up tmp

I had a bunch of files in /tmp that I cleared up by doing $ rm -rf ./tmp/*. However, I'm still unable to 'clear' that information, even after a reset. Here is what I have now: $ cd Av-bash: cannot create temp file for here-document: No space left on…
David542
  • 939
  • 3
  • 10
  • 15
0
votes
0 answers

Data was truncated on an input, output or update operation

Question: What can cause that in rare times (in a few %), 0 Byte sized files are created over FTP with the following errormessage: Data was truncated on an input, output or update operation UPDATE: the mode is "BINARY". The problem still occurs.
0
votes
1 answer

How to get the time and date at which a user account is locked/unlocked in unix?

I need to get the exact time and date at which a user account was locked or unlocked in Linux. passwd -S command can give the status of an account i.e., if its locked or unlocked.
0
votes
0 answers

Bash - Deployment script for files to a webserver

I am using an old machine as a webserver to host a static, code-generated site (the site serves HTML documentation, JS, PDFs and images). The old machine, along with development PC are on a home network, and connected to a single modem. General…
GoofyBall
  • 101
  • 1
0
votes
1 answer

Checksum error while installing ambari

While installing ambari server,getting following error. yum install ambari-server -y Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile Updates-ambari-1.7.0 | 2.9 kB 00:00 Updates-ambari-1.7.0/primary_db | 3.5 kB…
Ramish
  • 1
  • 1
0
votes
4 answers

How can I tell which static IP address one computer uses to connect to another computer?

I have a workstation connected to several internal networks, with a different static IP address on each of them. Through one (?) of these networks, I can connect to a server over ssh. How can I tell which of my workstation's IP addresses is used to…
Dan
  • 113
  • 5
0
votes
2 answers

Does /etc/host.deny blocks http requests?

If I put the entry into /etc/hosts.deny, would it block all requests from that IP address to my machine (like iptables do), or would it only block access for some applications like SSH?
h22
  • 254
  • 2
  • 9
0
votes
2 answers

How to ensure that the script and its command get killed once terminal is closed

I have written a script and it is working fine . It do some tail and grep operations. When I am closing my terminal and the greping the PID of my script , I can find the script is still present in the output of "ps -eaf |grep -i myScript.sh" .…
monk
  • 109
  • 2
0
votes
1 answer

save output of a python script to a text file

how can i save output of this python script to a text file? this is a KMS server which clients connect to it and activates their windows or office. i wanted to save the log in a text file. I should mention that the server is based on centos…
reza
  • 1
  • 1
0
votes
3 answers

Why can't I install Java via "sudo aptitude" in Ubuntu?

$ sudo aptitude install sun-java6-jdk [sudo] password for fal: Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done No candidate version found…
Alex
  • 8,471
  • 26
  • 75
  • 99
0
votes
1 answer

How to edit /proc/partitions file in linux

I know /proc is a VFS and cannot be updated by user from shell prompt. this is my understanding from the beginning. Now , I am writing one code and where I am taking care of corrupted /proc/partitions file. I have my code ready and need to corrupt…
monk
  • 109
  • 2
0
votes
2 answers

ErrorDocument not working with .htaccess file

I am trying to use a .htaccess file to setup specific behaviors for one directory. My .htaccess is as follows: ErrorDocument 401 /var/www/secret/logging.php AuthName "My Password Protected Site" AuthUserFile /var/www/secret/.htpasswd AuthType…
John Sanders
  • 1
  • 1
  • 1
0
votes
2 answers

How to unlist partitions from fdisk command in linux

While working on one of my server I noticed that there are no partitions listed under "fdisk -l" command. However the machine is working just fine. Wanted to know following things if anyone can help. I executed the command using root account. 1.…
monk
  • 109
  • 2