Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

get username linux

echo $USER;
Comment

bash get username

whoami
cd /home/USERNAME/Desktop
Comment

get users linux

$ cat /etc/passwd | cut -d: -f1
Comment

how to find username in linux

#Linux command to print current username
uname
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install firefox in kali linux 
Shell :: npm command not found 
Shell :: install libssl1.0.0 ubuntu 20.04 
Shell :: terminal list items in directory 
Shell :: apply stash 
Shell :: flutter doctor android license status unknown 
Shell :: Ubuntu 18.04 Mouse right click not working 
Shell :: linux command if directory exists 
Shell :: fayl yaratish cmd 
Shell :: microPY lib 
Shell :: bash get length of every nth row 
Shell :: ubuntu dock not showing 
Shell :: linux ls directories only 
Shell :: replace text with sed 
Shell :: cordova run ios choose simulator 
Shell :: used port linux 
Shell :: tsc version showing 1.0.3.0 
Shell :: ll command not found 
Shell :: batch run command in new terminal window 
Shell :: how to install wps office in ubuntu 
Shell :: git fetch prune 
Shell :: ubuntu install bluez 
Shell :: Zathura not displaying any documents 
Shell :: apply gitignore to current commit 
Shell :: angular cli install ubuntu 
Shell :: generate ssh in ubuntu 
Shell :: change directory cmder 
Shell :: upgrade to composer 2 windows 
Shell :: ubuntu desktop file folder 
Shell :: bash script write linux 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =