Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x

Linux Distributions

26K

Solutions

20K

Contributors

A Linux distribution is an operating system made as a software collection based on the Linux kernel and, often, on a package management system and are available for a variety of systems. A typical Linux distribution comprises a Linux kernel, GNU tools and libraries, additional software, documentation, a window system (the most common being the X Window System), a window manager, and a desktop environment. Most Linux systems are open-source software made available both as compiled binaries and in source code form, allowing modifications to the original software. Over three hundred distributions are in active development, including commercially backed distributions (such as Fedora, openSUSE and Ubuntu) and community-driven distributions (such as Debian, Slackware, Gentoo and Arch Linux).

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

Sign up to Post

saiganesh@LAPTOP-EJBON1NM ~
$ pwd
/home/saiganesh

saiganesh@LAPTOP-EJBON1NM ~
$ ps
      PID    PPID    PGID     WINPID   TTY         UID    STIME COMMAND
    14072   16116   14072      16120  pty1      197609 23:24:55 /usr/bin/ps
S   14584       1   14584      10368  pty0      197609 22:48:56 /usr/bin/man
S   11244       1   11244      14032  pty0      197609 21:50:41 /usr/bin/cat
S    4288   14584   14584      13752  pty0      197609 22:48:56 /usr/bin/less
    16116   14124   16116       6224  pty1      197609 23:24:48 /usr/bin/bash
    14124       1   14124      14124  ?         197609 23:24:48 /usr/bin/mintty

saiganesh@LAPTOP-EJBON1NM ~
$ kill 16116

saiganesh@LAPTOP-EJBON1NM ~
$

Open in new window


can you please advise why kill not working as above?
0
Nothing ever in the clear!
LVL 1
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

saiganesh@LAPTOP-EJBON1NM ~
$ mkdir gp

saiganesh@LAPTOP-EJBON1NM ~
$ cp * gp/
[b]cp: -r not specified; omitting directory 'gp'[/b]

saiganesh@LAPTOP-EJBON1NM ~
$ cd gp

saiganesh@LAPTOP-EJBON1NM ~/gp

Open in new window

why i am geting above error while copying all files to gp directory? please advise
i want to try rm and rmdir also
0
saiganesh@LAPTOP-EJBON1NM ~
$ ls -l
total 3
-rwxrwxrw- 1 saiganesh None 5 Jan 14 21:54 test.file
-rw-r--r-- 1 saiganesh None 0 Jan 14 21:54 test2.file
-rw-r---wx 1 saiganesh None 3 Jan 14 23:02 test3.file
-rw-r--r-- 1 saiganesh None 3 Jan 14 23:04 test4.txt

saiganesh@LAPTOP-EJBON1NM ~
$ ls *.txt
test4.txt

saiganesh@LAPTOP-EJBON1NM ~
$ ls *.file
test.file  test2.file  test3.file

saiganesh@LAPTOP-EJBON1NM ~
$ ls ?.file
ls: cannot access '?.file': No such file or directory

saiganesh@LAPTOP-EJBON1NM ~
[b]$ ls ?.fil*
ls: cannot access '?.fil*': No such file or directory
[/b]
saiganesh@LAPTOP-EJBON1NM ~
$ ls ?est.fil*
test.file

saiganesh@LAPTOP-EJBON1NM ~
$ ls ?est*.fil*
test.file  test2.file  test3.file

saiganesh@LAPTOP-EJBON1NM ~
$

Open in new window


i wonder why above highlighted one not working
please advise
0
saiganesh@LAPTOP-EJBON1NM ~
$ cat>test4.txt
eee
saiganesh@LAPTOP-EJBON1NM ~
$ ls -l
total 3
-rwxrwxrw- 1 saiganesh None 5 Jan 14 21:54 test.file
-rw-r--r-- 1 saiganesh None 0 Jan 14 21:54 test2.file
-rw-r---wx 1 saiganesh None 3 Jan 14 23:02 test3.file
-rw-r--r-- 1 saiganesh None 3 Jan 14 23:04 test4.txt

saiganesh@LAPTOP-EJBON1NM ~
$[b] chmod 642 test4.file[/b]
chmod: cannot access 'test4.file': No such file or directory

saiganesh@LAPTOP-EJBON1NM ~
$ ls -l
total 3
-rwxrwxrw- 1 saiganesh None 5 Jan 14 21:54 test.file
-rw-r--r-- 1 saiganesh None 0 Jan 14 21:54 test2.file
-rw-r---wx 1 saiganesh None 3 Jan 14 23:02 test3.file
[b]-rw-r--r-- 1 saiganesh None 3 Jan 14 23:04 test4.txt[/b]

saiganesh@LAPTOP-EJBON1NM ~
$

Open in new window


when i tried as above it is not working in cygwin

when i tried here
https://www.tutorialspoint.com/execute_bash_online.php

it says
$bash -f main.sh
chmod: changing permissions of 'main.sh': Operation not permitted
how to see terminal in above site?

please advise
0
$ cd /home/saiganesh

saiganesh@LAPTOP-EJBON1NM ~
$ ls -ltr
total 1
-rw-r--r-- 1 saiganesh None 5 Jan 14 21:54 test.file
-rw-r--r-- 1 saiganesh None 0 Jan 14 21:54 test2.file

saiganesh@LAPTOP-EJBON1NM ~
$ chmod 0=w test.file
chmod: invalid mode: ‘0=w’
Try 'chmod --help' for more information.

saiganesh@LAPTOP-EJBON1NM ~
$ [b]chmod o=w test.file[/b]

saiganesh@LAPTOP-EJBON1NM ~
$ ls -l
total 1
-rw-r--[b]-w- 1 saiganesh None 5 Jan 14 21:54 test.file[/b]
-rw-r--r-- 1 saiganesh None 0 Jan 14 21:54 test2.file

saiganesh@LAPTOP-EJBON1NM ~
$

Open in new window


as aboe i got write on others. But how to get both read and write to others on test,file

please advise
0
saiganesh@LAPTOP-EJBON1NM /bin
$ ls /bin/pwd
/bin/pwd

saiganesh@LAPTOP-EJBON1NM /bin
$ cd /bin

saiganesh@LAPTOP-EJBON1NM /bin
$ pwd
/bin

saiganesh@LAPTOP-EJBON1NM /bin
$ ls
'[.exe'                      fold.exe           ps.exe
 addftinfo.exe               gawk.exe           ptx.exe
 apropos                     gawk-4.2.0.exe     pwd.exe
 arch.exe                    gdiffmk            readlink.exe
 ash.exe                     getconf.exe        readshortcut.exe
 awk                         getent.exe         realpath.exe
 b2sum.exe                   getfacl.exe        rebase.exe
 base32.exe                  getopt.exe         rebaseall
 base64.exe                  gkill.exe          rebaselst
 basename.exe                grap2graph         rebase-trigger
 bash.exe                    grep.exe           refer.exe
 bashbug                     grn.exe            regtool.exe
 bunzip2.exe                 grodvi.exe         rename.exe
 bzcat.exe                   groff.exe          renice.exe
 bzcmp                       grolbp.exe         reset
 bzdiff                      grolj4.exe         rev.exe
 bzegrep                     grops.exe          rm.exe
 bzfgrep                     grotty.exe         rmdir.exe
 bzgrep                      groups.exe         run.exe
 bzip2.exe                   gunzip             runcon.exe
 bzip2recover.exe            gzexe              rvi
 bzless                      gzip.exe           rview
 bzmore                      head.exe         

Open in new window

0
hi,

i have installed cygwyn and practicing on my local windows laptop
https://cygwin.com/install.html

i gave commands as below


saiganesh@LAPTOP-EJBON1NM ~
$ whoami
saiganesh

saiganesh@LAPTOP-EJBON1NM ~
$ ls

saiganesh@LAPTOP-EJBON1NM ~
$ pwd
/home/saiganesh

saiganesh@LAPTOP-EJBON1NM ~
$  cd /

saiganesh@LAPTOP-EJBON1NM /
$ ;s
-bash: syntax error near unexpected token `;'

saiganesh@LAPTOP-EJBON1NM /
$ ls
bin       Cygwin.bat  Cygwin-Terminal.ico  etc   lib   sbin  usr
cygdrive  Cygwin.ico  dev                  home  proc  tmp   var

saiganesh@LAPTOP-EJBON1NM /
$ cd home/saiganesh

saiganesh@LAPTOP-EJBON1NM ~
$ pwd
/home/saiganesh

saiganesh@LAPTOP-EJBON1NM ~
$ cd ..

saiganesh@LAPTOP-EJBON1NM /home
$ ls
saiganesh


saiganesh@LAPTOP-EJBON1NM /home
$


my question is when i gave cd .. it supposed to go to home right and when i said ls it should have said home instead of saying saiganesh
please advise
0
Greetings all you linux gurus.

I currently have a project board that is running Ubuntu 15.0.4.  
I realize this is outdated, but I need help adjusting the sources.list files to point to the proper files.

My current issue is with a failure to vivid main/source
Err http://archive.ubuntu.com vivid/main Sources
  404  Not Found [IP: 2001:67c:1360:8001::21 80]

I am not sure where it's reading this from, but any help to make the necessary adjustments to that file would be great
0
BACKGROUND:
A ways back, I'd set up nameservers on my VPS (let's call them 'ns1.mydomain.com' and 'ns2.mydomain.com').  I host a couple of dozens websites on that VPS.

For all of my domains, on the domain registrar's site, I'd set the Nameservers for that domain to Custom Nameservers:  'ns1.mydomain.com' and 'ns2.mydomain.com'.

Recently, I had to ask my VPS provider to create a new server for me (let's call it 'newVPS'), leaving my previous VPS (let's call it 'oldVPS') active so I could migrate or re-create accounts and contents from the oldVPS to the newVPS.

Both the oldVPS and newVPS use WHM/CPanel admin interfaces.  
The oldVPS is setup as (cut and pasted from the WHM panel banner): 'CENTOS 6.9 i686 virtuozzo – oldvps  WHM 56.0 (build 52)'
The newVPS is setup as (cut and pasted from the WHM panel banner): 'CENTOS 7.4 virtuozzo [newvps]  v68.0.21'

My understanding (which is limited in these areas) is that the nameservers I setup on my VPS have to be associated with one of the domains I own/host on that VPS.

The nameservers which I had previously setup on oldVPS were associated with 'mydomain.com' one of the domains/accounts hosted on oldVPS.  

For simplicity, I'm thinking of creating new nameservers on newVPS and associate them with 'myotherdomain.com', another domain/account to be hosted on newVPS.

QUESTION:
How do I create my new nameservers on newVPS, say 'ns1.myotherdomain.com' and 'ns2.myotherdomain.com', presumably from newVPS's WHM (I'm …
0
I am running (first time) a cpanel (cloud Linux) server as a guest on esx6.5.

I want to increase the size of the hard drive, preferably the /home partition.

I know how to increase the hard drive allocated to the guest but what is the appropriate way to resize the visible hard drive on the guest and the  /home partition.

I know I could easily just add a secondary hard drive but would rather resize the /home if possible. Unfortunately my Linux knowledge is 'basic'

Thanks for any help you can provide.

Raoul
0
Free Tool: IP Lookup
LVL 11
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

I recently increased the logical volume availability on a Redhat system by using the lvextend and xfsgrow command. Once completed both the size part and the available part increased by 2G as expected. So the size grew from 41gb to 43gb, used remained the same (31gb) and availability size grew from 11 to 13gb.

So end result is:
43 -- 31 -- 13

Strangely enough, if I run dh -H, I notice that the readings are as per below:
47 -- 33 -- 14

Why is this anomaly?

I then checked for the actual logical volume size using the fdisk -l command and found that it is actually 46.2G. Is this the maximum size allocated for the LVM?

Can someone provide some insight into these 2 questions please?
0
Is B2C completely separated from B2B? Let’s say we have a B2C user; and suddenly he becomes part of the organization, is there a way to sync?

I couldn't find a way to do it.
0
A customer wants to have users register, manage profile, reset password and this is possible using B2C.

What I'd like to know is, whether it is possible to integrate all this functionality in an existing web application and perform REST APIs to Azure B2C?
0
We have an old Asterisk (v.2.x) phone server in our office.  I'm new to the system and need to change an extension number from a rapid busy signal to a working extension.  Also, we have several extension that simple hang-up when dialed (no tones of any sort).  How do we edit those extensions?

I'm new to Linux, but I've figured out how to browse directories and edit conf files.
0
hi,

we have about 3 users say user1, user2, user3 on the weblogic server. The application logs and server logs getting filled up every 3 weeks or so causing server to choke. How to write a script to clean automatically those application log and server log folder contents automatically say every week on friday midngiht at 11 PM

please advise
0
How do we determine how many journals needed for a file system?
0
When running Wordpress 4.7.6 on an Ubuntu 16.04.3 box, what is the best way to redirect a request to an old resource to its new location. The link in question is published in many different locations so it needs to be done server side.

Thanks.
0
Hello,

We have 4 node GFS2 node cluster,  3 of them joined successfully.  Node1 joined to the cluster, but clvmd is not coming up.  Also, we see the following messages in /var/log/messages.  Any idea/

4  node redhat cluster

Nov 20 19:35:29 node1 kernel: sd 2:0:1:43: reservation conflict
Nov 20 19:35:29 node1 kernel: sd 0:0:1:40: reservation conflict
Nov 20 19:35:29 node1 kernel: sd 0:0:1:39: reservation conflict
Nov 20 19:35:29 node1 kernel: sd 0:0:1:41: reservation conflict
Nov 20 19:35:29 node1 kernel: sd 0:0:1:39: reservation conflict
Nov 20 19:35:29 node1 kernel: sd 0:0:1:41: reservation conflict
Nov 20 19:35:29 node1 kernel: sd 0:0:1:39: reservation conflict
Nov 20 19:35:29 node1 kernel: sd 2:0:1:45: reservation conflict
0
I am getting this error message, when I was trying to run rpmbuild --rebuild lin_tape-3.0.23-1.src.rpm on Red Hat Linux 7.4 (Kernel version: 3.10.0-693.1.1.el7.x86_64). Can some one let me know what is problem and what should be the proper procedure to fix it. Here is the output mentioned below,

#rpmbuild --rebuild lin_tape-3.0.23-1.src.rpm
Installing lin_tape-3.0.23-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sCvFVM
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf lin_tape-3.0.23
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/lin_tape-3.0.23.tgz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd lin_tape-3.0.23
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KGligF
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd lin_tape-3.0.23
++ echo x86_64-redhat-linux-gnu
++ cut -f 1 -d -
+ p=x86_64
+ '[' x86_64 == i386 ']'
+ '[' x86_64 == i586 ']'
+ '[' x86_64 == i686 ']'
+ '[' x86_64 == ppc64 ']'
+ '[' x86_64 == powerpc ']'
+ '[' x86_64 == powerpc64 ']'
+ '[' x86_64 == s390 ']'
+ '[' x86_64 == s390x ']'
+ '[' x86_64 == ia64 ']'
+ '[' x86_64 == x86_64 ']'
+ proc=AMD
+ make KERNEL=3.10.0-693.1.1.el7.x86_64 PROC=x86_64 SFMP=0 driver
make: Nothing to be done for `driver'.
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hQeoFx
+ umask 022
+ cd /root/rpmbuild/BUILD
+ '[' /root/rpmbuild/BUILDROOT/lin_tape-3.0.23-1.x86_64 '!=' / ']'
+ rm -rf …
0
Concerto Cloud for Software Providers & ISVs
LVL 5
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

I'm trying to run x11vnc with the --passwdfile option. This option sends a challenge string to the VNC client. The client opens a dialog on the user's screen asking for a password. The client then sends the response string back to the VNC server. The VNC server calls the program referenced by the --passwdfile parameter with this string in the following format:

A two-byte length (in this case 16), followed by the challenge string (16 bytes), followed by the response string (16 bytes). What I get back, in hex is:
 0: 0A 6E 65 78 74 0A 31 36 0A 23 36 F4 E1 03 EE 30    .next.16.#6....0
10: 16 85 FC E9 4C F1 F5 16 5C 2C D5 5C 93 C2 21 29    ....L...\,.\..!)
20: 3A DF C2 A2 7C E9 1F 1A D7                         :...|....

Open in new window

The <newline>next<newline> can be ignored as this is debug stuff from my script. The strings are:
Challenge:
23 36 F4 E1 03 EE 30 16 85 FC E9 4C F1 F5 16 5C

Response:
2C D5 5C 93 C2 21 29 3A DF C2 A2 7C E9 1F 1A D7

Open in new window

The manpage defines the response string as, "client's response (i.e. the challenge string encrypted via DES with the user password in the standard situation)." I have no further information or documentation. I assume one must use the challenge string to decode the response string and get the user-entered password, but I've no idea how to do that.
0
hi

