4.comparing Files and File Types

3. using the file utility in linux, a file’s extension does not, by default, ategorize its nature the way it might in other operating systems. for example, one cannot assume that a file named “file.txt” is a text file and not an executable program. 6. Lab10.2: Using diff and patch diff -Naur original modified > original.patch patch original < original.patch

December 24, 2023 · nolleh

Searching For Files

A special shorthand notation can send anything written to file descriptor 2 (stderr) to the same place as file descriptor 1 (stdout): 2>&1. $ do_something > all-output-file 2>&1 bash permits an easier syntax for the above: $ do_something >& all-output-file in pipe… $ command1 | command2 | command3 The above represents what we often call a pipeline, and allows Linux to combine the actions of several commands into one. This is extraordinarily efficient because command2 and command3 do not have to wait for the previous pipeline commands to complete before they can begin processing at the data in their input streams...

October 2, 2023 · nolleh

2.system Display Date and Time Settings

the system actually provide display settings, is uses /etc/x11/xorg.conf in recent linux, the file usually present in unusual cricumstatnce such as when cirtain Less common graphic drivers are in use. changing the file is usually for more advanced users. Network Time Protocol the Network Time Protocol is most popular and reliable protocol for setting local time by consulting established internet servers. student:/tmp> $ xdpyinfo | grep dim dimensions: 3200x1080 pixels (847x286 millimeters)

September 30, 2023 · nolleh

1.learning Objectives

apply system, display, timesetting.. track the network settings and manage connections using network manager in linux. install and update software in linux from a graphical interface.

September 9, 2023 · nolleh

Optimize Speed

라즈베리파이에서 우분투를 설치해서 사용하고 있는데, 인터넷 속도가 어마하게 느린 이슈가 있다. 거기서 개선을 위해 시도해본 것들에 대해 기록할 예정. ##1. iwconfig 일단 다음은 확실히 효용이 있는 것으로 보임. 60mb -> 140mb 정도로 개선됨. sudo iwconfig wlan0 power off ##2. zram 그리고나서, zswap 대신 zram 을 사용하도록 변경. sudo apt install -y linux-modules-extra-raspi sudo apt install -y zram-tools sudo apt autoremove --purge -y zram-config sudo nvim /etc/default/zramswap 에디터는 어떤걸 사용해도 상관없지만, nvim 사용하고 있어서 그걸로 세팅....

September 9, 2023 · nolleh