![]() ![]() ![]() System Commands Distribution Information # Debian/Ubuntu uname -a lsb_release -a # CentOS/RedHat cat /etc/centos-release cat /etc/redhat-release # This will provide a lot more information cat /etc/os-release Shut down or Reboot shutdown -h now reboot Permissions # change the user:group ownership of a file/dir chown root:git # make a file executable chmod u+x Files and directories # create a new directory and all subdirectories mkdir -p dir/dir2/dir3 # Send a command's output to file.txt, no STDOUT ls > file.txt # Send a command's output to file.txt AND see it in STDOUT ls | tee /tmp/file.txt # Search and Replace within a file sed -i 's/original-text/new-text/g' See all set environment variables env Searching File names # search for a file in a filesystem find. ![]() Contributions are welcome to help add them. Most of the commands below have not been labeled as to which distribution they work If you are a GitLab Support Engineer, consider this a cross-reference to If you are administering GitLab you are expected to know these commands for your distribution ![]() Having an issue with GitLab, you may want to check your support optionsįirst, before attempting to use this information. It is listed here for transparency,Īnd it may be useful for users with experience with Linux. This is the GitLab Support Team's collection of information regarding Linux, that they ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |