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

I have a situation that i have a linux rhel and want to zip up all files that where generated in the last 5 minutes and tar it into one file

I need to do this only in one specific folder

thanks
0
Free Tool: Subnet Calculator
LVL 11
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Hi,
how to do vi mode copy paste
what is mt what it means by tick which key i have to press for tick
mt
y tick t

what is keeping in buffer

mt
d tick t

what is d tick t

seems cygwyn not suporting vi.

how to practice vi on any free downloaded software or online.

what is p for paste and u undo commands?

what is map [ j 0.
 map [ j $.
please advise
0
hi,


when ii type below commands i am getting errors with paths

saiganesh@LAPTOP-EJBON1NM ~
$ /etc/vimrc
-bash: /etc/vimrc: No such file or directory

saiganesh@LAPTOP-EJBON1NM ~
$ ~/.vimrc
-bash: /home/saiganesh/.vimrc: No such file or directory

saiganesh@LAPTOP-EJBON1NM ~
$



can you please advise on how to resolve them.
0
i sat display:
export DISPLAY=localhost:10.0
then i try som x (like xclock)
$ Gtk-WARNING **: cannot open display: localhost:10.0 at /usr/lib/x86_64-linux-gnu/perl5/5.22/Gtk2.pm line 126.
0
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
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
Free Tool: SSL Checker
LVL 11
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

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
hi,

i need to search on say "xyz" on 123.gz file.

i need t see complete word xyz alone not like word containing "abxyzdef" not like word beginning with xyzdefff not even ending aaaaxyz

please advise

zgrep 'xyz' 123.gz not working
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
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
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
under Location Profiles i see

Site Location Profiles and Shared Location Profiles. what are difference between them? when to use which one?
0
I have rsync some files to a remote server.  Some of those files have been updated on the remote server and others of those files have been updated on the original server.  

I want to update the remote server so that it includes any changes to updated files on the original server but I don't want to overwrite anything on the remote server that has more recently been changed on the remote server than the original server.

Which rsync option should I use for this?
0
I read about binary compatibility between Linux distributions, however... Ubuntu and RHEL are usually not compared or even mentioned in regards with each other.

Are they?
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
Become an Android App Developer
LVL 11
Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

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
I see 2 of my Centos guests with the same name and cannot edit, or remove from inventory  and most other functions , are greyed out , I am not sure where to look next
0
Hi.
We want to start building our own chromium browser for use in our Digital signage solution.

We have set up an environment on a Windows PC, and have successfully build a default chromium browser.

We do, however have some trouble finding our way around in the code.

Therefor, maybe som waypoints could help us.

Can anyone tell me, where I could find some code regarding:
The address bar
Tabs
Forward/backwards arrows

A code snippet is enough, or maybe even better in which  files are they.

Also, hints on how to find elements, without having to guess our way through and making searches in Visual Studio, without knowing the name of what we're actually looking for

/BR
Rene
0
I have 1000+ of these - and it appears the parent process for each I have checked is the same command... not sure what is going on... any ideas?


8012     32605  0.0  0.0 110016  1264 ?        S    01:21   0:00 /bin/csh test -d /usr/lib64/qt-3.3
8012     32610  0.0  0.0 110016  1268 ?        S    01:22   0:00 /bin/csh test -d /usr/lib64/qt-3.3
8012     32611  0.0  0.0 110016  1268 ?        S    01:21   0:00 /bin/csh test -d /usr/lib64/qt-3.3
8012     32617  0.0  0.0 110016  1272 ?        S    01:21   0:00 /bin/csh test -d /usr/lib64/qt-3.3
8012     32618  0.0  0.0 110016  1264 ?        S    01:22   0:00 /bin/csh test -d /usr/lib64/qt-3.3
8012     32623  0.0  0.0 110016  1268 ?        S    01:21   0:00 /bin/csh test -d /usr/lib64/qt-3.3
8012     32625  0.0  0.0 110016  1268 ?        S    01:22   0:00 /bin/csh test -d /usr/lib64/qt-3.3
8012     32629  0.0  0.0 110016  1268 ?        S    01:21   0:00 /bin/csh test -d /usr/lib64/qt-3.3
8012     32632  0.0  0.0 110016  1268 ?        S    01:22   0:00 /bin/csh test -d /usr/lib64/qt-3.3
8012     32635  0.0  0.0 110016  1268 ?        S    01:21   0:00 /bin/csh test -d /usr/lib64/qt-3.3
8012     32639  0.0  0.0 110016  1272 ?        S    01:22   0:00 /bin/csh test -d /usr/lib64/qt-3.3
8012     32641  0.0  0.0 110016  1268 ?        S    01:21   0:00 /bin/csh test -d /usr/lib64/qt-3.3
8012     32646  0.0  0.0 110016  1272 ?        S    01:22   0:00 /bin/csh test -d /usr/lib64/qt-3.3
8012     32647  0.0  0.0 110016  1268 ?     

Open in new window

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

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).