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

prtdiag PS output explanation

Hi I have a SUN machine V240 which is reporting power supply failed. In the prtdiag voltage sensors you can see FF_UV and P_PWR for PS1 is reporting failed. What does these sensor refer to? other that power supply PS1 what else need to be…
Syed
  • 69
  • 1
  • 2
  • 11
0
votes
0 answers

Cannot mount an existing EBS with xfs file system on AWS

I try mounting an existing EBS Storage (which has data) to an instance, but it keeps throwing this error. mount: /dev/xvdf1 is write-protected, mounting read-only mount: unknown filesystem type '(null)' These are the storage details: Model: Xen…
Matan Kadosh
  • 101
  • 1
0
votes
1 answer

Ubuntu Mount Binding FTP user. Both directoy changes ownership to same owner

I am mount binding two directories so with ftp user I upload on ftp directory and the web directory gets updated. Web directory need to have ownership of webserver www-data and ftp directory should be owned by ftp user myuser Webserver user:…
Sisir
  • 131
  • 1
  • 8
0
votes
1 answer

Centos 6 Server Hacked - File being generated

I have 3 servers working as a proxy load balance. Someone has gained access to them and is somehow creating an index.html in my webroot containing advertisement and an iframe on my main index.php file. I'm not sure how they are doing this because…
0
votes
2 answers

404 not found error for virtual host

In my /etc/apache2/sites-enabled, i have a file site2.com.conf, which defines a virtual host as follows : ServerAdmin hostmaster@wharfage ServerName site2.com ServerAlias www.site2.com site2.com DirectoryIndex index.html…
qubit
0
votes
3 answers

is this unix /var/blay/blah some kind of example convention?

Whenever I see unix tutorials, I see them using: /var/... is var just a placeholder for an example?
user2659
  • 1,152
  • 4
  • 20
  • 32
0
votes
1 answer

Apache virtual host configuration on debian

Im new to apache configuration and would be really glad if someone helped me with the following.Im running apache on a virtual private server, running the debian operating system. In /etc/apache2/sites-available, i have two virtual hosts…
qubit
0
votes
1 answer

not getting last Password change time on AIX by default lsuser command

I need all attributes for all users from AIX system for this I am using "lsuser -f ALL command" this gives me all attributes but not giving lastupdate attribute which used to indicate last password change dateTime of user. for getting lastupdate…
Prasad Parab
  • 101
  • 3
0
votes
1 answer

Is it possible to pass environment variables to a newly created user?

In my GitLab CI script, I am creating a new user which then executes a command. I'm noticing that when the command is executed as this user, the CI environment variables aren't available. Below is what I do: before_script: - useradd -U -d…
Anthony
  • 253
  • 1
  • 7
  • 10
0
votes
1 answer

Install the "timeout" unix utility via Yum

How can I install the "timeout" utility via Yum? I haven't been able to Google it effectively because the word "timeout" doesn't just refer to this Unix program.
nicholaides
  • 143
  • 6
0
votes
0 answers

Expect is prompting password twice while spawn

spawn ssh -q user@xx.xx.xx.xx Password: Password: Expect is expecting null before I sent the password. Debug info expect: does "" (spawn_id exp6) match glob pattern "yes/no"? no "Password: "? no Password: expect: does "Password: " (spawn_id exp6)…
0
votes
1 answer

Is it safe to give ownership of files to “daemon”?

I was having trouble uploading files using my CMS (Drupal). When I put more restrictive file permissions on, I could not upload anything. Then I changed the owner of the upload directory and all sub-folders to daemon, and everything worked fine.…
Chris
  • 11
  • 1
0
votes
2 answers

how to use awk or sed command (OS level commands) in Sybase level

I have one text file in host level Ex: /tmp/file.txt. So I have one script and I need to read the line by line from file.txt, so I used sed command. So I am using while loop in the script and I have logged in to DB level, how can I use sed command…
0
votes
1 answer

SED not working with complicated string

I have a file that starts like this: [global] pid = /var/run/php-fpm/php-fpm.pid error_log = /var/log/php5-fpm.log and want to replace error_log = /var/log/php5-fpm.log with error_log = /var/log/php-fpm/error.log I want to use a script for that…
TheNiceGuy
  • 85
  • 1
  • 7
0
votes
3 answers

Remake catalina.out without restart of server

Is it possible to remake a deleted catalina.out on a tomcat server without restarting the server? The catalina.out got accidentally deleted but it's needed due to a funky cluster configuration (4 server, and they seem to draw data from each other…
Em.
  • 11
  • 1
  • 7