Linux Server and Workstation Configuration How To

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
Home
touch
Tags: [linux, unix, command, touch]  ...
Command touch Changes the timestamp of file. Syntax touch [options] files Options -c prescribes not to touch the file if it does not exist. -d time, using the specified time. -r file uses a timestamp ...
... file(s) # rm *.txt # rm lala.txt Create text file # touch /tmp/myfile Show current path # pwd Show full path of application # which php # which ffmpeg # which httpd Copy file cp /root/install.log ...
Creating Password Create htpasswd file for current (pwd) path # htpasswd -mc .htpasswd yourusername Insert new password Create .htaccess file for current path # touch .htaccess # mcedit .htaccess Paste ...
... "touch /var/log/btmp" to begin logging to this file.     lastcomm Display information about previous commands in reverse order. Works only if process accounting is on.   ...

Useful Links

Friends

Thanks David Ayvazyan for provided useful information and discussions.
www.gnu.am (Armenian Translation)