Most viewed questions in Linux Administration

0 votes
1 answer

Linux: Using grep to display filenames

You need t use -l flag with ...READ MORE

May 24, 2019 in Linux Administration by ajs3033
• 7,300 points
572 views
0 votes
0 answers

How to create user in linux by providing uid and gid options?

I have 2 linux machines. On one ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,670 points
571 views
0 votes
1 answer

Enable https on a Linux system

Hi @hannah, you can execute the following ...READ MORE

Dec 13, 2019 in Linux Administration by Priyaj
570 views
0 votes
1 answer

Change the output colour of echo

Try using ANSI escape codes as the following; Black ...READ MORE

Jul 13, 2019 in Linux Administration by Shubham
• 13,490 points
567 views
0 votes
1 answer

Linux: Finding all storage devices attached to a machine

Use /proc/partitions first. This will list all ...READ MORE

Jun 10, 2019 in Linux Administration by Upasana
• 8,620 points
563 views
0 votes
1 answer

Error while installing Let's Encrypt SSL on My Website

Hi@Hitesh, There may be a firewall issue. Check ...READ MORE

Aug 24, 2020 in Linux Administration by MD
• 95,440 points
558 views
0 votes
1 answer

Script file name in a Bash script

$0 will give you the complete basename. ...READ MORE

Jun 20, 2019 in Linux Administration by Shubham
• 13,490 points
557 views
0 votes
0 answers

wget command not found on linux server