How to Make The Text Cursor Automatically when i'm on console text ?
I use directly on boot the tty console and desactivate graphical mode.

Thanks for your reply,

someone talk me about : /etc/inittab, or /etc/fstab
But i don't think it's good idea to modify 2 by 5
0
hi i have upgrade report to 11gR2 from 6i i what to download my txt report in user worksatation i what a dialog where user can select a location to download report have anyone done that
0
hello,

We are running redhat 7.2 and running cluster.  How do we find out if the node is fenced ?  Any command ?
0
I am using rubinus 3.86 and CentOS7(x86_64).
The installation directory is / var / home / ap / rubinius.

I attempted to install nio4r using the gem command and it failed.
The log at that time is as follows.

It is described as "method_missing", but what does it mean?

cat /var/home/ap/rubinius/gems/extensions/x86_64-linux/2.3/nio4r-2.1.0/gem_make.out

current directory: /var/home/ap/rubinius/gems/gems/nio4r-2.1.0/ext/nio4r
/ var / home / ap / rubinius / bin / rbx -r ./siteconf20171112-15122-n0ryc2.rb extconf.rb --with-ldflags = - L / var / home / lib / gcc5 / lib64
checking for unistd.h ... yes
checking for sys / select.h ... yes
checking for poll.h ... yes
checking for sys / epoll.h ... yes
checking for sys / event.h ... no
checking for port.h ... no
checking for sys / resource.h ... yes
                  main # Rubinius :: Loader at core / loader.rb: 861
                script # Rubinius :: Loader at core / loader.rb: 679
           load_script. Rubinius :: Code Loader at core / code_loader.rb: 590
           load_script # Rubinius :: Code Loader at core / code_loader.rb: 505
            __script__ # Object at extconf.rb: 21
   << (method_missing) # Kernel (NilClass) at core / zed.rb: 1413

undefined method `<< 'on nil: NilClass. (NoMethodError)

An exception occurred running extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and / or headers. Check the mkmf.log file for …
0
winscp wht is difference between location profiles and bookmarks

/crm/home/xyz2abc/exp/net/ccfg/crm

i have above book mark
i have to give a name to it saying "server1 config property file path"
i see rename option under location profiles not under bookmarks
but location profile again shows local directory and remote directory
what that means?

i am confused
https://winscp.net/eng/docs/ui_locationprofile
also under book marks what is difference between site book marks and shared book marks

https://winscp.net/eng/docs/ui_opendir

please advise
0

Linux Distributions

26K

Solutions

20K

Contributors

A Linux distribution is an operating system made as a software collection based on the Linux kernel and, often, on a package management system and are available for a variety of systems. A typical Linux distribution comprises a Linux kernel, GNU tools and libraries, additional software, documentation, a window system (the most common being the X Window System), a window manager, and a desktop environment. Most Linux systems are open-source software made available both as compiled binaries and in source code form, allowing modifications to the original software. Over three hundred distributions are in active development, including commercially backed distributions (such as Fedora, openSUSE and Ubuntu) and community-driven distributions (such as Debian, Slackware, Gentoo and Arch Linux).