Ngô Thị Vân
New member
How do I switch to console in Ubuntu?
Answer
To go back to desktop environment, press CTRL+ALT+F2 or CTRL+ALT+F7 on Ubuntu 17.10 and later. What we have seen so far is we can easily switch between TTYs using CTRL+ALT+Function_Key(F1-F7). However, if you don’t want to use the functions keys for any reason, there is a simple command named “chvt” in Linux.
Photo in the article by “Yo también quiero tener un estúpido blog”
How to open or Untar a “tar” file in Linux or Unix:
Steps
How to extract a bin file within linux using terminal
How to open or Untar a “tar” file in Linux or Unix:
Answer
To go back to desktop environment, press CTRL+ALT+F2 or CTRL+ALT+F7 on Ubuntu 17.10 and later. What we have seen so far is we can easily switch between TTYs using CTRL+ALT+Function_Key(F1-F7). However, if you don’t want to use the functions keys for any reason, there is a simple command named “chvt” in Linux.
Photo in the article by “Yo también quiero tener un estúpido blog”
Code:
http://akae.blogspot.com/2009/03/
- From the terminal, change to the directory where yourfile.tar has been downloaded.
- Type tar -xvf yourfile.tar to extract the file to the current directory.
- Or tar -C /myfolder -xvf yourfile.tar to extract to another directory.
- Extracting .tar.gz files.
- x: This option tells tar to extract the files.
- v: The “v” stands for “verbose.”
- z: The z option is very important and tells the tar command to uncompress the file (gzip).
- Zip. If you have an archive named myzip.zip and want to get back the files, you would type: unzip myzip.zip.
- Tar. To extract a file compressed with tar (e.g., filename.tar), type the following command from your SSH prompt: tar xvf filename.tar.
- Gunzip. To extract a file compressed with gunzip, type the following:
Steps
- Open “This PC”, “Computer”, or “My Computer”.
- Identify the drive your Jar file is in.
- Navigate to the Jar file you would like to extract.
- Click on the file once to select it.
- Click on the search bar at the top of the window.
- Copy the file’s path.
- Open “Command Prompt”.
How to extract a bin file within linux using terminal
- the filenam.bin(binary file) is extracted.
- or.
- change the permission of bin files by typing.
- chmod -c 777 filenam.bin.
- now run the bin file by typing.
- or.
- this will extract the binary files into a folder with name of binary file.
How to open or Untar a “tar” file in Linux or Unix:
- From the terminal, change to the directory where yourfile.tar has been downloaded.
- Type tar -xvf yourfile.tar to extract the file to the current directory.
- Or tar -C /myfolder -xvf yourfile.tar to extract to another directory.