I have a linux server (completely new, ...READ MORE

Apr 25, 2022 in Linux Administration by Edureka
• 13,670 points
556 views
0 votes
1 answer

How to unblock one IP from black list?

Hi@akhtar, To unblock your blacklisted IP address, you ...READ MORE

Jun 10, 2020 in Linux Administration by MD
• 95,440 points
555 views
0 votes
0 answers

Hello,everyone . I want to ask question .

READ MORE

May 22, 2020 in Linux Administration by chhoeurn
• 120 points
554 views
0 votes
1 answer

Linux: Efficiently test if a port is Open

$ nc -z <host> <port>; echo $? Use ...READ MORE

Jun 12, 2019 in Linux Administration by Shubham
• 13,490 points
554 views
0 votes
0 answers

BlueStacks emulator for Linux?

I'm under Linux and I need a ...READ MORE

Apr 14, 2022 in Linux Administration by Rahul
• 9,670 points
553 views
0 votes
0 answers

How do I get my bash script to assign unique usernames automatically to new users?

I'm a beginner writing a bash script ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
551 views
0 votes
0 answers

Reading data from /dev/usb/lp0 linux

 I have a label printer Wincode LP433 ...READ MORE

Apr 14, 2022 in Linux Administration by Soham
• 9,700 points
547 views
0 votes
0 answers

How do I run a program with commandline arguments using GDB within a Bash script?

When running a program on GDB, usually, ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
544 views
0 votes
0 answers

Install android studio on garuda linux

how can I install android studio on ...READ MORE

Apr 13, 2022 in Linux Administration by Soham
• 9,700 points
544 views
0 votes
1 answer

How to capture only TCP packets in Linux?

Hi@akhtar, You can use tcpdump command for this ...READ MORE

Oct 4, 2020 in Linux Administration by MD
• 95,440 points
542 views
0 votes
1 answer

How to add user to a group in Linux system?

Hi@akhtar, In Linux, different users have different roles ...READ MORE

Aug 14, 2020 in Linux Administration by MD
• 95,440 points
528 views
0 votes
0 answers

Two SSL cert. How to tell Nginx which one to use?

I have two SSL certs (I have ...READ MORE

Dec 13, 2019 in Linux Administration by Hannah
• 18,570 points
525 views
0 votes
0 answers

what is asm stand for in linux/include/asm

read from howto_add_systemcall "In general, header files for machine ...READ MORE

Apr 25, 2022 in Linux Administration by Edureka
• 13,670 points
524 views
0 votes
0 answers

How to rename a directory in C?

I searched online to find that how ...READ MORE

Apr 26, 2022 in Linux Administration by Edureka
• 13,670 points
523 views
0 votes
1 answer

Constraints for getting commands executed by cron

I think the problem could be those ...READ MORE

Nov 14, 2018 in Linux Administration by nirvana
• 3,130 points
507 views
0 votes
0 answers

xxd usage (change magic byte to JPEG)

I create a simple test file like ...READ MORE

Dec 14, 2022 in Linux Administration by erzan
• 630 points
505 views
0 votes
0 answers

Run text file as commands in Bash

If I have a text file with ...READ MORE

Apr 13, 2022 in Linux Administration by Aditya
• 7,680 points
505 views
0 votes
0 answers

How to compile for Windows on Linux with gcc/g++?

I have written some effects in C++ ...READ MORE

Apr 13, 2022 in Linux Administration by Rahul
• 9,670 points
505 views
0 votes
1 answer

Linux Permissions: Sticky bits

You might have come across read, write ...READ MORE

May 21, 2019 in Linux Administration by John
505 views
0 votes
1 answer

What does -f mean in bash

Luckily, the Bash Reference Manual is accessible ...READ MORE

Jun 10, 2022 in Linux Administration by Korak
• 5,820 points
500 views
0 votes
1 answer

How to change the current time in Linux system?

Hi@akhtar, You can use timedatectl command in your ...READ MORE

Sep 25, 2020 in Linux Administration by MD
• 95,440 points
482 views
0 votes
1 answer

How to set key based authentication in remote machine?

Hi@akhtar, You can set key based authentication in ...READ MORE

Apr 1, 2020 in Linux Administration by MD
• 95,440 points
481 views
0 votes
0 answers

What does the $ mean in Linux?

I have to explain what the code ...READ MORE

Apr 13, 2022 in Linux Administration by Soham
• 9,700 points
477 views
0 votes
1 answer

Removing a symlink to a directory

rm foo try this. Also, You need write ...READ MORE

May 15, 2019 in Linux Administration by Shubham
• 13,490 points
477 views
0 votes
0 answers

How to implement getch() function of C in Linux?

In TurboC++, I can use the getch() ...READ MORE

Dec 14, 2022 in Linux Administration by erzan
• 630 points
475 views
0 votes
0 answers

Hexdump reverse command

The hexdump command converts any file to hex values. But ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,670 points
475 views
0 votes
0 answers

Downloading Java JDK on Linux via wget is shown license page instead

When I try to download Java from ...READ MORE

Apr 21, 2022 in Linux Administration by Edureka
• 13,670 points
471 views
0 votes
1 answer

How to gather CPU architecture information of a Linux system?

Hi@akhtar, You can use lscpu command to check ...READ MORE

Oct 12, 2020 in Linux Administration by MD
• 95,440 points
468 views
0 votes
1 answer

Linux: Recursive download of a folder via FTP

wget -r ftp://user:pass@server.com/ try this. READ MORE

May 31, 2019 in Linux Administration by Upasana
• 8,620 points
466 views
0 votes
0 answers

Error: No toolchains found in the NDK toolchains folder for ABI with prefix: llvm

I want to compile an open source ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,670 points
455 views
0 votes
0 answers

Getting file in hex format - my output vs xxd command output

I'm trying to write a simple program ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,670 points
455 views
0 votes
1 answer

Regarding Edquota soft and hard limits

The provided value for soft and hard ...READ MORE

Jan 3, 2019 in Linux Administration by Omkar
• 69,210 points
454 views
0 votes
1 answer

I want to swap from AWS to linux.

Hi@Abdullah, Are you talking about swap partition in ...READ MORE

Dec 9, 2020 in Linux Administration by MD
• 95,440 points
446 views
0 votes
0 answers

On Linux, does the remove command "rm" run in the background?

I am trying to run my test ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,670 points
444 views
0 votes
0 answers

Alternative to ping

I want to see if an Amazon ...READ MORE

Apr 14, 2022 in Linux Administration by Rahul
• 9,670 points
444 views
0 votes
0 answers

Trying to configure rsyslog server but I am facing challanges

Here are the steps which i have ...READ MORE

Mar 5, 2020 in Linux Administration by anonymous
• 120 points
444 views
0 votes
1 answer

bash terminal on kubuntu

You are actually using a bash terminal. ...READ MORE

Jun 7, 2022 in Linux Administration by Korak
• 5,820 points
439 views
0 votes
1 answer

How to measure the time required to run a program?

Hi@akhtar, You can use the time command in ...READ MORE

Oct 12, 2020 in Linux Administration by MD
• 95,440 points
438 views
0 votes
1 answer

Compare $1 with another string in bash

The explanation $1 doesn't match is on ...READ MORE

Jun 13, 2022 in Linux Administration by Korak
• 5,820 points
433 views
0 votes
1 answer

Capture packets from destination IP in Linux.

Hi@akhtar, To capture packets from destination IP, say you ...READ MORE

Oct 4, 2020 in Linux Administration by MD
• 95,440 points
433 views
0 votes
0 answers

How to search any word in linux 'screen'

I am going to screen logs of ...READ MORE

Apr 13, 2022 in Linux Administration by Rahul
• 9,670 points
431 views
0 votes
0 answers

Is it possible to use 9-bit serial communication in Linux?

RS-232 communication sometimes uses 9-bit bytes. This ...READ MORE

Apr 14, 2022 in Linux Administration by Rahul
• 9,670 points
429 views
0 votes
0 answers

Error while enabling the official puppet

I'm trying to enable the official puppet lab ...READ MORE

Feb 27, 2019 in Linux Administration by mytamhuyet
• 120 points

edited Apr 10, 2019 by mytamhuyet 427 views