Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

change user of a directory in linux

chown vivek:vivek demo.txt
ls -l demo.txt

#output
-rw-r--r-- 1 vivek vivek 0 Aug 31 05:48 demo.txt
Comment

change user:dir to linux dir/file

sudo chown -R user:group /home/user/dir/
Comment

PREVIOUS NEXT
Code Example
Shell :: cargo test specific test 
Shell :: sed from match to end of file 
Shell :: pip install webview error 
Shell :: kibana download 
Shell :: install ssl certificate on aws ec2 instance ubuntu 
Shell :: ssh current directory 
Shell :: digital ocear error Permission denied (publickey). 
Shell :: git revert commit for single file 
Shell :: view all of your git settings 
Shell :: jq filter array 
Shell :: change commit message git 
Shell :: install mongodb debian 10 
Shell :: change resolution of a video with terminal 
Shell :: grep word after match 
Shell :: vscode update terminal limit 
Shell :: ubuntu 20.04 ifconfig public ip address 
Shell :: if file not exists 
Shell :: makefile linux 
Shell :: ubuntu clone git repository 
Shell :: adding this directory to path mac 
Shell :: kubectl restart recreate pod 
Shell :: clear command in linux 
Shell :: version manager 
Shell :: give sudo permission to vim ubuntu 
Shell :: wsl distro 
Shell :: git clone password authentication failed 
Shell :: git reset hard directory 
Shell :: how to ssh to another computer 
Shell :: W: GPG error: http://packages.ros.org/ros/ubuntu xenial InRelease: The following signatures were invalid: KEYEXPIRED 1622248854 
Shell :: uninstalling vscode for centos 8 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =