Unix OS

32K

Solutions

18K

Contributors

Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.

Share tech news, updates, or what's on your mind.

Sign up to Post

How to send a text/csv file from Redhat Linux server to a Windows 7 server using sftp and curl?  I was told that we do not have a sftp daemon on the Windows 7 server yet but would this work:

#!/bin/bash
# ===========================================================================
#
# Export report  
#
LOCALPATH="/tmp/data/"
USER="sftpuser"
PASS="password"
FTP="IP Address"
MODE="w"

FILENAME="test.txt"      
curl --disable-epsv --sftp-create-dirs -B -T  $LOCALPATH$FILENAME sftp://$USER:$PASS@$FTP/ServerDirectory/$FILENAME
0
On Demand Webinar: Networking for the Cloud Era
LVL 9
On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

hi

on the unix box various users like xyz, abc etc.

Looks like disk space is running out of server and i need to cleanup.

How to know how much user xyz occupying size and how much abc user is occupying size. please advise
0
I want to search on below error
java.io.FileNotFoundException:

I want to search on all the weblogic domian directory files and its sub directory files and sub sub directory files?
how to search all the way to great great grad child level?

please advise
0
In Solaris 11.3, how can I restrict an FTP user to their home directory?  I've tried setting their shell to /usr/lib/rsh, but that didn't work.

