linux (ubuntu) memo

What is it in the first place?

See Official In short, an image of linux and a friend's OS This time with the setting of ver18.04

bash As a memorandum that I think the basics are linux

Description cmd($abridgement)
shut down shutdown -h now
Open the file in explorer xdg-open filename
OS info cat /etc/os-release
Package check sudo apt-get check
Package dependency repair sudo apt-get -f install
Get absolute path readlink -f hoge.sam
Environmental path confirmation printenv
Check what you have installed dpkg --get-selections
Change Password sudo passwd <username>
Change Password sudo passwd <username>
Screen recording Alt+Ctrl+Shift+R

bash command

Check the contents of the zip file (zcat)

View the contents of the compressed file


zcat <Compressed file name>

Find a file (find)

File search


##Perfect matching
find --name <file name>

##Partial Match
find --name "*<Part of the file name>*"

mv File movement

mv <Target file> <Destination>

rm For example, deleting files

#Single file deletion
rm <file name>

#Directory deletion
rm -r <dir name>

pwd View current directory

pwd
/hogehoge

cp File copy

#Ordinary file replication
cp <File A> <File B>

#Directory copy
cp -r <dirA> <dirB>

Tips

#Bulk move(cp is also ok)
mv * ../

Extension Make a note of things that have taken time and are likely to be used

slack If the version of Ubuntu is 18.04, it seems that you can not type Japanese if you install it due to brain death. Take the compressed file from Official If you install by referring to this article Settled

Albert Tools taught by engineers Convenient. First of all, from installation to master This article was easy to understand and recommended.

Tweaks Extension that can change the appearance of ubuntu quite easily I read from this article and set various settings.

Recommended Posts

linux (ubuntu) memo
Ubuntu Linux 20.04
Linux x memo
Linux # Command Memo 1
poetry introduction memo (ubuntu18.04)
Linux standard textbook memo 1
Linux standard textbook memo 3
[For memo] Linux Part 2
NTP configuration memo on Linux
Linux standard textbook memo 1 part 2
Linux
Linux tar xz command memo
Ubuntu18.04 Development environment creation memo
Linux standard textbook memo part 6
Ubuntu / Linux laptop WiFi issues
ConoHa VPS (ubuntu 18.04) Initial setting memo
Linux Web server construction (Ubuntu & Apache)
[For memo] Linux Part 1 vi editor
Install tensorflow in Docker (LINUX) (memo)
How to install MBDyn (Linux Ubuntu)
Linux command [ldconfig] LPIC learning memo
Ubuntu Desktop 20.04 development environment construction memo
[Reading memo] Linux standard textbook (Chapter 7-8)
Extend virtual box + Linux (Ubuntu 19.04) disk
Linux command (basic in basic) personal memo
Linux file server construction (Ubuntu & Samba)
gzip memo
Raspberry-pi memo
Pandas memo
linux memorandum
Linux command # 4
Linux commands
Linux commands
HackerRank memo
Linux basics
Python memo
direnv (linux)
[Reading memo] Linux standard textbook (Chapter 1 to Chapter 6)
python memo
Organize Linux
graphene memo
Flask memo
pyenv memo
Matplotlib memo
linux commands
pytest memo
sed memo
Linux practice
Python memo
Install Memo
React → Ajax → Django on Linux implementation memo
BeautifulSoup4 memo
Linux Summary
networkx memo
Linux process
Linux permissions
I put Linux (Ubuntu) in VAIO SX14.
python memo
Linux command # 5
tomcat memo
About Linux