Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
63 views

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....
Hyunbin Yoo's user avatar
0 votes
1 answer
120 views

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 ...
Manuel Jordan's user avatar
1 vote
3 answers
190 views

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 ...
Fravadona's user avatar
  • 1,601
0 votes
1 answer
183 views

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-...
learningtech's user avatar
0 votes
4 answers
110 views

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, ...
Arbach's user avatar
  • 1
0 votes
0 answers
30 views

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?
user2231142's user avatar
3 votes
1 answer
620 views

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)...
metablaster's user avatar
0 votes
1 answer
326 views

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 ...
Classified's user avatar
0 votes
1 answer
203 views

I have the following line: isUbuntu=$(cat /etc/os-release | grep '^ID=ubuntu$' | wc -l) It works fine Now, through VSC and mostly with the ShellCheck extension is indicated two warnings messages as ...
Manuel Jordan's user avatar
0 votes
1 answer
183 views

There are several blogs online saying if sync is run as sudo this will sync all filesystems, but if it's run normally (no sudo) then it will sync "current" filesystem. But it's not clear ...
metablaster's user avatar
0 votes
1 answer
124 views

I am writing a script that would automatically suggest some new aliases/functions to be added to a user's shell config. Before doing that, however, I would like to make sure the aliases being ...
zoickx's user avatar
  • 51
0 votes
1 answer
177 views

I don't know what's going on with my centos 7 machine but seems like du -h /path only shows folders, not files, and it's annoying. I want to find all the files and folders at a specific depth and sort ...
Hoang Minh Quang FX15045's user avatar
1 vote
0 answers
151 views

This is the scenario,- it is a Java Application mainly, Heap Dump & Thread Dump is not helping me. Maybe I am not wise analyzing it. Observation 1) Lots of memory seems to be utilized. [maddipp1@...
Dev Anand Sadasivam's user avatar
0 votes
1 answer
2k views

In GNOME, I wish to setup a shortcut to open terminal in presently viewing directory in the gui file explorer. The nautilus gui is opened from terminal by the command xdg-open ., but I'm not sure if I ...
DatBoi's user avatar
  • 103
0 votes
2 answers
242 views

Getting Error with the below command to check on the Remote directory a specific type of files. The requirement is to get the count of the specific files. file_exists=$(sftp $FTP_UNAME@$FTP_HOST ls *$...
MALABIKA GARAI's user avatar
-2 votes
1 answer
115 views

I have a CSV file saved on my desktop with many columns. The CSV file has only one row but 195 columns and I have to print each column in Unix using loop command. The path of the file is /home/...
Kinjal Sinha's user avatar
0 votes
1 answer
129 views

I have installed a webapp (Copilot) using edge in Fedora. I would like to launch the app using a shortcut but I cannot find the command to launch it. I imagine it should be a command launching the ...
akasolace's user avatar
  • 193
-1 votes
1 answer
142 views

Guten Tag! I'm a rookie in everything Bash-related. I'm familiarizing with the syntax and wanted to know if the order of operations in this command is as I thought or not. The command: echo 2 * 3 > ...
elkronequis's user avatar
0 votes
1 answer
71 views

Idea is to match a filename in any of directories mentioned in PATH environment. Usually, we do this by running "which <executable_filename>". This works fine, when the file your are ...
Sachin's user avatar
  • 3
-1 votes
1 answer
65 views

I sometimes use the type command to view my codes: $ type squared squared is a function squared () { local t=$(($1*$1)); echo $t } I can do the same with builtin functions: $ type ...
canupseq's user avatar
  • 1,994
1 vote
2 answers
4k views

I've always heard that sticky bit should be only used with directories, and I understand that, but what is the meaning if it is applied to a file. If I set the sticky bit to a file and do an ls -la I ...
std124_lf's user avatar
-1 votes
1 answer
146 views

When I input memusage command to my terminal on Centos7, it will show bash:memusage: command is not find. How can I use this command?
wwb1's user avatar
  • 21
-1 votes
1 answer
243 views

Basically the title. I've been looking through the authentication logs of a compromised virtual machine (it's just a simulation), and I noticed that after the system accepted the hacker's password, ...
Alexandra's user avatar
  • 111
0 votes
0 answers
164 views

SYSTEM: Ubuntu: 20.04 Kernel: 5.4.0-162-generic bash: 5.0.17(1) I found a strange problem that when I use bash's reverse search with CTRL+r, I will find a command I want to run. I select TAB to ...
Dave's user avatar
  • 732
3 votes
1 answer
740 views

For a computer and/or laptop used for developing and as server purposes, of course, it according with the hardware itself. Question With what command is possible know the mainboard requirements about ...
Manuel Jordan's user avatar

1
2 3 4 5
22