• Register
search
Log In

Recent questions tagged linux

1 vote
1 answer 9 views
Problem: Hello Kodlogs, I’ve got a simple user-defined function that adds two numbers. The script looks something like this: def is_a_function(a,b): var = 10 return (a+b)*var print(is_a_function(5,6)) The above program is doing good this way. I am thinking to ... have an idea how to run the function from the command line and I am wishing an example from you, guys. Thanks for your concern.
asked Jun 2 adamSw 9.5k points
1 vote
1 answer 17 views
Problem: I have fundamental knowledge of MySQL server. My MySQL server is on the CentOS and it has been working as expected but all of a sudden I am unable to restart my mysqld today. If I try to execute below command it shows me failed. # /etc/rc.d/ ... lib/mysql 151129 15:54:37 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended Kindly guide me in fixing above MySQL related error.
asked Jun 1 Martin K 6.6k points
1 vote
1 answer 34 views
Problem: I am very new to Kerberos and Hadoop. I tried to create the "user.keytab" file by "ktutil" to try to renew a krb ticket without the use of the password as it was recommended in some online tutorial. Please find below the procedure I ... credentials Please find below my environment details for your reference: My OS: Centos Linux, My Cluster: Cloudera Hadoop Distribution, My Tool: Kerberos
asked May 27 Martin K 6.6k points
1 vote
1 answer 14 views
Problem : I am very new to Linux and currently trying to learn Linux. I want to login to my elementaryOS but I am stuck in the loop I simply tried to enter my password and after that I tried to press enter and I was back to login again. I also tried to enter my ... after spending lot of time and efforts on it still unable to fix it so now I am looking for the Linux experts help to fix above error.
asked May 1 stewart 4k points
0 votes
2 answers 12 views
Problem: What is the name for the 3D user interface provided by Windows 7 and Vista? Glass Aero Air Shield
asked Apr 18 ArifulIslam 5k points
0 votes
2 answers 16 views
Problem: Linux uses a logical directory tree to organize files into different folders? True False
asked Apr 18 ArifulIslam 5k points
0 votes
1 answer 6 views
Problem: Which of the following is not one of the three main types of Linux commands?
asked Apr 18 ArifulIslam 5k points
0 votes
1 answer 16 views
Problem: What utility is the equivalent to the pathping command on a Linux system?
asked Apr 18 ArifulIslam 5k points
0 votes
2 answers 11 views
Problem: You are the only Linux administrator for a very small company. You are constantly asked to fix one problem or another as they occur. How should you log in to the system each morning?
asked Apr 12 ArifulIslam 5k points
0 votes
2 answers 10 views
Problem: What is the default shell in Linux called? a. SH b. BSH c. CSH d. BASH
asked Apr 12 ArifulIslam 5k points
1 vote
2 answers 37 views
Problem : I am trying to learn the GCC. If I execute the below command then I always face the following error. make -j4 Error received: checking for suffix of object files... configure: error: in `/mnt/LFS/source/gcc-4.6.2/x86_64-lfs-linux-gnu/libgcc': configure: ... See `config.log' for more details. make[1]: *** [configure-target-libgcc] Error 1 Can somebody guide me in fixing above error?
asked Mar 27 morrisBson 3.2k points
2 votes
2 answers 24 views
Problem: What directory under / contains the log files and spools for a Linux system?​
asked Mar 23 ArifulIslam 5k points
1 vote
1 answer 29 views
Problem: I want to install one package named speech_tools-2.1-release.tar.gz. After I run the command ./configure in this package, it shows me a message:\ Configure: error: no acceptable C compiler found in $PATH See 'config.log' for more details Any solution would be much appreciated. Thanks.
asked Mar 10 Gavin 15.2k points
0 votes
1 answer 15 views
Problem: Most daemon scripts accept the arguments start, stop, and restart?
asked Mar 9 ArifulIslam 5k points
0 votes
1 answer 7 views
Problem: CUPS contains versions of the lpr, lpc, lpq, and lprm commands?
asked Mar 9 ArifulIslam 5k points
0 votes
1 answer 28 views
Problem : I am beginner to CentOS. I tried executing sudo ./startup.sh in my CentOS, But I am facing the below error: "Neither the JAVA_HOME nor the JRE_HOME environment variable is defined" I have already defined them in my bashrc as shown below: export JAVA_HOME=/home/mphil/New_learning/jdk1.8.0_212 export PATH=$JAVA_HOME/bin:$PATH How to fix this error?
asked Feb 27 mphil 2.3k points
0 votes
1 answer 48 views
Problem : I am very new to Shell scripting. Currently I am trying to write the Shell Script which should create some dirs on my remote server and then it should use the scp to copy the files from the local pc on the remote server. But whenever I try to ... Pseudo-terminal will not be allocated because stdin is not a terminal.” And my script hangs after the message. How to fix above message?
asked Feb 24 mphil 2.3k points
0 votes
1 answer 24 views
Problem: Can any one help me whether given statement is true or not? On most Linux systems, the logrotate utility is automatically scheduled to run weekly? True False
asked Feb 22 maddi86 5.4k points
0 votes
1 answer 16 views
Problem: I am new, I need help, can anyone help me? This default Linux directory contains many of the Linux commands?
asked Feb 21 maddi86 5.4k points
0 votes
1 answer 25 views
Problem: Can any one please tell me the place in linux where user have full control? This is the one place in Linux where an ordinary user has full control?
asked Feb 21 maddi86 5.4k points