Thanks!
David
0
I have been trying to enable password complexity variables on Solaris 10 by editing the /etc/default/passwd file but none of my changes are taking effect (I'm still able to set passwords that violate the rules I am trying to implement).

I've tried an O/S reboot after the changes but that had no effect.

The variables I am trying to change/enabled within the passwd file:

MAXWEEKS=12
PASSLENGTH=8
MINALPHA=1
MINNNALPHA=1
MINUPPER=1

Please help.
0
Hello,

I have used veritas cluster in the past, how does redhat cluster  heartbeat works? Do they setup using quorum disk or network ?
0
Hi Guys,

i was recently tasked with a task, I need to find out how to lock the .sh_history file on AIX so that users cant delete or modify the file.

The thing is we want to implement RBAC and assign roles to users but we also need to track what the users do while using that role and we need them to not be able to modify the history file.

I would really appreciate any feedback and tips.

Thank you in advance.
0
Hi,
I looged in as xyz user and trying to delete a file in the server domian directory which was created by user say John. how to psuedo to john and delete that file.

what is unix psuedo commandd and how it wrks in unix world. please advise
0
Dear Team,

There is port already open between  Source -target servers.
i have tested the same using telnet command.

However while I am creating some Datasource in Application server, i am getting  the above error message.

Kindly let me know if there anything required  at OS/App servet/network side .

Kindly advice
=== ERR MESSAGE IS =========
>
<Aug 7, 2017 4:52:24 PM AST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating activate task for application 'test'.>
<Aug 7, 2017 4:52:24 PM AST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
java.rmi.RemoteException: [Deployer:149150]An IOException occurred while reading input.; nested exception is:
        java.net.NoRouteToHostException: No route to host
        at weblogic.deploy.service.internal.transport.http.HTTPMessageSender.sendMessageToServerURL(HTTPMessageSender.java:343)
0
i am in particular folder say abc.

I did ls -ltr where there are bunch of files.

i want to search all the files starting with file name xyz alone ignoring other starting with pqr etc(ignore pqr000.log.20170806.gz etc).
My search should result like

xyz123.log.20170806.gz
xyz456.log.20170806.gz
xyz789.log.20170806.gz etc



What is the command i have to use for that.

is it grep or find or something else.

when i gave grep xyz.* it did not gave any result.

how searching inside a file content is different from search outside on unix file names.

any good link on these commands? please advise
0
Get real performance insights from real users
LVL 1
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

I am testing a free bsd nic performance. But i could not activate the irq balancer . Any body know how ?


Screen-Shot-2017-08-04-at-15.09.35.png
0
I download depot for update my system :
hpux_11.31_07310442.tgz

I would like to know how to do the update ?
I have to do the operations from the console ILO ?

My system information :

[root@csapqas01 ~]# uname -r
B.11.31
[root@csapqas01 ~]# uname -m
ia64
[root@csapqas01 ~]# swlist HPUX*OE*
# Initializing...
# Contacting target "csapqas01"...
#
# Target:  csapqas01:/
#

# HPUX11i-BOE           B.11.31.1209   HP-UX Base Operating Environment
  HPUX11i-BOE.OE        B.11.31.1209   HP-UX OE control script product
[root@csapqas01 ~]# model
ia64 hp Integrity rx2800 i2
[root@csapqas01 ~]# swlist HPUX*OE*
# Initializing...
# Contacting target "csapqas01"...
#
# Target:  csapqas01:/
#

# HPUX11i-BOE           B.11.31.1209   HP-UX Base Operating Environment
  HPUX11i-BOE.OE        B.11.31.1209   HP-UX OE control script product
[root@csapqas01 ~]#
0
Hi, I am learning server-side stuff.. I was curious if there were anything for Linux or BSD when it comes with Active Directory? I mean the whole shabang. User Administration, Network storage, local domain, etc. What is a good alternative?
0
We have an account that when someone SSHs in to it won't accept a password. If I login via Putty and su to the account I get asked for the password and when I put it in it's accepted. If I ssh to that account I'm asked for a password and it is rejected.

Hasn't been any real changes to the OS/Server but I'm not an Unix  pro. Where should I start?

Yes, I can delete and recreate it but I'd like to find the underlying issue.
0
Hi,

In unix using vi how do i copy paste from one file say abc.ccfg to xyz.ccfg.

in windows i simply say on abc.ccfg select all then control c then go to xyz.ccfg say control v .

Thats all i have to do.

VI editor is something i hate.

not at all use friendly.

even moving cursor is big thing there.

any good shortcuts and tips, links on using vi.
0
Hi experts,
Have a schedule job which I would like to execute at 2am with crontab expression (command).

Question is How can I write it to execute only once please?

I know it defeats the purpose, but how to come up with the cmd pls

Eg. If I schedule it for tomorrow 2am, it should execute at 2 and it should never re-execute

Thanks in advance
0
OS : Windows 2003

I want to run below (in codes) command remotely on the server, for example with IP  , 10.1.1.1

  "D:\oracle\fr_home\opmn\bin\opmnctl   status"

please advice the steps  for the same
0
when i cannot stop weblogic server my friend gave below commands



ps -ef | grep ggg3rrr

what above command gives as result?
kill -9 43856
what is -9 and what is 43856 in above kill command.

please advise
0
How to insert .CSV flat file data into Oracle tables using shell script?
0
Optimize your web performance
LVL 1
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Hi Experts,
could you pls advise how to install 32bit unixODBC driver on 64bit Oracle Enterprise Linux using yum. software which I'm planning to install on this 64 bit server only support 32 bit driver. Hence need to install

unixODBC-2.3.1
unixODBC-devel-2.3.1

Thanks in advance
0
thanks !
0
hi,

How to expand putty to full screen?

also i hae 20 server instances configured  named connection1, connection2 etc till connection20


when i connect it should say connection1 at the top than meaningless ip address etc at the top  of putty window. can i configure somewhere to do that?

also how to change text and background colors. please advise
0
Hi I have a  data like below format

Site	Variable	Units	Model	29/00Z	29/06Z	29/12Z
CQT	500mbHeight	dm	MASS	588.4	589 	588.9
CQT	500mbHeight	dm	NAM	589.4	589.5	588.2

Open in new window


How can i transpose as one below (like repeat first 4 columns for transpose of each row after 4th column
CQT	500mbHeight	dm	MASS	29/00Z	588.4
CQT	500mbHeight	dm	MASS	29/06Z	589
CQT	500mbHeight	dm	MASS	29/12Z	588.9
CQT	500mbHeight	dm	NAM	29/00Z	589.4
CQT	500mbHeight	dm	NAM	29/06Z	589.5
CQT	500mbHeight	dm	NAM	29/12Z	588.2
CQT	500mbHeight	dm	NAM	29/18Z	589.6

Open in new window

0
Looking for recommendations for patching/updates management solution across multiple platforms (win, mac, ubuntu).
Around 400 endpoints across multiple office globally.  
Considering:   Servicennow, Kace from Quest, patchlink/heat.   Any other recommendations from other folks?  Endpoing and asset management management.
Thanks in advance!
0
what is difference between below commands


$ cd xyz

it says no such file or directory

even
$ cd /xyz
says no such file or directory

where as when i say

$ cd /xyz/
it goes to xyz directory though

what is use or importance of /  and / at the beginning and end?

please advise
0

Unix OS

32K

Solutions

18K

Contributors

Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.