Questions tagged [command]
One or a set of directives issued in the *nix environment to get information, change the state of something or to execute something. In other words: To gain an objective.
1,065 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
48
views
Arch Linux - rsync succeeds but prsync does not work
I am moving a large number of files from one PC to another. The two PCs are in 192.168.0.0/24. I started by ryncing all music I had on my source PC to my new PC.
> rsync -P --recursive 192.168.0....
2
votes
1
answer
184
views
Unix or Linux command to compare binary files [duplicate]
I'm looking for a command that compares binary files.
Of course, I know about diff, but it is not very good at binaries.
I have two files from a error-prone source (scratched dvd) which should be ...
0
votes
1
answer
105
views
Is there an official (re)source where is list it all the categories of commands with their respective set of commands?
Just being curious:
Question
Is there an official (re)source where is list it all the categories of commands with their respective set of commands?
Something like Linux Foundation for Filesystem ...
0
votes
2
answers
108
views
Kill current bash shell and start a new one with some command
is it possible to kill/exit the current bash shell and start a new one with some command?
Something like
kill -9 $PPID && bash -c echo 'I started new!'
which does not work obviously.
1
vote
3
answers
170
views
How to find the python command in a shell script?
Let's suppose that you have a super python 2&3 one-liner that you need to use in a shell script.
On system A the python command works, but on system B you have to use python3, on system C you need ...
0
votes
1
answer
89
views
cpulimit: detect failure / exit status in Linux
I'm using cpulimit in a Bash script to run a certain command (ffmpeg) with a limited CPU usage, but I want to know if the command fails. But when the command(ffmpeg) fails with any error, cpulimit ...
0
votes
1
answer
164
views
Understanding the concepts of commands, processes and namespaces
I am not a strong linux user, but I want to better understand the material in this post here which talks about linux namespaces
https://stackoverflow.com/questions/44666700/unshare-pid-bin-bash-fork-...
0
votes
2
answers
128
views
Command to know the speed between mainboard and HDD/SSD
I want to know the speed of data transfer between a HDD or SSD and the
mainboard. It through a command. If is possible through a GUI, it is accepted too
Goal:
I want to do a comparison of speeds ...
0
votes
4
answers
103
views
editing files in batches from a huge amount of data
I ran into an issue:
I have folders with usually 50-150 text files, which I need to modify.
sed is not an option, since the changes cannot be automated
(sometimes "ss" need to be changed, ...
2
votes
1
answer
175
views
What is the output of "date -u +%V$(uname)|sha224sum|sed 's/\W//g'"
I am trying to register on the arch linux forum and am asked for the output of this command:
date -u +%V$(uname)|sha224sum|sed 's/\W//g'
Why am I being asked this and is it safe to run? I am unable ...
0
votes
0
answers
28
views
What does alt + PrtSc+ REISB do? [duplicate]
I remember hearing this as a safe way to reboot a frozen system but never looked into what it actually does. What does this command do?
0
votes
1
answer
235
views
Setting Maximum Packet Size up to which GRO can combine in the Linux Kernel
In a Linux environment, Generic Receive Offload (GRO) helps improve network performance by merging multiple packets into a larger one, reducing CPU overhead.
Now we want to control the maximum size of ...
3
votes
1
answer
603
views
Are ethers, rarp, plipconfig and slattach commands deprecated and what are their replacements?
There are 10 networking tools in net-tools Debian package (and also other distros, probably the package is named differently):
arp (ip n)
ifconfig (ip)
mmi-tool (ethtool)
nameif (ip link)
netstat (ss)...
-1
votes
1
answer
182
views
What happens if sudo rm -rf /* is done in WSL?
NOTE: DO NOT USE THIS COMMAND UNLESS YOU KNOW WHAT YOU'RE DOING
From what I've find on the internet, the sudo rm -rf /* command wipes out everything in the linux system. If this command is run on WSL, ...
0
votes
1
answer
292
views
How to determine from the lspci output how cards and how many ports are on a card?
I need to write a script to count how many 2 or 4 port HBA cards we have in each of our servers.
I'm running lspci on each of the servers, however, none of the documents I've read so far is telling me ...