We help IT Professionals succeed at work.

Linux

66K

Solutions

33K

Contributors

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

hi,

in redhatl linux and AIX unix, how to use command to check:

1) CPU used ?
2) RAM used and left
3) diskspace used and left

how to add volume using command  ?

anyway to use Graphic mode to present that in linux without monitoring tools ?
0
Hello,
I am trying to do a sh that read web site content then download a filename by information that is get from the site:
for example when request https://domain.com/ver its ask me for user name and password
then its give me:

qq_VERSION=5.0-9778
tt_VERSION=111111
ss_VERSION=55555
nn_VERSION=55555121
dd_VERSION=12
xx_VERSION=1.1.65-99
zz_VERSION=131321312
rr_VERSION=312312312312
zx_DELAYED_VERSION=21332
wq_ENGINE_VERSION=1.6.3

in this case the file that I should be to download is:
https://domain.com/chsssr/dd/aa/zz-131321312.tar.gz

that mean its read
zz_VERSION=131321312


so i want to help to make sh file that read the contain that required user name and password then download a file and put it on /tmp/download/

thnaks.
0
Hello I have file named: rc.txt
its include many lines

333)
      /bin/tt
      ;;
444)
      /usr/local/sbin/rere
      ;;

I want to change:
333)
      /bin/tt
      ;;
to

999)
      /bin/ttoo
      ;;
and

444)
      /usr/local/sbin/rere
      ;;

to
666)
      /usr/local/sbin/kiki
      ;;

I tried with /n and n+ but not working
hope that you can helping me
thanks.
0
hi am having this error when starting oracle database 12c in solaris
errdatabase
0
lsof -c "string". what does this commamd do .
0
Hi,

   We are on DB2 UDB Linux 9.7 version.
I'm trying a user defined function, which takes a table name and return the counts.
Below is the function i'm trying, but it keeps erroring somewhere or the other.
Can someone kindly help get it to work?

CREATE FUNCTION f_tbl_counts (P_tbl_nm VARCHAR(200))
 RETURNS integer
 SPECIFIC f_tbl_counts
 LANGUAGE SQL
   BEGIN ATOMIC
 DECLARE f_final VARCHAR(5000)          default '';--
 DECLARE f_count INT;

 SET f_final = (SELECT 'select COUNT(1) from '||p_tbl_nm
                    FROM SYSIBM.SYSDUMMY1
                )
    ;
RETURN (EXECUTE f_final);
END

Open in new window

0
While putty is working remote connection times out without connecting. Any suggestions on this please in what could be the potential root causes.
0
Hi Experts,

Is there an online tool where I can paste contents from a .log file into?

My client's VPS with Bluehost (not my choice) keeps going down, and I want to find out why?
0
Hi All,

I have set up SSSD in a CentOS and RHEL, authentication with AD users is succeeding as expected and without any issues.

So when an AD logs in to any of this Linux distributions is receiving a shell in this format:

- [username@domain@linuxhostname ~]

I'd like to know if it is or not possible to set up the shell to this format after successful authentication with an AD account:

- [username@linuxhostname ~]


The users are mentioning that is a little bit confusing to have the shell in this format

- [username@domain@linuxhostname ~].

I already google it, made some changes to the sssd.conf file but none seems to work.

I already tried the following:
- use_fully_qualified_names = False
- full_name_format = %1$s
- re_expression = (?P<name>.+)
- Change default shell

Unfortunately, none as worked, probably I'm missing something.

Logs:
> realm list
  mydomain
  type: kerberos
  realm-name: mydomain
  domain-name: mydomain
  configured: kerberos-member
  server-software: active-directory
  client-software: sssd
  required-package: oddjob
  required-package: oddjob-mkhomedir
  required-package: sssd
  required-package: adcli
  required-package: samba-common-tools
  login-formats: %U
  login-policy: allow-realm-logins

[sssd]
default_domain_suffix = mydomain
domains = mydomain
config_file_version = 2
services = nss, pam

[domain/mydomain]
ad_domain = mydomain
krb5_realm = MYDOMAIN
realmd_tags = manages-system …
0
How do i verify the domain of a linux server which it belongs to .When logging through  putty nothing comes up .As I m new to this kind of topics I 'm ready for a session from a expert if anyone is willing to .I'm based out in USA .
0
Hi all, I have a problem here with Linux Debian shell script, I am trying to create multiple users at once, but I kept facing the problem of "unrecognized option --stdin" how do I solve this? thanks in advance!
here is my script

