• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
0
avatar

Posted by @rajdas

5 months ago

How many types of Shells are there in Linux?

There are five different shells available in Linux:1. C Shell (csh): Resembles C syntax and offers spell checking and job control features.2. Korn Shell (ksh): Functions as a high-level prog ... See More

0
avatar

Posted by @rajdas

5 months ago

What are the basic components of Linux?

1. Fundamental elements of LinuxKernel: The central element of Linux, serving as a bridge between software and hardware.Shell: Serving as a mediator between the user and the Kernel.GUI: Abbr ... See More

0
avatar

Posted by @rajdas

5 months ago

How do you open a command prompt when issuing a command?

Launch your terminal by pressing CTRL+ALT+T or by giving terminal in the menu search bar.

0
avatar

Posted by @rajdas

5 months ago

Explain File Permissions types in Linux?

1. Linux file permissions consist of three main permissions: Read, Write, and Execute. Read permission allows users to view the contents of a file, Write permission enables users to modify o ... See More

0
avatar

Posted by @rajdas

5 months ago

What are the Process states in Linux?

1. There are five process states in Linux, which include:- New/ Ready: This state occurs when a new process is created and ready to run.- Running: This state indicates that the process is cu ... See More

0
avatar

Posted by @rajdas

5 months ago

Explain Process Management System Calls in Linux?

The system calls in Linux for managing processes consist of a series of functions that allow for the creation, termination, and control of processes, while also aiding in inter-process commu ... See More

0
avatar

Posted by @avikm85

4 months ago

What?s the command to create a new directory in Linux?

To create a new directory in Linux, you can use the mkdir command and specify the name of the directory. For example, running mkdir new_directory will result in the creation of a folder name ... See More

0

How could you search for a specific string within a file using the Linux command line?

The grep command in the Linux command line allows you to locate a particular string within a file.?To illustrate, in case you wish to locate the term ?TestCommand? within a file labeled ?exa ... See More

0

How do you kill a running process in Linux?

To terminate a running process in Linux, you can utilize the kill command in conjunction with the process ID (PID). The PID can be located using the ps command, after which you can proceed t ... See More

0

What?s the Linux terminal command to find out your current working directory?

To view your current working directory, simply enter the pwd command in the terminal. This command will show you the complete path to the directory you are currently working in.

0

How do you move a file from one directory to another using Linux commands?

The mv command in Linux is used to relocate a file from one directory to another.?To transfer a file named ?example.txt? from the current directory to a different directory named ?folder?, y ... See More

0
avatar

Posted by @avikm85

4 months ago

What command would you use to compress and decompress files using the gzip tool?

To compress files in Linux, you have the option to use the gzip tool. By entering the gzip filename command, the file will be compressed and replaced with a new file having a .gz extension.

0

What command would you use to monitor real-time changes in a log file in linux ?

Utilize the tail command along with the -f flag to observe live modifications in a log file. By running tail -f, you can view the most recent lines of the file and it will consistently refre ... See More

0

What command can you use to show running processes on a Linux system?

The ps command can be used to display the processes running on a Linux system. If you type ps aux, you'll get a detailed list of all current processes, including user information, CPU usage, ... See More

0
avatar

Posted by User Bot

4 months ago

Granted ssh access on Network B, but SSH connection refused on network C,

I am new to linux and trying to figure out why do I have this error. Context: I have a remote home server working on a network at home, which we will call Network A, I access my ... See More

0
avatar

Posted by User Bot

4 months ago

Bash `cd -L` vs. `cd -P` vs. Bash Reference manual description

Premise I've read what's listed in Bibliography regarding cd, pwd, set -P. "By default, or when the -L option is supplied, symbolic links in directory are resolved after cd pro ... See More

0
avatar

Posted by User Bot

4 months ago

Incomprensible Permission denied

chmod +x ~/bin/* Pretty straightforward. -rwxr-xr-x 1 root root 1573 Jul 24 15:56 1up Result as expected. Done many times. -bash: /usr/bin/1up: Permission denied Never seen this ... See More

0
avatar

Posted by User Bot

4 months ago

Ubuntu 24.04 upgrade, apport-python3 failing to update

I ran a 24.04 update for all my raspberry pi servers, and 1 of them is failing, in a strange way. I am stuck with what to do, and am hoping someone can unstuck me. Here's the er ... See More

0
avatar

Posted by User Bot

4 months ago

Install older version of apps

I just want to install older version of some apps. I'm more familiar with older version of some apps, in windows you could install older exe file in Ubuntu idk.

0
avatar

Posted by User Bot

4 months ago

How to get PID of running sh script if I run process in background there?

I wish to ping my router in background process. Also I want to control ping process as a service: start, status, stop. So, I create lock file and store PID in it. But actually P ... See More