Tag Info

Hot answers tagged

3

manis your friend. man ls will show you a help page for command ls


3

You're missing some syntax on this line: local_md5sum=/usr/bin/md5sum "$entry" | awk '{print $1}' You need local_md5sum=$(/usr/bin/md5sum "$entry" | awk '{print $1}') Without the $(), you are trying to execute $entry as a command.


2

Try this: dialog --keep-window --begin 0 0 --tailboxbg /var/log/process1.log 20 110 \ --and-widget --keep-window --begin 0 120 --tailboxbg /var/log/process2.log 20 110 \ --and-widget --begin 21 100 --msgbox "Press Enter to exit." 5 25 Adjust the numbers to fit your need. I had to use the msgbox to keep dialog alive.


1

You need to create a user and add that user to sudo. Depending on what flavor of Linux you're on it'll automatically add the user to sudo. If you get something like this user isn't on sudeoers list, just google it, you should be able to resolve it. Its best practice to use a user a user and sudo. Sudo basically means do something as a normal user with root ...


1

sshd's daemon is started by /etc/init.d/sshd (more precisely from a link located in /etc/rc$x.d ). upon starting sshd, a check is made over existence of key files. if those file are missing ssh-keygen will be call.


1

You can use the man command in front of whichever command you are unsure about. For example man ls That will show you the program's manual ("Man" is short for manual).



Only top voted, non community-wiki answers of a minimum length are eligible