for a in 'seq 1 100'
do
useradd user$a
echo password$a | --stdin user$a
done
0
after my difficulties getting simon installed, i looked for alternatives.  has anyone ever used deepspeech?  i'm trying very hard to find  a ubuntu alternative to dragon naturally speaking.  DNS seems good  for windows but i get frustrated with the windows updates.  i used mint also which seems very good.  I've heard of, but never tried, raspberry pi.  pretty much i would  like a very good speech to text program in linux.  i'm tired of typing so slowly with my left index finger.  I lose my train of thought in mid sentence.  it is understandably difficult for you to figure out my question.
0
Hello
I have this command:
sudo php /var/executer.php anyword
when I run it it's work fine
but when I added as cronjob it's not work:
*/1 * * * *  sudo php /var/executer.php anyword
what is the problem ? I think the problem is because the space between executer.php and anyword
thanks.
0
I have nextcloud version 17. on ubuntu 18 (lxd).
I have integrated only office on nextclod.
When customer try to open a word (or excel ...) the program is opening on same windows browser as nextcloud. is it possible to open it to new tab or new window?
Because at that moment is not possible to see nextcloud browser.
0
vsphere 6.7 appliance page cannot be found after clicking on html5 tab. I can login from another pc but not from my linux pc using firefox or google chrome.Screenshot-from-2020-03-02-14-03-10.png
0
h


how I want to backup the MySQL InnodB cluster , MySQL router, MariaDB cluster and maxscale configuration file to other linux  VM so that can I setup the same cluster again , how can I know where is the updated location of the my.cnf, myrouter.cnf, server.cnf and maxscale.cnf?
0
I'm trying to find a way to justify paragraphs (i.e., flush left and right margins) in a text document. It's something I was able to do all the time on UNIX systems (e.g., with troff and its derivatives), but I haven't had any success in Windows. I can achieve the same affect using Microsoft Word, but when I save the document as plain text, the spacing between words and the linebreaks are not preserved. I've heard that the editor called Sublime Text might offer the functionality I'm looking for. However, I have yet to find instructions on how the desired effect is accomplished. I have installed the plug-in and executed the keyboard sequence specified, but nothing happens. Currently, I'm having to format the text on a virtual machine running Linux (where I can run nroff), and then transfer that file to the Windows environment. I'm hoping to find a more convenient process.

I've tried a couple of online utilities, but they stop short of providing the results I'm looking for. I've also tried installing nroff on my Windows 10 system, but I've never managed to get that properly configured (e.g., environment variables, etc.).

The screenshots I've attached chronicle my attempts to achieve the desired effect using Microsoft Word. Again, it seems to be doing the job up until to the point where I need to save the file.

Screenshot-1.pngScreenshot-2.pngScreenshot-3.pngScreenshot-4.png
0
How do I check if user has write access to a Linux shared network folder using C#?
0
Dear Expers,
I use PHP 7.3,
I use LiteSpeed Web Server
I use Cpanel.

SERVER_PROTOCOL      HTTP/1.1
DOCUMENT_ROOT      /home/uxxxxxx/public_html

I have php login system. Users can access my pages with a username and password.
My files are on public_html files. So it is open to internet.
whatever I upload to /home/uxxxxxx/public_html it is open to public.

however, I don't want to show some files like pdf files, or jpg files to public.
I tried to add directory privacy on Cpanel, but when I do that my webpages can not reach the files too.
I tried to use .htaccess file ( deny all ) has the same result.

I only want it to show those pictures inside my webpages. I don't want anybody reach my files simply writing the link like www.mydomain.com/img/myimage.jpg 

what do you suggest I should do?
0
How to install telnet in Microsoft Windows 10 Pro 64-bit laptop?
0
Linux Files and Folders distinction


on the screenshot below, I noticed Folders have different colors, I am not sure what 's the reason:
The blue and light blue are folders.
the ones with .extension are files, they are either green or just plain white on black

I was just wondering if there is any Rules about  that .

Thank you

a
0
VMEM file.



A VMEM file is a backup of the virtual machine’s paging file. It will only appear if the virtual machine is running, or if it has crashed.

I have linux VM running, but I do not see the VMEM file. is this just for Windows VMs ?
a
Thank you
0
I'm trying to list the files older than 14 days on a Synology 918 NAS - using the planned scheduler, but keep getting "No such file or directory" when running the task - problem is, the device interface is in danish so I'm uncertain ie the volume names is correct ?

find /volume1/syndata1/scanner -atime +14

Open in new window


Volume pic
0
Hello,
I want to change all files on my Linux directory  that is contain sss with ffff with sed.
I try the find command but it's not working
can you help me please ?
thanks.
0
Hi Experts,

I am learning the Linux OS by taking a the Linux class and I would like to download the OS so that I may follow along and do some practice to become more comfortable navigating the OS.

Where may a download a valid and safe Linux OS since it is open source?

Do I need to purchase this OS? I am just running this on a virtual machine.
0

Linux

66K

Solutions

33K

Contributors

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.