Most viewed questions in Linux Administration

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
404 views
0 votes
0 answers

How is CTRL-R (reverse-i-search) is implemented in bash terminal?

Example of the reverse search: (reverse-i-search)`grep': git log ...READ MORE

Jun 3, 2022 in Linux Administration by Rahul
• 3,380 points
402 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
402 views
0 votes
0 answers

Why does my tail command -n+NUM not work?

I want to understand the following command ...READ MORE

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

Determining whether a given Linux is 32 bit or 64 bit

try this. getconf LONG_BIT Output: 32, if OS is 32 ...READ MORE

May 21, 2019 in Linux Administration by Upasana
• 8,620 points
401 views
0 votes
1 answer

Is there a better way to run a command N times in bash?

In the event that your reach has ...READ MORE

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

Counting lines in a file/doc.

you can do this by using word ...READ MORE

Mar 5, 2019 in Linux Administration by DareDev
• 6,890 points
399 views
0 votes
1 answer

Persistant "bash: /home/XXX/.rvm/scripts/rvm: No such file or directory" in terminal

Introduce RVM: gpg - - keyserver hkp://keys.gnupg.net - ...READ MORE

May 27, 2022 in Linux Administration by Korak
• 5,820 points
398 views
0 votes
0 answers

What's the difference between .so, .la and .a library files?

I know an .so file is a kind of ...READ MORE

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

Linux Command for getting a dump of hex values bytes from Pcap File

I require a linux command to display ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,670 points
394 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 392 views
0 votes
0 answers

UnityHub "Not Enough Space" error on Linux

I have 40 GB of free space ...READ MORE

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

Select unique lines along with their count in Linux.

Hi@akhtar, You can find the unique entries from ...READ MORE

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

Problem printing variable on terminal

You are basically trying to echo the ...READ MORE

Feb 18, 2019 in Linux Administration by Omkar
• 69,210 points
386 views
0 votes
0 answers

What does the $ mean in Linux?

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

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

How to split a string into an array in Bash?

In a Bash script, I would like ...READ MORE

Jun 9, 2022 in Linux Administration by Rahul
• 3,380 points
385 views
0 votes
1 answer

Kali linux installation

Hi@Kojokojo, You can check your partitions using the ...READ MORE

Oct 12, 2020 in Linux Administration by MD
• 95,440 points
384 views
–1 vote
1 answer

How to use help command

The help command is limited and it ...READ MORE

Jan 11, 2019 in Linux Administration by Omkar
• 69,210 points
381 views
0 votes
0 answers

zodiac sign calculator using bash script

#!/usr/bin/bash echo "This is a zodiac sign calculator" echo ...READ MORE

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

What is the equivalent to getch() & getche() in Linux?

I am not able to find the ...READ MORE

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

Can bash show a function's definition?

Is there a way to view a ...READ MORE

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

How to detect the OS from a Bash script?

I would like to keep my .bashrc and .bash_login files in ...READ MORE

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

df -h if freespace equals then | bash

Try this out: destination="$HOME/Desktop/sandbox" freespace="$(df -h / | tail ...READ MORE

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

Is there a limit on the number of words in bash command 'for file in words'?

Anyway, you need to print everything except ...READ MORE

May 27, 2022 in Linux Administration by Korak
• 5,820 points
348 views
0 votes
1 answer

Wired connection keep disconnecting

The driver r8168 is not stable. Try ...READ MORE

Feb 9, 2019 in Linux Administration by Omkar
• 69,210 points
348 views
0 votes
0 answers

if, elif, else statement issues in Bash

I can't seem to work out what ...READ MORE

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

What does "&" at the end of a linux command mean?

I am a system administrator and I ...READ MORE

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

How to search any word in linux 'screen'

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

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

Escaping Quotes in Chef Bash

This I need quotes in a cronjob ...READ MORE

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

What is a .pid file and what does it contain?

Can anyone shed more light on this, ...READ MORE

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

Are there any man pages that summarize bash scripting?

Regardless of whether man pages are exceptionally ...READ MORE

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

Difference between "system" and "exec" in Linux?

What is the difference between system and ...READ MORE

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

How to detect the OS from a Bash script?

I would like to keep my .bashrc and .bash_login files in ...READ MORE

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

How to convert a PDF into JPG with command line in Linux?

What are fast and reliable ways for ...READ MORE

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

Display an ASCII table of characters 32 to 112 with bash

I want to know how to display ...READ MORE

Jun 3, 2022 in Linux Administration by Rahul
• 3,380 points
309 views
0 votes
0 answers

What is the preferred Bash shebang?

Is there any Bash shebang objectively better than the ...READ MORE

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

How can I delete a user in linux when the system says its currently used in a process

I am trying to delete a user ...READ MORE

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

Linux command to display date in unix format

What command can I use in Linux ...READ MORE

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

How do I copy a folder from remote to local using scp?

How do I copy a folder from ...READ MORE

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

What are file descriptors, explained in simple terms?

What would be a more simplified description ...READ MORE

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

Difference between single and double quotes in Bash

Single statements will not insert anything, yet ...READ MORE

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

How to install the npm command on the linux

I'm trying to install the npm ci command on Linux. ...READ MORE

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

Is there a better way to run a command N times in bash?

In the event that your reach has ...READ MORE

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

What killed my process and why?

This happened two times. I asked if ...READ MORE

Apr 13, 2022 in Linux Administration by Aditya
• 7,680 points
284 views
0 votes
1 answer

Difference between single and double quotes in Bash

Single statements will not add anything, however ...READ MORE

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

How can I invoke both BASH and CSH shells in a same script

In the same script, I want to ...READ MORE

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

Shell: How to call one shell script from another shell script?

I have two shell scripts, a.sh and ...READ MORE

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

How to create a file in Linux from terminal window?

What's the easiest way to create a ...READ MORE

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

Difference between ctrl-z and "&" in linux

My understanding is that when you are ...READ MORE

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

How do i select correct active serial port in linux?

I am trying to communicate with a ...READ MORE

Apr 13, 2022 in Linux Administration by Soham
• 9,700 points
276 views